• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

GOOD SYSTEM STAMINA AND BLESSING

Marcelo Garcia

New Member
Joined
Nov 25, 2014
Messages
14
Reaction score
0
i need help with a blessing system, i would like a bless system of stamina.
ex: player A has 48 hours of stamina if he get killed by a monster he stays with the 48 hours of stamina, but if he get killed by another player he lose 24 hours of stamina, and if he get killed again by a player, he lose another 24 hours of stamina (remaining hours 0), and if he get killed again by another player he starts to lose 1% of levels each dead without stamina (killed by players only)

so to avoid losing levels the player A will have to say !stamina and 24 hours of stamina will be added, the cost of 24 hours of stamina is 10,000 gps, thats to balance economy.
 
Sounds easy to make, but you need to edit sources for this to work, unless you put the lose percent in 0 and re-make the entire thing in LUA.

Pd: Read the request rules thread.
 
all he has to do is edit max stamina to 72 hours....then remove the stamina loss/gain in config.lua
Then the when you make the scripts its edited in minutes so 24 hours is like 1240 or something like that..
 
Back
Top