mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Merge pull request #1 from r-o-b-o-t-o/feat/arena-methods
feat: expose RemoveArenaSpellCooldowns and RemoveArenaAuras
This commit is contained in:
@@ -3728,6 +3728,17 @@ namespace LuaPlayer
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if !defined(CLASSIC)
|
||||
/**
|
||||
* Remove cooldowns on spells that have less than 10 minutes of cooldown from the [Player], similarly to when you enter an arena.
|
||||
*/
|
||||
int RemoveArenaSpellCooldowns(lua_State* /*L*/, Player* player)
|
||||
{
|
||||
player->RemoveArenaSpellCooldowns();
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Resurrects the [Player].
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user