• 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 Fix for Adding Multiple HP/Skill/Mana Indexes for Different Vocations in znote aac?

Zuttlan

Member
Joined
Aug 8, 2007
Messages
96
Reaction score
6
I'd like to know how to add implement this as my server is ready to go beta, but I really need this fix and I've searched all over.

Would be very gracious for assistance.

IE (if you choose to create a knight it starts at lvl 175 and 293283 hp...if you choose to make a paladin you start at 170 with 20000 hp...druid 165 5000 hp..u know, such as that.


Sincerely;

Zutt
 
Just a simple method with arrays.... :p

engine/function/users.php
PHP:
$a = array(1 => '160', 2 => '165', 3 => '170', 4 => '175'); // level
$b = array(1 => '5000', 2 => '50000', 3 => '20000', 4 => '30000'); // health

'level' => $a[$character_data['vocation']],
'health' => $b[$character_data['vocation']],
'healthmax' $b[$character_data['vocation']],
 
Last edited:
Back
Top Bottom