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
This commit is contained in:
thenecromancer
2010-03-15 18:03:43 +01:00
parent 3ba0862926
commit a81ad6986c
5 changed files with 17 additions and 5 deletions

View File

@@ -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;