ModernUO/Projects/UOContent/Mobiles/Animals/Mounts/HellSteed.cs
Kamron Batman 1ec3636951
fix: Fixes speed issues (#959)
- [X] Removes all speeds in constructors since _they aren't used anyways_.
- [X] Adjusted timers according to the _time transformations in RunUO_.
2022-03-15 10:18:27 -07:00

59 lines
1.7 KiB
C#

namespace Server.Mobiles
{
public class HellSteed : BaseMount
{
[Constructible]
public HellSteed(string name = "a hellsteed") : base(name, 793, 0x3EBB, AIType.AI_Animal, FightMode.Aggressor)
{
SetStats(this);
}
public HellSteed(Serial serial) : base(serial)
{
}
public override string CorpseName => "a hellsteed corpse";
public override bool HasBreath => true;
public override int BreathChaosDamage => 100;
public override Poison PoisonImmune => Poison.Lethal;
public static void SetStats(BaseCreature steed)
{
steed.SetStr(201, 210);
steed.SetDex(101, 110);
steed.SetInt(101, 115);
steed.SetHits(201, 220);
steed.SetDamage(20, 24);
steed.SetDamageType(ResistanceType.Physical, 25);
steed.SetDamageType(ResistanceType.Fire, 75);
steed.SetResistance(ResistanceType.Physical, 60, 70);
steed.SetResistance(ResistanceType.Fire, 90);
steed.SetResistance(ResistanceType.Poison, 100);
steed.SetSkill(SkillName.MagicResist, 90.1, 110.0);
steed.SetSkill(SkillName.Tactics, 50.0);
steed.SetSkill(SkillName.Wrestling, 90.1, 110.0);
steed.Fame = 0;
steed.Karma = 0;
}
public override void Serialize(IGenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(IGenericReader reader)
{
base.Deserialize(reader);
var version = reader.ReadInt();
}
}
}