Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
Take a look at the code for mass healing, where you can't heal monsters, but players only. It's for 1.2 TFS, dunno if it works for 1.0. Try it.
local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)...
You didn't say the server version.
#edit:
I'm not much into TFS lower than 1.0(don't know much functions :P), but try this.
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)...
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(itemEx.itemid == 7385) and math.random(10) <= 3 then
doTransformItem(itemEx.uid, 8209)
doSendMagicEffect(toPosition, 28)
else
doRemoveItem(item.uid)
end
return true
end
Try this
function onStepIn(creature, item, position, fromPosition)
local player = creature:getPlayer()
if not player then
creature:teleportTo(fromPosition, true)
end
end
Try this, it should push it back
Actually, the Gaz'haragoth works this way in global tibia, he summons minions on certain hp, that's why he spams the message. :D
About the tags, yeah I know the issue, but I don't have time to fix it and when I do then I don't remember about it.
It's in minutes, so:
player:setStamina(player:getStamina() + 180)
Dunno if it will set player's stamina to higher number than 42:00, but this should work. :)
You can find them in my monsterpack, read my signature. No prison keys scripts, but hey, do it by yourself and not only take from the community, give some in return too. :)