I'm working on a 8.54 Open Tibia Server using The Forgotten Server - Version 0.2.7 (Mystic Spirit).
I want to balance out my vocations and my elements and there for a I need to create an ice field. Since the item.xml file does not recognize any other fields then fire, poison, drown and energy. I will be needing a movement script for this field.
I already gave it a try but I ain't great at making scripts myself.
This is what I got already:
My final idea is just to make this field exactly as the fire fields first stage with the only difference being ice dmg instead of fire.
So if anyone, with the right knowledge, finds some spare time to fix this. Then I would be very grateful.
Thanks in advance.
I want to balance out my vocations and my elements and there for a I need to create an ice field. Since the item.xml file does not recognize any other fields then fire, poison, drown and energy. I will be needing a movement script for this field.
I already gave it a try but I ain't great at making scripts myself.
This is what I got already:
Code:
local condition = createConditionObject(CONDITION_FREEZING)
setConditionParam(condition, CONDITION_PARAM_PERIODICDAMAGE, -10)
setConditionParam(condition, CONDITION_PARAM_TICKS, 7)
setConditionParam(condition, CONDITION_PARAM_DURATION, 200)
setConditionParam(condition, CONDITION_PARAM_TICKINTERVAL, 2000)
function onStepIn(cid, item, pos)
if isPlayer(cid) == TRUE then
doAddCondition(cid, condition)
end
end
My final idea is just to make this field exactly as the fire fields first stage with the only difference being ice dmg instead of fire.
So if anyone, with the right knowledge, finds some spare time to fix this. Then I would be very grateful.
Thanks in advance.