62 lines
1.7 KiB
C#
62 lines
1.7 KiB
C#
using ModernUO.Serialization;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[SerializationGenerator(0, false)]
|
|
public partial class Gargoyle : BaseCreature
|
|
{
|
|
[Constructible]
|
|
public Gargoyle() : base(AIType.AI_Mage)
|
|
{
|
|
Body = 4;
|
|
BaseSoundID = 372;
|
|
|
|
SetStr(146, 175);
|
|
SetDex(76, 95);
|
|
SetInt(81, 105);
|
|
|
|
SetHits(88, 105);
|
|
|
|
SetDamage(7, 14);
|
|
|
|
SetDamageType(ResistanceType.Physical, 100);
|
|
|
|
SetResistance(ResistanceType.Physical, 30, 35);
|
|
SetResistance(ResistanceType.Fire, 25, 35);
|
|
SetResistance(ResistanceType.Cold, 5, 10);
|
|
SetResistance(ResistanceType.Poison, 15, 25);
|
|
|
|
SetSkill(SkillName.EvalInt, 70.1, 85.0);
|
|
SetSkill(SkillName.Magery, 70.1, 85.0);
|
|
SetSkill(SkillName.MagicResist, 70.1, 85.0);
|
|
SetSkill(SkillName.Tactics, 50.1, 70.0);
|
|
SetSkill(SkillName.Wrestling, 40.1, 80.0);
|
|
|
|
Fame = 3500;
|
|
Karma = -3500;
|
|
|
|
VirtualArmor = 32;
|
|
|
|
if (Utility.RandomDouble() < 0.025)
|
|
{
|
|
PackItem(new GargoylesPickaxe());
|
|
}
|
|
}
|
|
|
|
public override string CorpseName => "a gargoyle corpse";
|
|
public override string DefaultName => "a gargoyle";
|
|
|
|
public override bool CanFly => true;
|
|
|
|
public override int TreasureMapLevel => 1;
|
|
public override int Meat => 1;
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot(LootPack.Average);
|
|
AddLoot(LootPack.MedScrolls);
|
|
AddLoot(LootPack.Gems, Utility.RandomMinMax(1, 4));
|
|
}
|
|
}
|
|
}
|