• 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 / Mana

Lording

Well-Known Member
Joined
Jan 9, 2008
Messages
802
Reaction score
80
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 60000)
setConditionFormula(condition, -1.0, 0, -1.0, 0)
setCombatCondition(combat, condition)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Can anyone tell me how I can add mana when USED for this paralyze rune?

Using avesta!
 
Hey im not a pro scripter or anything but I THINK that you need to edit this in spells.xml

<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">

It should be saying something like that and where you can see that it says "mana" I think you should type how much mana the rune will take while using it.

But as I said I can be wrong im not a good scripter but you could try it out :)
 
Is not working, i think is because my ot is "old" look at my paralyze rune:
<rune name="adana ani" id="2284" maglv="18" needtarget="1" charges="1" script="support/paralyze_rune.lua">
 
Back
Top