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

Paralyze rune

Mauzim

Member
Joined
Jan 3, 2011
Messages
568
Reaction score
9
Code:
local combat = createCombatObject() 
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) 

local condition = createConditionObject(CONDITION_PARALYZE) 
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000) 
setConditionFormula(condition, -1, 40, -1, 40) 
setCombatCondition(combat, condition) 

function onCastSpell(cid, var) 
local paradelay = getConfigInfo('paralyzeDelay') 
    if isPlayer(variantToNumber(var)) == TRUE then 
        return doCombat(cid, combat, var), exhaustion.set(variantToNumber(var), 30030, paradelay/1000), doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) 
    else 
        return doCombat(cid, combat, var), doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) 
    end 
end
Hi i need help with paralyze rune how to make that. If i use it on target that make pk and red pz.
 
Back
Top