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

Lua Requests

foulla

Member
Joined
Jun 26, 2016
Messages
78
Solutions
1
Reaction score
6
How make ring add 15% in mana and health
In Items.xml
 
Solution
If you are using 0.x then you can use those attributes.
XML:
maxhealthpoints
maxhealthpercent
maxmanapoints
maxmanapercent
If you are using 1.x then you can try using those.
XML:
maxhitpoints
maxhitpointspercent
maxmanapoints
maxmanapointspercent
Then OFC add the item to movements.xml
If you are using 0.x then you can use those attributes.
XML:
maxhealthpoints
maxhealthpercent
maxmanapoints
maxmanapercent
If you are using 1.x then you can try using those.
XML:
maxhitpoints
maxhitpointspercent
maxmanapoints
maxmanapointspercent
Then OFC add the item to movements.xml
 
Solution
If you are using 0.x then you can use those attributes.
XML:
maxhealthpoints
maxhealthpercent
maxmanapoints
maxmanapercent
If you are using 1.x then you can try using those.
XML:
maxhitpoints
maxhitpointspercent
maxmanapoints
maxmanapointspercent
Then OFC add the item to movements.xml
Ty bro 😊
 
If you are using 0.x then you can use those attributes.
XML:
maxhealthpoints
maxhealthpercent
maxmanapoints
maxmanapercent
If you are using 1.x then you can try using those.
XML:
maxhitpoints
maxhitpointspercent
maxmanapoints
maxmanapointspercent
Then OFC add the item to movements.xml
When add
XML:
 <attribute key="maxhealthpercent" value="30" />
When using this reduces the health by 30%, does not add
 
When add
XML:
 <attribute key="maxhealthpercent" value="30" />
When using this reduces the health by 30%, does not add

well, it is supposed to add 30%, what is probably happening:
if you have 700 HP, then you equip the ring, the MAX_HP goes to 1000, but the CURRENT_HP stays at 700.
 
well, it is supposed to add 30%, what is probably happening:
if you have 700 HP, then you equip the ring, the MAX_HP goes to 1000, but the CURRENT_HP stays at 700.
add 30%,
if i have 700 HP, then you equip the ring, the MAX_HP goes to 910,but the CURRENT_HP Becomes 210 It should be added
But I'm thinking about
value="100+30" The value that I want to add
 
How about trying -30? might work
When making it
XML:
 <attribute key="maxhealthpercent" value="30" />
The basic health becomes 30% and is not added to the basic health .Example
if i have 700 HP, then you equip the ring, the MAX_HP goes to 910,but the CURRENT_HP Becomes 210 It is not 910
 
Back
Top