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

Magic Wall Rune

tibiamo

New Member
Joined
May 30, 2009
Messages
50
Reaction score
1
need help magic wall rune never ends, as this concert?

I answer

XoXo KoJiiRo
 
Code:
	<item id="11095" article="a" name="magic wall">
		<attribute key="type" value="magicfield" />
		<attribute key="decayTo" value="0" />
		<attribute key="duration" value="20" />
	</item>

IF that is the correct item id for your magic wall. Replace it with that.

If it's not the correct id, find your id and just add
Code:
		<attribute key="decayTo" value="0" />
		<attribute key="duration" value="20" />

Rep if this works
 
Code:
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

This is a copy of the magic wall rune. So what you need to do is open your items.xml and press control + f to open the search function. Once that is open you need to type in 1497 and press enter. This will take you to the magic wall used for the magic wall rune. Once there you need to check and make sure it has these lines before the next item starts.....

<attribute key="decayTo" value="0" />
<attribute key="duration" value="20" />

If it does not have those lines, add them right below the other attribute keys and then save the file. Restart your server and use your magic wall to test and be sure it is working.
 
my good item.xml this way.

<item id="1497" article="a" name="magic wall">
<attribute key="type" value="magicfield"/>
<attribute key="decayTo" value="0"/>
<attribute key="duration" value="20"/>
</ item>
<item id="1498" article="a" name="magic wall">
<attribute key="type" value="magicfield"/>
</ item>
<item id="1499" article="a" name="rush wood">
<attribute key="type" value="magicfield"/>
<attribute key="decayTo" value="0"/>
<attribute key="duration" value="45"/>


and updated this way.



<item id="11094" article="a" name="magic wall">
<attribute key="type" value="magicfield"/>
<attribute key="decayTo" value="0"/>
<attribute key="duration" value="20"/>
</ item>
<item id="11095" article="a" name="rush wood">
<attribute key="type" value="magicfield"/>
<attribute key="decayTo" value="0"/>
<attribute key="duration" value="45"/>


it's all right so that the first in some, and the second player can go over
it'd only OTitemeditor 8:54 would be easy to arum + = /
 
Back
Top