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

@@ -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].
*