From d46912fcdfe1050e7dcf835ac472e55fa1d982bb Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Fri, 28 Feb 2014 22:06:10 -0500 Subject: [PATCH] Fix issue with mob procing --- zone/attack.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zone/attack.cpp b/zone/attack.cpp index 52dd97196..3701e249d 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -2004,6 +2004,7 @@ bool NPC::Attack(Mob* other, int Hand, bool bRiposte, bool IsStrikethrough, bool if(!bRiposte && other->GetHP() > 0 ) { TryWeaponProc(nullptr, weapon, other, Hand); //no weapon + TrySpellProc(nullptr, weapon, other, Hand); } TriggerDefensiveProcs(nullptr, other, Hand, damage); @@ -4131,7 +4132,7 @@ void Mob::TrySpellProc(const ItemInst *inst, const Item_Struct *weapon, Mob *on, } for (uint32 i = 0; i < MAX_PROCS; i++) { - if (IsPet() && hand == 13) //Pets can only proc spell procs from their primay hand (ie; beastlord pets) + if (IsPet() && hand != 13) //Pets can only proc spell procs from their primay hand (ie; beastlord pets) continue; // If pets ever can proc from off hand, this will need to change // Not ranged