Check DivineAura in TryWeaponProc, should resolve #321

This commit is contained in:
Michael Cook (mackal) 2014-12-18 18:49:57 -05:00
parent 8aea6da7df
commit 1261aac036

View File

@ -3934,6 +3934,11 @@ void Mob::TryWeaponProc(const ItemInst* weapon_g, Mob *on, uint16 hand) {
return;
}
if (DivineAura()) {
mlog(COMBAT__PROCS, "Procs canceled, Divine Aura is in effect.");
return;
}
if(!weapon_g) {
TrySpellProc(nullptr, (const Item_Struct*)nullptr, on);
return;