• 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 Magic wall rune [BUGGED] You can only use rune on creatures.

exiT

Member
Joined
May 28, 2009
Messages
248
Reaction score
19
I have error on my server.
I can't use magic wall, when i'm using it does it comes : You can only use rune on creatures.

I did try change to new magic wall script but didn't work, looked on spells.xml same thing..
even I looked on items.xml.

I'm using rev 3777.

Please can anyone help fast as possible.

Yours,
exiT
 
Last edited:
spells.xml

<rune name="Magic Wall" id="2293" allowfaruse="1" charges="3" lvl="32" maglv="9" exhaustion="1000" blocktype="all" event="script" value="support/magic wall rune.lua"/>


in magic wall.lua remove everything and add :

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

items.xml

<item id="2293" article="a" name="magic wall rune">
<attribute key="runeSpellName" value="adevo grav tera" />
<attribute key="weight" value="120" />
<attribute key="charges" value="3" />
</item>

rep me if i helped y
 
what error do you get?

are you sure you have
in spells.xml

<rune name="Magic Wall" id="2293" allowfaruse="1" charges="3" lvl="32" maglv="9" exhaustion="1000" blocktype="all" event="script" value="support/magic wall rune.lua"/>
 
Back
Top