Hello members of otland, i need a one spell,
I want the fast attack spell increase to 5 in 2 seconds
if they could make please: / I wanted to do it myself but I worked
an example;
to pull some 10 bolts or arrows, in 1 or 2 seconds, the spell is for paladin
I want the fast attack spell increase to 5 in 2 seconds
if they could make please: / I wanted to do it myself but I worked
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionParam(condition, CONDITION_PARAM_SKILL_ATTACKSPEEDPERCENT, 1000)
setConditionParam(condition, CONDITION_PARAM_BUFF, true)
setCombatCondition(combat, condition)
local speed = createConditionObject(CONDITION_PARALYZE)
setConditionParam(speed, CONDITION_PARAM_TICKS, 30000)
setConditionFormula(speed, -1.8, 60, -1.8, 60)
setCombatCondition(combat, speed)
local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 2)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, 45000)
setCombatCondition(combat, exhaust)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
an example;
to pull some 10 bolts or arrows, in 1 or 2 seconds, the spell is for paladin
Last edited: