From 2c5edff901c53ebfd35602c5754bd4f7fc7b2eac Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Thu, 28 Sep 2017 23:55:49 +0300 Subject: [PATCH] Fix documentation for IsImmune --- PlayerMethods.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; }