From 343c41bb1824877957f892b50a257077b496fe49 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Thu, 13 Oct 2016 23:54:56 -0400 Subject: [PATCH] Elemental dmg shouldn't allow you to hit bane only --- zone/attack.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/attack.cpp b/zone/attack.cpp index 991e251f3..9b83f7994 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -858,7 +858,7 @@ int Mob::GetWeaponDamage(Mob *against, const EQEmu::ItemBase *weapon_item) { } } - if(!eledmg && !banedmg){ + if(!banedmg){ if(!GetSpecialAbility(SPECATK_BANE)) return 0; else @@ -979,7 +979,7 @@ int Mob::GetWeaponDamage(Mob *against, const ItemInst *weapon_item, uint32 *hate banedmg = against->CheckBaneDamage(weapon_item); if (against->GetSpecialAbility(IMMUNE_MELEE_EXCEPT_BANE)) { - if (!eledmg && !banedmg) { + if (!banedmg) { if (!GetSpecialAbility(SPECATK_BANE)) return 0; else