mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
All loot pack items are now generated when the mobile is killed. Reworked monster stealing and begging. Various re-structuring and bug fixes. Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
78 lines
2.1 KiB
C#
78 lines
2.1 KiB
C#
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("a fire steed corpse")]
|
|
public class FireSteed : BaseMount
|
|
{
|
|
[Constructable]
|
|
public FireSteed()
|
|
: this("a fire steed")
|
|
{
|
|
}
|
|
|
|
[Constructable]
|
|
public FireSteed(string name)
|
|
: base(name, 0xBE, 0x3E9E, AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
|
{
|
|
BaseSoundID = 0xA8;
|
|
Hue = 1161;
|
|
|
|
SetStr(376, 400);
|
|
SetDex(91, 120);
|
|
SetInt(291, 300);
|
|
|
|
SetHits(226, 240);
|
|
|
|
SetDamage(11, 30);
|
|
|
|
SetDamageType(ResistanceType.Physical, 20);
|
|
SetDamageType(ResistanceType.Fire, 80);
|
|
|
|
SetResistance(ResistanceType.Physical, 30, 40);
|
|
SetResistance(ResistanceType.Fire, 70, 80);
|
|
SetResistance(ResistanceType.Cold, 20, 30);
|
|
SetResistance(ResistanceType.Poison, 30, 40);
|
|
SetResistance(ResistanceType.Energy, 30, 40);
|
|
|
|
SetSkill(SkillName.MagicResist, 100.0, 120.0);
|
|
SetSkill(SkillName.Tactics, 100.0);
|
|
SetSkill(SkillName.Wrestling, 100.0);
|
|
|
|
Fame = 20000;
|
|
Karma = -20000;
|
|
|
|
Tamable = true;
|
|
ControlSlots = 2;
|
|
MinTameSkill = 106.0;
|
|
|
|
SetSpecialAbility(SpecialAbility.DragonBreath);
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot(LootPack.LootItem<SulfurousAsh>(151, 300, true));
|
|
AddLoot(LootPack.LootItem<Ruby>(16, 30, true));
|
|
}
|
|
|
|
public FireSteed(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override FoodType FavoriteFood => FoodType.Meat;
|
|
public override PackInstinct PackInstinct => PackInstinct.Daemon | PackInstinct.Equine;
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write(1); // version
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
}
|