mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-14 07:42:29 +00:00
Check DivineAura in TryWeaponProc, should resolve #321
This commit is contained in:
parent
8aea6da7df
commit
1261aac036
@ -3934,6 +3934,11 @@ void Mob::TryWeaponProc(const ItemInst* weapon_g, Mob *on, uint16 hand) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (DivineAura()) {
|
||||||
|
mlog(COMBAT__PROCS, "Procs canceled, Divine Aura is in effect.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(!weapon_g) {
|
if(!weapon_g) {
|
||||||
TrySpellProc(nullptr, (const Item_Struct*)nullptr, on);
|
TrySpellProc(nullptr, (const Item_Struct*)nullptr, on);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user