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

Ring give more hp/mana

Salvus

Well-Known Member
Joined
Feb 7, 2019
Messages
102
Solutions
1
Reaction score
69
Trying to fix so you get health/mana from the ring but got a small problem...

Code:
    <item id="21693" article="a" name="Newbie Ring">
        <attribute key="weight" value="120" />
        <attribute key="slotType" value="ring" />
        <attribute key="maxHealthPointsPercent" value="102"/>
        <attribute key="maxHealthPointsPercent" value="102"/>
        <attribute key="description" value="Newbie got 2% Mana/Health" />
        <attribute key="armor" value="1" />

[Warning - Items::parseItemNode] Unknown key value: maxHealthPointsPercent
[Warning - Items::parseItemNode] Unknown key value: maxHealthPointsPercent
 
Since you didn't mention what TFS you are using, So just try these ones.
XML:
maxHitPointsPercent
XML:
maxHealthPercent
 
in TFS 1.3 it should work with, I just checked source file luascript.cpp
XML:
maxHitPointsPercent
 
Solution
Is it telling you error? or not? if not add the item to movements.xml
and for mana it should be
XML:
maxManaPointsPercent
 
Thank you sir, this solved my problem

Code:
    <item id="21693" article="a" name="Newbie Ring">
        <attribute key="weight" value="120" />
        <attribute key="slotType" value="ring" />
        <attribute key="maxHitPointsPercent" value="102"/>
        <attribute key="maxManaPointsPercent" value="102"/>
        <attribute key="description" value="Newbie got 2% Mana/Health" />
        <attribute key="armor" value="1" />

And added it to movements
 
Back
Top