could someone edit this spell to only tick like 10 times ? cause right now it's damage goes down by 1 each tick till it reaches zero.. wich is pretty overpowered if you do 300~~ish.
And i think cykotitan made the spell.. just mentioning o_o
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_POISONAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_POISON)
local t = {}
for i = 1, 300 do -- how many levels to create conditions for
t = createConditionObject(CONDITION_POISON)
setConditionParam(t, CONDITION_PARAM_DELAYED, true)
setConditionParam(t, CONDITION_PARAM_MINVALUE, i * 8)
setConditionParam(t, CONDITION_PARAM_MAXVALUE, i * 9)
setConditionParam(t, CONDITION_PARAM_STARTVALUE, i * 2)
setConditionParam(t, CONDITION_PARAM_TICKINTERVAL, 3000)
setConditionParam(t, CONDITION_PARAM_FORCEUPDATE, true)
end
function onCastSpell(cid, var)
if doCombat(cid, combat, var) then
local k = variantToNumber(var)
if k ~= 0 then
doTargetCombatCondition(cid, k, t[getPlayerLevel(cid)], CONST_ME_NONE)
end
return true
end
end
And i think cykotitan made the spell.. just mentioning o_o