Hi , i wanna change time effect in spell "speed up"(utani hur)
Script:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, 4)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
local condition = createConditionObject(CONDITION_HASTE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 90000)
setConditionFormula(condition, 0.6, 8, 0.7, 8.2)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
I want to change the spell effect time to a permanent effect during the speed up.
i fresh in lua ! ;O
Script:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, 4)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
local condition = createConditionObject(CONDITION_HASTE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 90000)
setConditionFormula(condition, 0.6, 8, 0.7, 8.2)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
I want to change the spell effect time to a permanent effect during the speed up.
i fresh in lua ! ;O