Ir para conteúdo

Me Ajuda Com Essa Spell


zeloooko

Posts Recomendados

Eae, o meu problema e que essa spell ela fika sem exaust :cry:

axo q td mundo jah jogo PbOt ne e +ou- a exori flux pra paly eu axei na net + ta sem exaust

c naum conseguirem conserta esse, me arrumem o script da exori flux

 

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_BLOCKARMOR, TRUE)

setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ARROW)

setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 1.9, 0, 1.9, 0)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_BLOCKARMOR, TRUE)

setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SNIPERARROW)

setCombatFormula(combat2, COMBAT_FORMULA_SKILL, 2.0, 0, 0.9, 0)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_BLOCKARMOR, TRUE)

setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ONYXARROW)

setCombatFormula(combat3, COMBAT_FORMULA_SKILL, 2.0, 0, 1.9, 0)

 

local function onCastSpell1(parameters)

doCombat(parameters.cid, parameters.combat1, parameters.var)

end

local function onCastSpell2(parameters)

doCombat(parameters.cid, parameters.combat2, parameters.var)

end

local function onCastSpell3(parameters)

doCombat(parameters.cid, parameters.combat3, parameters.var)

end

function onCastSpell(cid, var)

local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5, combat6 = combat6}

addEvent(onCastSpell1, 0, parameters)

addEvent(onCastSpell2, 150, parameters)

addEvent(onCastSpell3, 300, parameters)

return doCombat(cid, combat, var)

end

 

 

 

VLW

 

Editado por doiderattt
Link para o comentário
Compartilhar em outros sites

kra desculpa memo nun consegui por o return =/

 

tenta por nesse otro akie e um poko melhor dakele "eu acho"

 

tem komo faser pra min?

so meio q ruim pakas nissu =´/

 

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_BLOCKARMOR, TRUE)

setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ARROW)

setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 1.9, 0, 1.9, 0)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_BLOCKARMOR, TRUE)

setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SNIPERARROW)

setCombatFormula(combat2, COMBAT_FORMULA_SKILL, 2.0, 0, 0.9, 0)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_BLOCKARMOR, TRUE)

setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ONYXARROW)

setCombatFormula(combat3, COMBAT_FORMULA_SKILL, 2.0, 0, 1.9, 0)

 

local combat4 = createCombatObject()

setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat4, COMBAT_PARAM_BLOCKARMOR, TRUE)

setCombatParam(combat4, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_BOLT)

setCombatFormula(combat4, COMBAT_FORMULA_SKILL, 2.0, 0, 0.9, 0)

 

local combat5 = createCombatObject()

setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat5, COMBAT_PARAM_BLOCKARMOR, TRUE)

setCombatParam(combat5, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_POWERBOLT)

setCombatFormula(combat5, COMBAT_FORMULA_SKILL, 2.0, 0, 1.9, 0)

 

local combat6 = createCombatObject()

setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat6, COMBAT_PARAM_BLOCKARMOR, TRUE)

setCombatParam(combat6, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_INFERNALBOLT)

setCombatFormula(combat6, COMBAT_FORMULA_SKILL, 5.9, 0, 1.9, 0)

 

local function onCastSpell1(parameters)

doCombat(parameters.cid, parameters.combat1, parameters.var)

end

local function onCastSpell2(parameters)

doCombat(parameters.cid, parameters.combat2, parameters.var)

end

local function onCastSpell3(parameters)

doCombat(parameters.cid, parameters.combat3, parameters.var)

end

local function onCastSpell4(parameters)

doCombat(parameters.cid, parameters.combat4, parameters.var)

end

local function onCastSpell5(parameters)

doCombat(parameters.cid, parameters.combat5, parameters.var)

end

local function onCastSpell6(parameters)

doCombat(parameters.cid, parameters.combat6, parameters.var)

end

function onCastSpell(cid, var)

local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5, combat6 = combat6}

addEvent(onCastSpell1, 0, parameters)

addEvent(onCastSpell2, 150, parameters)

addEvent(onCastSpell3, 300, parameters)

addEvent(onCastSpell4, 450, parameters)

addEvent(onCastSpell5, 600, parameters)

addEvent(onCastSpell6, 750, parameters)

 

end

 

 

 

 

Editado por doiderattt
Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...