Thorn
Spriting since 2013
Hi!! well i'm pretty sure this is very easy to fix so plz help me whoever can!
it is a healing tile, it should heal your mana and health, also i would really appreciate that it show the numbers of the amount healed, thanks!!
my tf is 0.3 and tibia version 9.83
Code:
function onStepIn(cid, item, position)
if getCreatureMana(cid) < getCreatureMaxMana(cid) then
doCreatureAddMana(cid, getCreatureMaxMana(cid), FALSE)
if getCreatureMana(cid) < getCreatureMaxMana(cid) then
doCreatureAddHealth(cid, getCreatureMaxHealth(cid), FALSE)
doSendAnimatedText(getThingPos(cid), "Refilled!", TEXTCOLOR_BLUE)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Refilled!")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You are already refilled!")
end
return true
end
it is a healing tile, it should heal your mana and health, also i would really appreciate that it show the numbers of the amount healed, thanks!!
my tf is 0.3 and tibia version 9.83