From 1261aac03681c186c6090dc931403911d988b697 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Thu, 18 Dec 2014 18:49:57 -0500 Subject: [PATCH] Check DivineAura in TryWeaponProc, should resolve #321 --- zone/attack.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zone/attack.cpp b/zone/attack.cpp index 9ecfaa8a3..2bd3a0247 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -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;