* Adds the following configurations: * `movement.delay.npcMinDelay` - 0.1 - Pets or Non-monster NPCs * `movement.delay.npcMaxDelay` - 0.4 - Pets or Non-monster NPCs * `movement.delay.monsterMinDelay` - 0.4 - Non-pet Monsters or NPC vs Player Combat * `movement.delay.monsterMaxDelay` - 0.8 - Non-pet Monsters or NPC vs Player Combat * `movement.delay.monsterMinDex` - 150 - Dex maximum for delay by dex * `movement.delay.MinDex` - 190 - Dex maximum for delay by dex
67 lines
1.8 KiB
C#
67 lines
1.8 KiB
C#
namespace Server.Mobiles
|
|
{
|
|
public class Cougar : BaseCreature
|
|
{
|
|
[Constructible]
|
|
public Cougar() : base(AIType.AI_Animal, FightMode.Aggressor)
|
|
{
|
|
Body = 63;
|
|
BaseSoundID = 0x73;
|
|
|
|
SetStr(56, 80);
|
|
SetDex(66, 85);
|
|
SetInt(26, 50);
|
|
|
|
SetHits(34, 48);
|
|
SetMana(0);
|
|
|
|
SetDamage(4, 10);
|
|
|
|
SetDamageType(ResistanceType.Physical, 100);
|
|
|
|
SetResistance(ResistanceType.Physical, 20, 25);
|
|
SetResistance(ResistanceType.Fire, 5, 10);
|
|
SetResistance(ResistanceType.Cold, 10, 15);
|
|
SetResistance(ResistanceType.Poison, 5, 10);
|
|
|
|
SetSkill(SkillName.MagicResist, 15.1, 30.0);
|
|
SetSkill(SkillName.Tactics, 45.1, 60.0);
|
|
SetSkill(SkillName.Wrestling, 45.1, 60.0);
|
|
|
|
Fame = 450;
|
|
Karma = 0;
|
|
|
|
VirtualArmor = 16;
|
|
|
|
Tamable = true;
|
|
ControlSlots = 1;
|
|
MinTameSkill = 41.1;
|
|
}
|
|
|
|
public Cougar(Serial serial) : base(serial)
|
|
{
|
|
}
|
|
|
|
public override string CorpseName => "a cougar corpse";
|
|
public override string DefaultName => "a cougar";
|
|
|
|
public override int Meat => 1;
|
|
public override int Hides => 10;
|
|
public override FoodType FavoriteFood => FoodType.Fish | FoodType.Meat;
|
|
public override PackInstinct PackInstinct => PackInstinct.Feline;
|
|
|
|
public override void Serialize(IGenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
|
|
writer.Write(0);
|
|
}
|
|
|
|
public override void Deserialize(IGenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
|
|
var version = reader.ReadInt();
|
|
}
|
|
}
|
|
}
|