Fix documentation for IsImmune

This commit is contained in:
Rochet2
2017-09-28 23:55:49 +03:00
parent 8ecd5c6254
commit 2c5edff901

View File

@@ -428,11 +428,15 @@ namespace LuaPlayer
return 1; return 1;
} }
#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;
} }