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

Runes Problem!!

Nofus

New Member
Joined
Jul 16, 2009
Messages
415
Reaction score
1
Hi guys, i tried to Add runes, i got Manarune but i want to create another VIP Manarune so i cant edit the normal one. As you see down here i've tried to create a Pro SD.

<rune name="Firebomb" id="2305" allowfaruse="1" charges="2" lvl="27" maglv="5" exhaustion="2000" blocktype="solid" event="script" value="attack/fire bomb.lua"/>
<rune name="Fire Wall" id="2303" allowfaruse="1" charges="4" lvl="33" maglv="6" exhaustion="2000" blocktype="solid" event="script" value="attack/fire wall.lua"/>
<rune name="Pro SD" id="2308" aggressive="1" charges="10" needtarget="1" lvl="100" maglv="45" exhaustion="900" enabled="1" allowfaruse="1" script="Pro SD.lua"/>

Well when i started my server it said, Unable to load Spells.xml , Whats wrong? Can someone please tell me detailed exactly how to create a Rune and exactly where i should put it. Thank you.
 
<rune name="Firebomb" id="2305" allowfaruse="1" charges="2" lvl="27" maglv="5" exhaustion="2000" blocktype="solid" event="script" value="attack/fire bomb.lua"/>
<rune name="Fire Wall" id="2303" allowfaruse="1" charges="4" lvl="33" maglv="6" exhaustion="2000" blocktype="solid" event="script" value="attack/fire wall.lua"/>
<rune name="Pro SD" id="2308" aggressive="1" charges="10" needtarget="1" lvl="100" maglv="45" exhaustion="900" event="script" value="Pro SD.lua"/>
this.
 
@up
allowfaruse?
doesn't work in spells, and it's already set to 1 (true) in spells.cpp:
Code:
RuneSpell::RuneSpell(LuaScriptInterface* _interface):
Action(_interface)
{
	runeId = 0;
	function = NULL;
	[B]hasCharges = [COLOR="Red"]allowFarUse = true;[/COLOR][/B]
}
 
Back
Top