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

@ Soft boots rep ++

Xei

...
Joined
Apr 29, 2009
Messages
280
Reaction score
1
can somebody help me to make the softboots Regain of 15 HP every 2 seconds. Regain of 25 MP every 1 second!
 
Code:
	<item id="2640" article="a" name="pair of soft boots">
		<attribute key="weight" value="800"/>
		<attribute key="slotType" value="feet"/>
		<attribute key="decayTo" value="10021"/>
		<attribute key="transformDeEquipTo" value="6132"/>
		<attribute key="duration" value="14400"/>
		<attribute key="healthGain" value="1"/>
		<attribute key="healthTicks" value="2000"/>
		<attribute key="manaGain" value="2"/>
		<attribute key="manaTicks" value="1000"/>
		<attribute key="showduration" value="1"/>
 
example of what do you need change
Code:
	<item id="2640" article="a" name="pair of soft boots">
		<attribute key="weight" value="800"/>
		<attribute key="slotType" value="feet"/>
		<attribute key="decayTo" value="10021"/>
		<attribute key="transformDeEquipTo" value="6132"/>
		<attribute key="duration" value="14400"/>
		<attribute key="healthGain" value="1"/> <-- change it for 25
		<attribute key="healthTicks" value="2000"/> <-- 2000 = 2 secs
		<attribute key="manaGain" value="2"/> <-- change it for 25
		<attribute key="manaTicks" value="1000"/> <-- 1000 = 1 sec
		<attribute key="showduration" value="1"/>
script already modify
Code:
	<item id="2640" article="a" name="pair of soft boots">
		<attribute key="weight" value="800"/>
		<attribute key="slotType" value="feet"/>
		<attribute key="decayTo" value="10021"/>
		<attribute key="transformDeEquipTo" value="6132"/>
		<attribute key="duration" value="14400"/>
		<attribute key="healthGain" value="15"/>
		<attribute key="healthTicks" value="2000"/>
		<attribute key="manaGain" value="25"/>
		<attribute key="manaTicks" value="1000"/>
		<attribute key="showduration" value="1"/>

give me rep+ if i help you :)
 
Indeed, change the healthgain to the amount of health you want to gain.
Change the managain to the amount of mana you want to gain.

Healthticks and manaticks are the time on which the mana/hp is gained.
In your script hp adds every 2 seconds and mana every second.
1000 = 1 second (so the time is in milliseconds).
 
Add this, be sure to remove the old part.

LUA:
	<item id="2640" article="a" name="pair of soft boots">
		<attribute key="weight" value="800"/>
		<attribute key="slotType" value="feet"/>
		<attribute key="decayTo" value="10021"/>
		<attribute key="transformDeEquipTo" value="6132"/>
		<attribute key="duration" value="14400"/>
		<attribute key="healthGain" value="15"/>
		<attribute key="healthTicks" value="2000"/>
		<attribute key="manaGain" value="25"/>
		<attribute key="manaTicks" value="1000"/>
		<attribute key="showduration" value="1"/>
</item>
 
use notepad++ for edit files (.xml/.php/.lua) and your dont will get error from Load items or another files from open tibia server or another games :)
 
it works now thanks alot dude.Can u tell me how i make the firewalker boots +haste 30 lvls..and do you know the name of the npc that repair firewalker boots ?
 
Back
Top