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

Support Pls. REP++

hedon34

Death Ninja/Hedon/The Bye Bye Man
Joined
Jun 8, 2009
Messages
276
Reaction score
55
[Error - Spell Interface]
data/spells/scripts/support/paralyze rune.lua:eek:nCastSpell
Description:
(luaDoPlayerSendCancel) Player not found

i get this error almost every second in my server, ive changed the para lua file. Whats the deal?
 
Use this: name the file paralyze rune.lua



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


and paste this into spells.xml
Support rune section

<rune name="Paralyze" id="2278" allowfaruse="1" charges="1" lvl="54" maglv="18" exhaustion="2000" mana="2200" needtarget="1" blocktype="solid" event="script" value="support/paralyze rune.lua">
<vocation id="1"/>
<vocation id="2"/>
<vocation id="5" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>


Rep me if i helped.
 
Fixed Ty,


Also, Anyway to Have a Global Login Script? TO check and see about donor items?
 
Back
Top