diff --git a/EQ2/source/WorldServer/LuaFunctions.cpp b/EQ2/source/WorldServer/LuaFunctions.cpp index 1c77d8717..8609ceab9 100755 --- a/EQ2/source/WorldServer/LuaFunctions.cpp +++ b/EQ2/source/WorldServer/LuaFunctions.cpp @@ -2094,7 +2094,6 @@ int EQ2Emu_lua_ModifyMaxPower(lua_State* state) { sint32 value = lua_interface->GetSInt32Value(state, 2); lua_interface->ResetFunctionStack(state); if (spawn && value != 0) { - spawn->SetPower(spawn->GetPower() + value); if (value > spawn->GetTotalHPBase()) spawn->SetTotalPower(spawn->GetTotalPower() + value); } @@ -2107,7 +2106,6 @@ int EQ2Emu_lua_ModifyMaxHP(lua_State* state) { sint32 value = lua_interface->GetSInt32Value(state, 2); lua_interface->ResetFunctionStack(state); if (spawn && value != 0) { - spawn->SetHP(spawn->GetHP() + value); if (value > spawn->GetTotalHPBase()) spawn->SetTotalHP(spawn->GetTotalHP() + value); }