feat: add RemoveArenaSpellCooldowns and RemoveArenaAuras

This commit is contained in:
Axel Cocat
2021-07-24 18:53:39 +02:00
parent 8b77940be7
commit 31b9b46ec6
3 changed files with 21 additions and 1 deletions

View File

@@ -2656,7 +2656,16 @@ namespace LuaUnit
unit->RemoveAllAuras();
return 0;
}
/**
* Removes all positive visible [Aura]'s from the [Unit].
*/
int RemoveArenaAuras(lua_State* /*L*/, Unit* unit)
{
unit->RemoveArenaAuras();
return 0;
}
/**
* Adds the given unit state for the [Unit].
*