-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
-
Conteúdo Similar
-
- 0 respostas
- 2102 visualizações
-
- 1 resposta
- 1248 visualizações
-
- 2 respostas
- 2176 visualizações
-
- 1 resposta
- 1912 visualizações
-
- 2 respostas
- 2570 visualizações
-
Pergunta
ludgeromf1 2
tpw gente eu tenho essa magia no meu ot e tals so q ela quando usada ela heala tbm alem de atacar heala me ajudem por favor
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, -3.9, -2, -1.9, -50)
local condition1 = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition1, CONDITION_PARAM_TICKS, 0)
--setConditionParam(condition1, CONDITION_PARAM_SPEED, -650)
setConditionFormula(condition1, -3.9, -2, -50)
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, -3.9, -2, -1.9, -50)
local condition2 = createConditionObject(CONDITION_CURSED)
setConditionParam(condition2, CONDITION_PARAM_DELAYED, 0)
addDamageCondition(condition2, -3.9, -2, -50)
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, -3.9, -2, -1.9, -50)
local condition3 = createConditionObject(CONDITION_DAZZLED)
setConditionParam(condition3, CONDITION_PARAM_DELAYED, 0)
addDamageCondition(condition3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, 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
Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados