thalesvasc
New Member
- Joined
- Sep 28, 2010
- Messages
- 42
- Reaction score
- 1
Hello All! So, i want to request this item's function(almost) like in Tibia rl...
Well, when you are using the item in the head slot, you won't receive damage from drown, but, if you walk without the helmet you will be drowning...and only if you are walking on the sea tiles wearing the helmet, your speed will increase a little bit.
Here is the functions and ID's:
Helmet of the Deep: 5461
Tiles that will increase your speed: 5405, 5406, 5407, 5408, 5409, 5410, 5428, 5429, 5430, 5431, 5432, 5433, 5434, 5435, 5436, 5437, 5438, 5743, 5744.
Formula condition speed:
Condition drown:
Please, I know this is not hard to do, and I know there's a lot of excelent scripters here =)
But I can't do it, If some1 can help me...THANKS and REP +
:$
Well, when you are using the item in the head slot, you won't receive damage from drown, but, if you walk without the helmet you will be drowning...and only if you are walking on the sea tiles wearing the helmet, your speed will increase a little bit.
Here is the functions and ID's:
Helmet of the Deep: 5461
Tiles that will increase your speed: 5405, 5406, 5407, 5408, 5409, 5410, 5428, 5429, 5430, 5431, 5432, 5433, 5434, 5435, 5436, 5437, 5438, 5743, 5744.
Formula condition speed:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_NONE)
setConditionFormula(condition, 0.7, -56, 0.7, -56)
setCombatCondition(combat, condition)
Condition drown:
local condition = createConditionObject(CONDITION_DROWN)
setConditionParam(condition, CONDITION_PARAM_PERIODICDAMAGE, -20)
setConditionParam(condition, CONDITION_PARAM_TICKS, -1)
setConditionParam(condition, CONDITION_PARAM_TICKINTERVAL, 5000)
Please, I know this is not hard to do, and I know there's a lot of excelent scripters here =)
But I can't do it, If some1 can help me...THANKS and REP +
:$