• 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 [Vocations] Question!

Sweddy

Well-Known Member
Joined
Feb 14, 2009
Messages
2,907
Reaction score
93
Location
Sweden
Hello!

Well lets start.... In my server knights are little underpowered so i wanted to make so they get 1 more hp / lvl like this:

Code:
gainhp="15" gainmana="5"
To -->
Code:
gainhp="16" gainmana="5"

But The problem is that i dont wanna Reset Database, so how can i "update" the knights so they get this auto?
 
Execute this SQL query in phpMyAdmin:
SQL:
UPDATE `players` SET `health` = `level` * 16 + 57, `healthmax` = `level` * 16 + 57 WHERE `vocation` = 4 or `vocation` = 8;
 

Similar threads

Back
Top