• 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!

Lua Paralyze Script

ond

Veteran OT User
Joined
Mar 24, 2008
Messages
2,782
Solutions
25
Reaction score
491
Location
Sweden
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:
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
 
Back
Top