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:
@@ -429,10 +429,14 @@ namespace LuaPlayer
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns 'true' if the [Player] is immune to everything.
|
||||||
|
*
|
||||||
|
* @return bool isImmune
|
||||||
|
*/
|
||||||
int IsImmuneToDamage(lua_State* L, Player* player)
|
int IsImmuneToDamage(lua_State* L, Player* player)
|
||||||
{
|
{
|
||||||
Eluna::Push(L, player->isTotalImmune());
|
Eluna::Push(L, player->isTotalImmune());
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user