66 lines
No EOL
1.4 KiB
C#
66 lines
No EOL
1.4 KiB
C#
using System;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a snow elemental corpse" )]
|
|
public class SnowElemental : BaseCreature
|
|
{
|
|
public override double DispelDifficulty{ get{ return 117.5; } }
|
|
public override double DispelFocus{ get{ return 45.0; } }
|
|
|
|
[Constructable]
|
|
public SnowElemental() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a snow elemental";
|
|
Body = 13;
|
|
Hue = 1153;
|
|
BaseSoundID = 263;
|
|
|
|
SetStr( 326, 355 );
|
|
SetDex( 166, 185 );
|
|
SetInt( 71, 95 );
|
|
|
|
SetHits( 196, 213 );
|
|
|
|
SetDamage( 11, 17 );
|
|
|
|
SetSkill( SkillName.MagicResist, 50.1, 65.0 );
|
|
SetSkill( SkillName.Tactics, 80.1, 100.0 );
|
|
SetSkill( SkillName.HandToHand, 80.1, 100.0 );
|
|
|
|
Fame = 5000;
|
|
Karma = -5000;
|
|
|
|
VirtualArmor = 50;
|
|
|
|
PackItem( new BlackPearl( 3 ) );
|
|
Item ore = new IronOre( 3 );
|
|
ore.ItemID = 0x19B8;
|
|
PackItem( ore );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Rich );
|
|
}
|
|
|
|
public override bool BleedImmune{ get{ return true; } }
|
|
|
|
public SnowElemental( Serial serial ) : base( serial )
|
|
{
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
writer.Write( (int) 0 );
|
|
}
|
|
|
|
public override void Deserialize( GenericReader reader )
|
|
{
|
|
base.Deserialize( reader );
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
} |