Jump to content
  • 0

I want Max Level character to lose exp


Question

5 answers to this question

Recommended Posts

  • 0
Posted
OnPCDieEvent:
sleep2 1000; //not sure if the config happend immediatly
if(!BaseExp)
set BaseLevel,BaseLevel- 1;
if(!JobExp)
set JobLevel,JobLevel - 1;
end;

I think that this config only reduces the exp, but not the level. For this I think you need to create a script for that. Look above for example. Not sure if that will work tho xD.

Regards,

Chris

 

  • 0
Posted
On 4/27/2019 at 12:53 AM, nasagnilac said:

I tried setting this config death_penalty_maxlv to 1 but nothing happens when I died. It should deduct an exp and level down the character.

what do you mean by nothing happen ?

did you check the exp number before and after death ?

at max level there is exp still , so it's not like as soon as they die will loss a level

  • 0
Posted

Yes.. there is an exp but its not deducted.
 

// When a player dies, how should we penalize them?
// 0 = No penalty.
// 1 = Lose % of current level when killed.
// 2 = Lose % of total experience when killed.
death_penalty_type: 1
 
// Base exp. penalty rate (Each 100 is 1% of their exp)
death_penalty_base: 200
 
// Job exp. penalty rate (Each 100 is 1% of their exp)
death_penalty_job: 200
 
// When a player dies (to another player), how much zeny should we penalize them with?
// NOTE: It is a percentage of their zeny, so 100 = 1%
zeny_penalty: 0
 
// Will players on max base/job level lose the EXP on death?
// 0: Never lose (default as in official).
// 1: Lose Base EXP.
// 2: Lose Job EXP.
death_penalty_maxlv: 1
  • 0
Posted

You would need to implement a level down mechanism for that. That's pretty tough to do as you'd also have to reward the stat points. That means you will need to remember where the character put them last (unless you want this to result in a full stat reset). Would probably require quite some coding.

I assume you mainly want the insurance to function as money sink.

But you could have a similar effect by selling long-lasting food items. They give some bonus stats but expire on death. So it's kind of similar to downleveling, as you lose stats on death. And since they are sold, players can invest zeny to get the boost back. That's an easier alternative.

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...