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

runeSpellaname

Tropix

Like a BAuZZ
Joined
Jan 6, 2009
Messages
116
Reaction score
4
Hey, i need help with this,
i wonder how i can fix like if i look on the rune it saying

you see a manarune
----------------------
but you can i fix so it look like this

You see a manarune
it can only be used by ?? level or higher.
It weighs ??.?? oz
 
spells.xml
Code:
<rune name="Manarune" id="XXXX" allowfaruse="1" charges="1" lvl="8" exhaustion="1000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="manarune.lua"/>

items.xml
Code:
  <item id="XXXX" article="a" name="manarune">    
    <attribute key="runeSpellName" value="manarune" />
    <attribute key="weight" value="210" />
    <attribute key="charges" value="1" />
  </item>
 
Last edited:
12:30 You see a manarune ("manarune").
It weighs 0.07 oz.
ItemID: [2270].
Position: [X: 1001] [Y: 992] [Z: 7].
 
If you add the rune in spells.xml it should display level aswell.
 
Code:
<rune name="Manarune" id="2294" allowfaruse="1" charges="1" lvl="35" maglv="4" exhaustion="800" aggressive="1" needtarget="1" blocktype="solid" script="manarune.lua"/>

Code:
    <item id="2294" article="a" name="manarune">
        <attribute key="weight" value="10" />
    </item>

I have that configuration and my manarune are showing levels, etc, try.
 
Just add description :p

Lua:
  <item id="XXXX" article="a" name="manarune">    
    <attribute key="runeSpellName" value="manarune" />
    <attribute key="description" value="You can only use manarune if you are higher than level 35." />
    <attribute key="weight" value="210" />
    <attribute key="charges" value="1" />
  </item>
 
As stated by otswe, why just don't add a descr to the item?

Code:
		<attribute key="description" value="This rune can only be used by sorcerers and druids of level 50 or higher."/>
 
i don't have time to write desc on all my custom runes:p, :/, I hope Cykotitan or someone other good scripter can solved this problem ^^
 
What TFS version are you using? just copy the lines that i've posted you just a few hours ago in this post exactly, in itemsxml and spellsxml.
 
Back
Top