diff --git a/PlayerMethods.h b/PlayerMethods.h index 1ad7491..c505367 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -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; }