Bndzinhoo 9 Postado Janeiro 14, 2011 Share Postado Janeiro 14, 2011 Seguinte Pessoal Estou com um poblema a magia Exevo san condition esta sem exaust. Ja tentei a edição no Spells.xml local combat1 = createCombatObject() local combat2 = createCombatObject() local combat3 = createCombatObject() local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_YALAHARIGHOST) setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 7.5, 7, 5.5, 6) local condition1 = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition1, CONDITION_PARAM_TICKS, 20000) --setConditionParam(condition1, CONDITION_PARAM_SPEED, -500) setConditionFormula(condition1, -0.8, 0, -0.8, 0) setCombatCondition(combat1, condition1) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_YALAHARIGHOST) setCombatFormula(combat2, COMBAT_FORMULA_SKILL, -0.5, -1, -0.4, -1) local condition2 = createConditionObject(CONDITION_CURSED) setConditionParam(condition2, CONDITION_PARAM_DELAYED, 1) addDamageCondition(condition2, 5, 500, -100) setCombatCondition(combat2, condition2) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_YALAHARIGHOST) setCombatFormula(combat3, COMBAT_FORMULA_SKILL, -0.5, -1, -0.4, -1) local condition3 = createConditionObject(CONDITION_DAZZLED) setConditionParam(condition3, CONDITION_PARAM_DELAYED, 1) addDamageCondition(condition3, 5, 500, -100) setCombatCondition(combat3, condition3) arr1 = { {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1,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ombatArea(arr1) local area2 = createCombatArea(arr2) local area3 = createCombatArea(arr3) setCombatArea(combat1, area1) setCombatArea(combat2, area2) setCombatArea(combat3, area3) 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 } addEvent(onCastSpell1, 1, parameters) addEvent(onCastSpell2, 2, parameters) addEvent(onCastSpell3, 3, parameters) end Alguem tem ideia do q seja? Link para o comentário Compartilhar em outros sites More sharing options...
0 allan1001 8 Postado Janeiro 14, 2011 Share Postado Janeiro 14, 2011 Tenta agora. local combat1 = createCombatObject() local combat2 = createCombatObject() local combat3 = createCombatObject() local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_YALAHARIGHOST) setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 7.5, 7, 5.5, 6) local condition1 = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition1, CONDITION_PARAM_TICKS, 20000) --setConditionParam(condition1, CONDITION_PARAM_SPEED, -500) setConditionFormula(condition1, -0.8, 0, -0.8, 0) setCombatCondition(combat1, condition1) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_YALAHARIGHOST) setCombatFormula(combat2, COMBAT_FORMULA_SKILL, -0.5, -1, -0.4, -1) local condition2 = createConditionObject(CONDITION_CURSED) setConditionParam(condition2, CONDITION_PARAM_DELAYED, 1) addDamageCondition(condition2, 5, 500, -100) setCombatCondition(combat2, condition2) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_YALAHARIGHOST) setCombatFormula(combat3, COMBAT_FORMULA_SKILL, -0.5, -1, -0.4, -1) local condition3 = createConditionObject(CONDITION_DAZZLED) setConditionParam(condition3, CONDITION_PARAM_DELAYED, 1) addDamageCondition(condition3, 5, 500, -100) setCombatCondition(combat3, condition3) arr1 = { {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, } arr2 = { {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, } arr3 = { {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, } local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) local area3 = createCombatArea(arr3) setCombatArea(combat1, area1) setCombatArea(combat2, area2) setCombatArea(combat3, area3) 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 } addEvent(onCastSpell1, 1, parameters) addEvent(onCastSpell2, 2, parameters) addEvent(onCastSpell3, 3, parameters) return TRUE end Link para o comentário Compartilhar em outros sites More sharing options...
0 Bndzinhoo 9 Postado Janeiro 14, 2011 Autor Share Postado Janeiro 14, 2011 vlw deu certinho Pode Fexa o Topico Link para o comentário Compartilhar em outros sites More sharing options...
0 ludgeromf1 2 Postado Outubro 28, 2011 Share Postado Outubro 28, 2011 allan1001 manow fiko mt fodaaaaaaaaaaaaaaaa manow melhor q isso ñ tem como Link para o comentário Compartilhar em outros sites More sharing options...
0 ludgeromf1 2 Postado Novembro 7, 2011 Share Postado Novembro 7, 2011 ai manow po tpw a magia heala tbm como tira o healing da magia ? Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
Bndzinhoo 9
Seguinte Pessoal Estou com um poblema
a magia Exevo san condition esta sem exaust. Ja tentei a edição no Spells.xml
Alguem tem ideia do q seja?
Link para o comentário
Compartilhar em outros sites
4 respostass a esta questão
Posts Recomendados