From 30dbe34f78c8f21726ca4f768bfb34e2e786589e Mon Sep 17 00:00:00 2001 From: KayenEQ Date: Wed, 28 Jan 2015 23:53:52 -0500 Subject: [PATCH] Fix for range procs --- zone/special_attacks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/special_attacks.cpp b/zone/special_attacks.cpp index 4998150bd..f0dc413e1 100644 --- a/zone/special_attacks.cpp +++ b/zone/special_attacks.cpp @@ -857,7 +857,7 @@ void Mob::DoArcheryAttackDmg(Mob* other, const ItemInst* RangeWeapon, const Ite if (IsClient()){ _RangeWeapon = CastToClient()->m_inv[MainRange]; - if (_RangeWeapon && !_RangeWeapon->GetItem() && _RangeWeapon->GetItem()->ID == range_id) + if (_RangeWeapon && _RangeWeapon->GetItem() && _RangeWeapon->GetItem()->ID == range_id) RangeWeapon = _RangeWeapon; _Ammo = CastToClient()->m_inv[AmmoSlot]; @@ -996,7 +996,7 @@ void Mob::DoArcheryAttackDmg(Mob* other, const ItemInst* RangeWeapon, const Ite } if (LaunchProjectile) - return;//Shouldn't reach this point, but just in case. + return;//Shouldn't reach this point durring initial launch phase, but just in case. //Weapon Proc if(RangeWeapon && other && !other->HasDied())