@Dexter
I applied the changes you made to SpecialAbility earlier but it still crashed just a few minutes ago while a few people were on playing around.
I applied the changes you made to SpecialAbility earlier but it still crashed just a few minutes ago while a few people were on playing around.
Code:
ServUO Version 0.5, Build 6659.11789
Operating System: Microsoft Windows NT 6.2.9200.0
.NET Framework: 4.0.30319.42000
Time: 3/27/2018 12:34:41 AM
Mobiles: 47764
Items: 363434
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Mobiles.LifeLeech.DoEffects(BaseCreature creature, Mobile defender, Int32& damage) in c:\Users\Administrator\Desktop\TC\PetTraining\Scripts\Services\Pet Training\SpecialAbility.cs:line 1322
at Server.Mobiles.SpecialAbility.Trigger(BaseCreature creature, Mobile defender, Int32& damage) in c:\Users\Administrator\Desktop\TC\PetTraining\Scripts\Services\Pet Training\SpecialAbility.cs:line 137
at Server.Mobiles.SpecialAbility.CheckCombatTrigger(Mobile attacker, Mobile defender, Int32& damage, DamageType type) in c:\Users\Administrator\Desktop\TC\PetTraining\Scripts\Services\Pet Training\SpecialAbility.cs:line 57
at Server.AOS.Damage(IDamageable damageable, Mobile from, Int32 damage, Boolean ignoreArmor, Int32 phys, Int32 fire, Int32 cold, Int32 pois, Int32 nrgy, Int32 chaos, Int32 direct, Boolean keepAlive, DamageType type) in c:\Users\Administrator\Desktop\TC\PetTraining\Scripts\Misc\AOS.cs:line 331
at Server.AOS.Damage(IDamageable m, Mobile from, Int32 damage, Int32 phys, Int32 fire, Int32 cold, Int32 pois, Int32 nrgy) in c:\Users\Administrator\Desktop\TC\PetTraining\Scripts\Misc\AOS.cs:line 58
at Server.PoisonImpl.PoisonTimer.OnTick() in c:\Users\Administrator\Desktop\TC\PetTraining\Scripts\Misc\Poison.cs:line 266
at Server.Timer.Slice()
at Server.Core.Main(String[] args)