mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix documentation for IsImmune
This commit is contained in:
@@ -428,11 +428,15 @@ namespace LuaPlayer
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Returns 'true' if the [Player] is immune to everything.
|
||||
*
|
||||
* @return bool isImmune
|
||||
*/
|
||||
int IsImmuneToDamage(lua_State* L, Player* player)
|
||||
{
|
||||
Eluna::Push(L, player->isTotalImmune());
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user