94 lines
2.2 KiB
C#
94 lines
2.2 KiB
C#
using System;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("a bull corpse")]
|
|
public class Bull : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Bull()
|
|
: base(AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
|
|
{
|
|
this.Name = "a bull";
|
|
this.Body = Utility.RandomList(0xE8, 0xE9);
|
|
this.BaseSoundID = 0x64;
|
|
|
|
if (0.5 >= Utility.RandomDouble())
|
|
this.Hue = 0x901;
|
|
|
|
this.SetStr(77, 111);
|
|
this.SetDex(56, 75);
|
|
this.SetInt(47, 75);
|
|
|
|
this.SetHits(50, 64);
|
|
this.SetMana(0);
|
|
|
|
this.SetDamage(4, 9);
|
|
|
|
this.SetDamageType(ResistanceType.Physical, 100);
|
|
|
|
this.SetResistance(ResistanceType.Physical, 25, 30);
|
|
this.SetResistance(ResistanceType.Cold, 10, 15);
|
|
|
|
this.SetSkill(SkillName.MagicResist, 17.6, 25.0);
|
|
this.SetSkill(SkillName.Tactics, 67.6, 85.0);
|
|
this.SetSkill(SkillName.Wrestling, 40.1, 57.5);
|
|
|
|
this.Fame = 600;
|
|
this.Karma = 0;
|
|
|
|
this.VirtualArmor = 28;
|
|
|
|
this.Tamable = true;
|
|
this.ControlSlots = 1;
|
|
this.MinTameSkill = 71.1;
|
|
}
|
|
|
|
public Bull(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override int Meat
|
|
{
|
|
get
|
|
{
|
|
return 10;
|
|
}
|
|
}
|
|
public override int Hides
|
|
{
|
|
get
|
|
{
|
|
return 15;
|
|
}
|
|
}
|
|
public override FoodType FavoriteFood
|
|
{
|
|
get
|
|
{
|
|
return FoodType.GrainsAndHay;
|
|
}
|
|
}
|
|
public override PackInstinct PackInstinct
|
|
{
|
|
get
|
|
{
|
|
return PackInstinct.Bull;
|
|
}
|
|
}
|
|
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();
|
|
}
|
|
}
|
|
} |