113 lines
2.6 KiB
C#
113 lines
2.6 KiB
C#
using System;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("a stone harpy corpse")]
|
|
public class StoneHarpy : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public StoneHarpy()
|
|
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
|
{
|
|
this.Name = "a stone harpy";
|
|
this.Body = 73;
|
|
this.BaseSoundID = 402;
|
|
|
|
this.SetStr(296, 320);
|
|
this.SetDex(86, 110);
|
|
this.SetInt(51, 75);
|
|
|
|
this.SetHits(178, 192);
|
|
this.SetMana(0);
|
|
|
|
this.SetDamage(8, 16);
|
|
|
|
this.SetDamageType(ResistanceType.Physical, 75);
|
|
this.SetDamageType(ResistanceType.Poison, 25);
|
|
|
|
this.SetResistance(ResistanceType.Physical, 45, 55);
|
|
this.SetResistance(ResistanceType.Fire, 20, 30);
|
|
this.SetResistance(ResistanceType.Cold, 10, 20);
|
|
this.SetResistance(ResistanceType.Poison, 30, 40);
|
|
this.SetResistance(ResistanceType.Energy, 30, 40);
|
|
|
|
this.SetSkill(SkillName.MagicResist, 50.1, 65.0);
|
|
this.SetSkill(SkillName.Tactics, 70.1, 100.0);
|
|
this.SetSkill(SkillName.Wrestling, 70.1, 100.0);
|
|
|
|
this.Fame = 4500;
|
|
this.Karma = -4500;
|
|
|
|
this.VirtualArmor = 50;
|
|
}
|
|
|
|
public StoneHarpy(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override int Meat
|
|
{
|
|
get
|
|
{
|
|
return 1;
|
|
}
|
|
}
|
|
public override int Feathers
|
|
{
|
|
get
|
|
{
|
|
return 50;
|
|
}
|
|
}
|
|
public override bool CanFly
|
|
{
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
public override void GenerateLoot()
|
|
{
|
|
this.AddLoot(LootPack.Average, 2);
|
|
this.AddLoot(LootPack.Gems, 2);
|
|
}
|
|
|
|
public override int GetAttackSound()
|
|
{
|
|
return 916;
|
|
}
|
|
|
|
public override int GetAngerSound()
|
|
{
|
|
return 916;
|
|
}
|
|
|
|
public override int GetDeathSound()
|
|
{
|
|
return 917;
|
|
}
|
|
|
|
public override int GetHurtSound()
|
|
{
|
|
return 919;
|
|
}
|
|
|
|
public override int GetIdleSound()
|
|
{
|
|
return 918;
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
} |