aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorthenecromancer <none@none>2010-03-15 18:03:43 +0100
committerthenecromancer <none@none>2010-03-15 18:03:43 +0100
commita81ad6986c65f966bb3af100b60a4ad1794f6aed (patch)
tree2227850674fefdeb36548dd525b35af2851a040b /src/game/Unit.cpp
parent3ba08629266146e6fbe5534443a0fefd16230d8e (diff)
Remove Hack detecting spell 61988 in HasAura()
Correctly cast 61988/61987 after casting Avenging Wrath/Divine Shield respectively (This will correctly show both spells disabled state) Don't allow casting Lay on Hands on self when aura 61988 is present (ie. after using Avenging Wrath) --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index ba4f49f6691..a758e836845 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -4532,10 +4532,6 @@ bool Unit::HasAuraEffect(uint32 spellId, uint8 effIndex, uint64 caster) const
bool Unit::HasAura(uint32 spellId, uint64 caster, uint8 reqEffMask) const
{
- //Special case for non existing spell
- if (spellId==61988)
- return HasAura(61987, caster, reqEffMask) || HasAura(25771, caster, reqEffMask);
-
if (GetAuraApplication(spellId, caster, reqEffMask))
return true;
return false;