Ceejzor
Murica Born N Raised!
Well I searched on Otland.net for a bit all the one's I found didn't help so I will try support.
[CENTER>magic wall rune.lua[/CENTER]
items.xml
PHP:
<item id="1498" article="a" name="magic wall">
<attribute key="type" value="magicfield"/>
</item>
[CENTER>magic wall rune.lua[/CENTER]
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1498)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
spells.xml
PHP:
<rune name="Magic Wall" id="2293" allowfaruse="1" charges="3" lvl="32" maglv="9" exhaustion="2000" blocktype="all" script="support/magic wall rune.lua"/>
So in the last .lua I see magic wall ID is 2293 would I change 2293 to the other two or change the other two to spells.xml?
Thanks in advance.
Thanks in advance.