mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
feat: add RemoveArenaSpellCooldowns and RemoveArenaAuras
This commit is contained in:
@@ -3733,6 +3733,15 @@ namespace LuaPlayer
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Resurrects the [Player].
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user