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

loss skills

Lbtg

Advanced OT User
Joined
Nov 22, 2008
Messages
2,398
Reaction score
165
hello i got an problem , in databse i check loss skills is 1000 , i change it with command sql to change all accounts to loss skills 100 , but after player dies , hes loss skills resets again to loss skills 100.

how i can make that loss skills always stays 100 for all players ?
 
in creatureevents/scripts/login.lua


Code:
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 0)
	end
 
Back
Top