* Movie ignore mobiles to Mobile class * Allow necromancer familiars to ignore mobiles * ChampionSpawn should not quietly fail when creating new spawn * Fix client party crash bug: 2 people partied, the leader logs out, other client is hung * Fix spellbooks creating with magery/meditation only and creating magery multiple times * Fix BaseRunicTool.GetRandomSlayer() creating more undead slayers than intended * Do not allow players to dismount each other whilst mounted * Fix AOS onwards damage increase tooltip and wrong formula in AOS * Fix monsters killing other monster revenants + animate dead should not attack player pets + other animates * Fix fire steed having loot pack added twice * Fix oaks spawn not able to create Unicorns + Kirins via Activator.CreateInstace() due to constructor having name as parametr * Fix ignoreMobiles flag not propagated to client for non-players. * Fix harrower tents not leeching from players * Fix boats speedhacking around the map * Fix bless, agility etc. not renewing duration * Fix reveal always worked * Fix empty constructor for steeds so they don't throw now.
67 lines
1.8 KiB
C#
67 lines
1.8 KiB
C#
namespace Server.Mobiles
|
|
{
|
|
public class SkeletalMount : BaseMount
|
|
{
|
|
[Constructible]
|
|
public SkeletalMount() : base(793, 0x3EBB, AIType.AI_Animal, FightMode.Aggressor)
|
|
{
|
|
SetStr(91, 100);
|
|
SetDex(46, 55);
|
|
SetInt(46, 60);
|
|
|
|
SetHits(41, 50);
|
|
|
|
SetDamage(5, 12);
|
|
|
|
SetDamageType(ResistanceType.Physical, 50);
|
|
SetDamageType(ResistanceType.Cold, 50);
|
|
|
|
SetResistance(ResistanceType.Physical, 50, 60);
|
|
SetResistance(ResistanceType.Cold, 90, 95);
|
|
SetResistance(ResistanceType.Poison, 100);
|
|
SetResistance(ResistanceType.Energy, 10, 15);
|
|
|
|
SetSkill(SkillName.MagicResist, 95.1, 100.0);
|
|
SetSkill(SkillName.Tactics, 50.0);
|
|
SetSkill(SkillName.Wrestling, 70.1, 80.0);
|
|
|
|
Fame = 0;
|
|
Karma = 0;
|
|
}
|
|
|
|
public SkeletalMount(Serial serial) : base(serial)
|
|
{
|
|
}
|
|
|
|
public override string CorpseName => "an undead horse corpse";
|
|
public override string DefaultName => "a skeletal steed";
|
|
|
|
public override Poison PoisonImmune => Poison.Lethal;
|
|
public override bool BleedImmune => true;
|
|
|
|
public override void Serialize(IGenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
|
|
writer.Write(1); // version
|
|
}
|
|
|
|
public override void Deserialize(IGenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
|
|
var version = reader.ReadInt();
|
|
|
|
switch (version)
|
|
{
|
|
case 0:
|
|
{
|
|
Tamable = false;
|
|
MinTameSkill = 0.0;
|
|
ControlSlots = 0;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|