86 lines
2.0 KiB
C#
86 lines
2.0 KiB
C#
using System;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("a ghostly corpse")]
|
|
public class Bogle : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Bogle()
|
|
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
|
{
|
|
this.Name = "a bogle";
|
|
this.Body = 153;
|
|
this.BaseSoundID = 0x482;
|
|
|
|
this.SetStr(76, 100);
|
|
this.SetDex(76, 95);
|
|
this.SetInt(36, 60);
|
|
|
|
this.SetHits(46, 60);
|
|
|
|
this.SetDamage(7, 11);
|
|
|
|
this.SetSkill(SkillName.EvalInt, 55.1, 70.0);
|
|
this.SetSkill(SkillName.Magery, 55.1, 70.0);
|
|
this.SetSkill(SkillName.MagicResist, 55.1, 70.0);
|
|
this.SetSkill(SkillName.Tactics, 45.1, 60.0);
|
|
this.SetSkill(SkillName.Wrestling, 45.1, 55.0);
|
|
|
|
this.Fame = 4000;
|
|
this.Karma = -4000;
|
|
|
|
this.VirtualArmor = 28;
|
|
this.PackItem(Loot.RandomWeapon());
|
|
this.PackItem(new Bone());
|
|
}
|
|
|
|
public Bogle(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override bool BleedImmune
|
|
{
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
public override Poison PoisonImmune
|
|
{
|
|
get
|
|
{
|
|
return Poison.Lethal;
|
|
}
|
|
}
|
|
|
|
public override TribeType Tribe { get { return TribeType.Undead; } }
|
|
|
|
public override OppositionGroup OppositionGroup
|
|
{
|
|
get
|
|
{
|
|
return OppositionGroup.FeyAndUndead;
|
|
}
|
|
}
|
|
public override void GenerateLoot()
|
|
{
|
|
this.AddLoot(LootPack.Meager);
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|