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

Rune Charges

Shanksera

New Member
Joined
Sep 23, 2008
Messages
379
Reaction score
1
Hello,I've set everything in spells and items.xml.Charges etc. for example
spells.xml
Code:
<conjure name="Heavy Magic Missile" words="adori gran" maglv="3" mana="70" soul="0" reagentId="2260" conjureId="2311" conjureCount="5" function="conjureRune">
		<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>
		<vocation name="Druid"/>    <vocation name="Elder Druid"/>

items.xml
Code:
<item id="2311" article="an" name="heavy magic missile rune">
		<attribute key="runeSpellName" value="adori gran"/>
		<attribute key="weight" value="120"/>
		<attribute key="charges" value="5"/>

In game its showing you see heavy magic missile rune.Doesn't show charges and every rune has 1 charge.
 
Last edited:
Okey. I think i found your "error" ;)

In Spell.xml
You need to change :
Code:
<rune name="Heavy Magic Missile" id="2311" allowfaruse="1" charges="100" lvl="25" exhaustion="2000" maglv="3" needtarget="1" blocktype="solid" script="attack/heavy magic missile.lua"/>
 
Code:
<conjure name="Heavy Magic Missile" words="adori gran" maglv="3" mana="70" soul="0" reagentId="2260" conjureId="2311" conjureCount="5" function="conjureRune">
		<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>
		<vocation name="Druid"/>    <vocation name="Elder Druid"/>


you have this
change conjureCount="5" to conjureCount="50"
now you wil have 50 charges and this conjureCount="100" wil give you 100 charges

above is for making it.
if ouy want a shop npc 2 sell a hmm with 5 charges goto the script part of the npc and try changing this

Code:
shopModule:addBuyableItem({'heavy magic missile', 'hmm'}, 2311, [COLOR="Magenta"]120[/COLOR], [COLOR="Red"]10[/COLOR],	'heavy magic missile rune')
magenta is price and red is the charges
shop charges has nothing 2 do with spells.

GL
 
1. Are you still not getting more than 1x uses after you buy them?
2. What server are you using?
 
No i'm always can use 1 time.Maybe something wrong in distro.I put on charges 20 and it got now 5 charges (still doesn't show You spell rune It has 5 charges etc.),but now explo got 6 charges lol.So i'm sure now its something wrong.
 
Last edited:
Back
Top