nasagnilac Posted April 26, 2019 Group: Members Topic Count: 89 Topics Per Day: 0.02 Content Count: 232 Reputation: 15 Joined: 11/02/13 Last Seen: December 19, 2024 Share Posted April 26, 2019 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. Quote Link to comment Share on other sites More sharing options...
0 llchrisll Posted May 2, 2019 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted May 2, 2019 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 Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted May 2, 2019 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 5 hours ago Share Posted May 2, 2019 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 Quote Link to comment Share on other sites More sharing options...
0 nasagnilac Posted May 2, 2019 Group: Members Topic Count: 89 Topics Per Day: 0.02 Content Count: 232 Reputation: 15 Joined: 11/02/13 Last Seen: December 19, 2024 Author Share Posted May 2, 2019 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 Quote Link to comment Share on other sites More sharing options...
0 nasagnilac Posted May 2, 2019 Group: Members Topic Count: 89 Topics Per Day: 0.02 Content Count: 232 Reputation: 15 Joined: 11/02/13 Last Seen: December 19, 2024 Author Share Posted May 2, 2019 I want to create a server where max level is still deducting exp and level down so that insurance item will be useful. Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted May 3, 2019 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: 10 hours ago Share Posted May 3, 2019 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. 1 Quote Link to comment Share on other sites More sharing options...
Question
nasagnilac
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.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.