• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Dot-Like spell Help ):

rawrcore

New Member
Joined
Jul 4, 2011
Messages
12
Reaction score
0
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.

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
 
Back
Top