- Joined
- Aug 5, 2008
- Messages
- 1,581
- Reaction score
- 80
Right, I hate to start threads when the question is around 55 letters long. (including spaces)
"Why does not the paralyze rune work in the latest 0.3.6"?
Players can cast the spell, but nothing affects them, they won't get slowed or anything. HALP?
"Why does not the paralyze rune work in the latest 0.3.6"?
Code:
<rune name="Paralyze" id="2278" allowfaruse="1" charges="1" lvl="54" maglv="18" exhaustion="2000" mana="1400" needtarget="1" blocktype="solid" event="script" value="support/paralyze rune.lua">
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</rune>
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.9, 0, -0.9, 0)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Players can cast the spell, but nothing affects them, they won't get slowed or anything. HALP?
Last edited: