servuo/Scripts/Mobiles/Normal/HellSteed.cs
TrueUO 1c7f53a414
OCT17 (#4887)
* OCT17

Minor gump cleanup and XML cleanup.

* Improvements

- Skill Gain is no longer redundantly checked against the same values inside of XMLSpawner.
- AI_Animal (which was not used and just defaulted to AI_Melee) along with AI_Beserk, AI_Predator, and AI_Thief have been safely removed.
- ItemFlags.cs has been moved from XMLSpawner to MISC.
- Removed some misc double calls.

* Needed for recent AI fix.

* Item Fix
2020-10-21 10:15:47 -07:00

61 lines
1.6 KiB
C#

namespace Server.Mobiles
{
[CorpseName("a hellsteed corpse")]
public class HellSteed : BaseMount, IElementalCreature
{
public ElementType ElementType => ElementType.Chaos;
[Constructable]
public HellSteed()
: this("a hellsteed")
{
}
[Constructable]
public HellSteed(string name)
: base(name, 793, 0x3EBB, AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
{
SetStr(201, 210);
SetDex(101, 110);
SetInt(101, 115);
SetHits(201, 220);
SetDamage(20, 24);
SetDamageType(ResistanceType.Physical, 25);
SetDamageType(ResistanceType.Fire, 75);
SetResistance(ResistanceType.Physical, 60, 70);
SetResistance(ResistanceType.Fire, 90);
SetResistance(ResistanceType.Poison, 100);
SetSkill(SkillName.MagicResist, 90.1, 110.0);
SetSkill(SkillName.Tactics, 50.0);
SetSkill(SkillName.Wrestling, 90.1, 110.0);
Fame = 0;
Karma = 0;
SetSpecialAbility(SpecialAbility.DragonBreath);
}
public HellSteed(Serial serial)
: base(serial)
{
}
public override Poison PoisonImmune => Poison.Lethal;
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}