ffriozi
New User of Linux OS
- Joined
- Apr 4, 2008
- Messages
- 96
- Reaction score
- 1
Hey guys im haveing some problem w/t this part of my war script
the player after reach hp 0 he goes to the temple but the server dont heal his life so the hp stays on zero. he just keep add mana points but no hp here is the ScreenShot
any ideas?
Code:
end
if LEVEL.START ~= nil then
doPlayerSetLevel(cid, LEVEL.START)
end
local oldPosition = getCreaturePosition(cid)
doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)), FALSE)
doCreatureAddHealth(cid, getCreatureMaxHealth(cid), TRUE)
doCreatureAddMana(cid, getCreatureMaxMana(cid))
doSendMagicEffect(getCreaturePosition(cid), TEAMS[team.get(cid)].EFFECT)
doSendMagicEffect(oldPosition, 65)
doRemoveConditions(cid, FALSE)
doPlayerAddSoul(cid, -getPlayerSoul(cid))
return FALSE
end
return TRUE
the player after reach hp 0 he goes to the temple but the server dont heal his life so the hp stays on zero. he just keep add mana points but no hp here is the ScreenShot
any ideas?
Last edited: