Merge pull request #1 from r-o-b-o-t-o/feat/arena-methods

feat: expose RemoveArenaSpellCooldowns and RemoveArenaAuras
This commit is contained in:
55Honey
2021-10-20 21:11:08 +02:00
committed by GitHub
3 changed files with 28 additions and 0 deletions

View File

@@ -2657,6 +2657,17 @@ namespace LuaUnit
return 0;
}
#if !defined(CLASSIC)
/**
* Removes all positive visible [Aura]'s from the [Unit].
*/
int RemoveArenaAuras(lua_State* /*L*/, Unit* unit)
{
unit->RemoveArenaAuras();
return 0;
}
#endif
/**
* Adds the given unit state for the [Unit].
*