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

Solved What stat is "Health / Mana" for items? |TFS 1.3| |8.6|

chyssler

Member
Joined
May 8, 2012
Messages
41
Reaction score
6
As of right now I do have some items, with +Skills, +Protection %, but No Health/Mana, Is their a Stat for that?

For example my "Magic Shield"

Lua:
                <item id="12682" article="a" name="Magic Shield">
        <attribute key="weight" value="28000" />
        <attribute key="weaponType" value="shield" />
        <attribute key="magiclevelpoints" value="40" />
        <attribute key="defense" value="30000" />

I want the shield to give 10M extra mana, Is their a way to add it to it?
 

Niloahs

Well-Known Member
Joined
Feb 10, 2020
Messages
90
Solutions
1
Reaction score
64
check if have this in your items.cpp


Lua:
    {"maxhitpoints", ITEM_PARSE_MAXHITPOINTS},
    {"maxhitpointspercent", ITEM_PARSE_MAXHITPOINTSPERCENT},
    {"maxmanapoints", ITEM_PARSE_MAXMANAPOINTS},
    {"maxmanapointspercent", ITEM_PARSE_MAXMANAPOINTSPERCENT},
 
OP
OP
C

chyssler

Member
Joined
May 8, 2012
Messages
41
Reaction score
6
check if have this in your items.cpp


Lua:
    {"maxhitpoints", ITEM_PARSE_MAXHITPOINTS},
    {"maxhitpointspercent", ITEM_PARSE_MAXHITPOINTSPERCENT},
    {"maxmanapoints", ITEM_PARSE_MAXMANAPOINTS},
    {"maxmanapointspercent", ITEM_PARSE_MAXMANAPOINTSPERCENT},
oh yes, it works now. I didnt know the phrase for it. but yea
Lua:
<attribute key="maxhitpoints" value="300000" />
gave me 300k extra hp. nice ty
 
Top