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

Death lose percent

sure, not sure if it has the function in config.lua... if doesnt, follow this steps:

go to the DB of your ot, http://127.0.0.1/phpmyadmin

log in and enter in ur DB table

go player > structure

set loss_experience, loss_mana and loss_skills to 3 as default

if you already have players and stuff and you want to make sure their exp loss did change, make this query:
UPDATE players SET loss_experience = 3;

rep++ if helpt, post if u dont understand something o.o
 
Hmmm... I think that i config.lua should be a line "deathLostPercent = XX" maybe only in the newest ; ) Not sure
Only in 0.3.1pl2

You can replace your login.lua with:
PHP:
function onLogin(cid)
		for i = PLAYERLOSS_EXPERIENCE, PLAYERLOSS_ITEMS do
			doPlayerSetLossPercent(cid, i, 3)
		end

	registerCreatureEvent(cid, "PlayerDeath")
	return TRUE
end
But I don't know is there doPlayerSetLossPercent function :/
 
Where i can set players lose experience when have blessing becouse players on my ots when have promotion and 5 blessing lose only 1% ;(
 
Back
Top