• 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 Loss experience at death HELP

Friizee

Member
Joined
Jul 26, 2008
Messages
193
Reaction score
5
Hi Otleaders,

I need to know where to change the experience that a player loses at death,

the idea is that a player if it dies down 3 lvl at lvl 200

someone can help me

regards!
 
You can change the experiance loss in config.lua

Code:
	-- Battle
	-- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.
	-- loginProtectionPeriod is the famous Tibia anti-magebomb system.
	-- deathLostPercent set to nil enables manual mode.
	worldType = "pvp"
	protectionLevel = 10000
	pvpTileIgnoreLevelAndVocationProtection = true
	pzLocked = 6 * 100
	huntingDuration = 60 * 1
	criticalHitChance = 25
	criticalHitMultiplier = 1.1
	displayCriticalHitNotify = true
	removeWeaponAmmunition = false
	removeWeaponCharges = false
	removeRuneCharges = false
	whiteSkullTime = 15 * 60
	noDamageToSameLookfeet = false
	showHealingDamage = true
	showHealingDamageForMonsters = false
	fieldOwnershipDuration = 5 * 1000
	stopAttackingAtExit = false
	oldConditionAccuracy = false
	loginProtectionPeriod = 10 * 1000
	[COLOR="#FF0000"]deathLostPercent = 10[/COLOR]
	stairhopDelay = 2 * 1000
	pushCreatureDelay = 2 * 1000
	deathContainerId = 1987
	gainExperienceColor = 155
	addManaSpentInPvPZone = true
	squareColor = 0
	allowFightback = true

Just change it to whatever you want to.

And change
Code:
loss_experience
in phpmyadmin also.
 
Remember that if you have blessings or promotion this can cause players to get lvl 1 when they die. If you set the standard experience lost to 1% with blessings it'll be -4% exp lost at death.
 
Back
Top