Core/Units: added a helper to check if a limited target aura exists without creating an empty element in the container
This commit is contained in:
1 parent
003b096215
commit
6506e71a23
3 files changed
+12
-1
No files matched your search
@@ -982,7 +982,7 @@ class spell_mage_nether_vortex : public AuraScript
|
||||
|
||||
bool CheckProc(ProcEventInfo& /*eventInfo*/)
|
||||
{
|
||||
return GetTarget()->GetLimitedCastAuras(SPELL_MAGE_SLOW).empty();
|
||||
return GetTarget()->HasLimitedTargetAuraForSpell(SPELL_MAGE_SLOW);
|
||||
}
|
||||
|
||||
void HandleEffectProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo)
|
||||
|
||||
Reference in new issue
Block a user