Tak jak w temacie u?ywam spella, to paral dzia?a, lecz cel si? upija przy paralu, co? mo?e w kodzie ?le?
Od razu m?wi?, ?e wszystko to czysta edycja, sam nie pisa?em.
Tu obszar parala:
Tu Wave parala:
Tu poison:
tu ama:
Od razu m?wi?, ?e wszystko to czysta edycja, sam nie pisa?em.
Tu obszar parala:
[LUA]local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, 17)
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.7, 0, -0.7, 0)
setCombatCondition(combat, condition)
arr = {
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
}
local swirustwojpan = createCombatArea(arr)
setCombatArea(combat, swirustwojpan)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end [/LUA]
setCombatParam(combat, COMBAT_PARAM_EFFECT, 17)
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.7, 0, -0.7, 0)
setCombatCondition(combat, condition)
arr = {
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
}
local swirustwojpan = createCombatArea(arr)
setCombatArea(combat, swirustwojpan)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end [/LUA]
Tu Wave parala:
[LUA]local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, 17)
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.7, 0, -0.7, 0)
setCombatCondition(combat, condition)
arr = {
{0, 0, 1, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 3, 0, 0}
}
local swirustwojpan = createCombatArea(arr)
setCombatArea(combat, swirustwojpan)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end [/LUA]
setCombatParam(combat, COMBAT_PARAM_EFFECT, 17)
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.7, 0, -0.7, 0)
setCombatCondition(combat, condition)
arr = {
{0, 0, 1, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 3, 0, 0}
}
local swirustwojpan = createCombatArea(arr)
setCombatArea(combat, swirustwojpan)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end [/LUA]
Tu poison:
[LUA]local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, 74)
local condition = createConditionObject(CONDITION_POISON)
setConditionParam(condition, 5, CONDITION_PARAM_EFFECT, 30)
addDamageCondition(condition, 2, 3000, -500)
addDamageCondition(condition, 10, 3000, -100)
setCombatCondition(combat, condition)
arr = {
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
}
local swirustwojpan = createCombatArea(arr)
setCombatArea(combat, swirustwojpan)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end [/LUA]
setCombatParam(combat, COMBAT_PARAM_EFFECT, 74)
local condition = createConditionObject(CONDITION_POISON)
setConditionParam(condition, 5, CONDITION_PARAM_EFFECT, 30)
addDamageCondition(condition, 2, 3000, -500)
addDamageCondition(condition, 10, 3000, -100)
setCombatCondition(combat, condition)
arr = {
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
}
local swirustwojpan = createCombatArea(arr)
setCombatArea(combat, swirustwojpan)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end [/LUA]
tu ama:
[LUA]local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 30)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1000.3, -30, -100, 0)
local condition = createConditionObject(CONDITION_FIRE)
setConditionParam(condition, 5, CONDITION_PARAM_EFFECT, 30)
addDamageCondition(condition, 5, 3000, -500)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
[/LUA]
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 30)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1000.3, -30, -100, 0)
local condition = createConditionObject(CONDITION_FIRE)
setConditionParam(condition, 5, CONDITION_PARAM_EFFECT, 30)
addDamageCondition(condition, 5, 3000, -500)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
[/LUA]