ond
Veteran OT User
Hi guys, I need some help with my paralyze script. People is getting too much paralyzed. My question is kind of simple, how do I change so it doesn't get so effective? Thanks!
Here's the script:
Here's the script:
LUA:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 7000)
--setConditionParam(condition, CONDITION_PARAM_SPEED, -90)
setConditionFormula(condition, -0.9, 0, -0.9, 0)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
if getPlayerVocation(cid) == 6 then
mana = getPlayerMana(cid)
if (mana > 1199) then
doPlayerAddMana(cid, -1200)
return doCombat(cid, combat, var)
end
else
doPlayerSendCancel(cid, "Only druids may use this rune.")
end
end