Tbol
Well-Known Member
- Joined
- Apr 7, 2019
- Messages
- 529
- Reaction score
- 56
Why my tile doesnt work? TFS 1.2
Lua:
function onStepIn(cid, item, position)
if isPlayer(cid) == 1 then
doPlayerAddMana(cid,-100)
doPlayerAddHealth(cid,-100)
doPlayerAddSoul(cid,1)
doPlayerAddExp(cid, 10)
doPlayerAddSkillTry(cid,0,10)
end
return true
end
XML:
<movevent event="StepIn" itemid="448" script="damage.lua" />