mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user