• 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 How to Change The Exhausted

Okey first of all, in config.lua you can change Actions and ExActions.
(The lower you put it the less time it is between actions)
This is default:
Code:
[COLOR="Red"]timeBetweenActions = 200
timeBetweenExActions = 1000[/COLOR]
To change Spell Exhausts go to Data/spells/spells.xml and change the line with
Code:
exhaustion="xxxx"
to whatever you would like, 2000 is default for most of the spells.
For example it may look like this:
Code:
<instant name="Death Strike" words="exori mort" lvl="16" mana="20" prem="0" range="3" casterTargetOrDirection="1" blockwalls="1" [COLOR="Navy"][B][U]exhaustion="2000"[/U][/B][/COLOR] needlearn="0" event="script" value="attack/death strike.lua">
		<vocation id="1"/>
		<vocation id="2"/>
		<vocation id="5"/>
		<vocation id="6"/>
	</instant>
Then change
Code:
[COLOR="Navy"][B][U]exhaustion="2000"[/U][/B][/COLOR]
to whatever you like. :)
To change the mana/hp reg go to Data/xml/vocations.xml
There you can see each vocations manareg and stuff.
Every vocation has got a
Code:
[COLOR="Red"][B]gainhpamount="xx"[/B][/COLOR]
and
Code:
[COLOR="Magenta"][B]gainmanaamount="xx"[/B][/COLOR]
Change those to how much mana you wanna gain each tick.

To change how often they are going to tick then edit:
Code:
[COLOR="Red"][B]gainhpticks="x"[/B][/COLOR]
and
Code:
[COLOR="Magenta"][B]gainmanaticks="x"[/B][/COLOR]
to whatever you like, 1= 1 second per tick 2= 2 seconds per tick and so on.
Each vocation has their own default :P I prefer using default and just change the amount gained.
Be aware NOT to change
Code:
[U][COLOR="DarkRed"]gainhp="5" gainmana="30"[/COLOR][/U]
Those lines will change the mana and hp gained each level :P

Rep++ if this helped you ;)
 
Last edited:
Back
Top