The-Fireplace-Minecraft-Mods / Clans

A Minecraft land protection and PVP mod
https://www.curseforge.com/minecraft/mc-mods/clans
GNU General Public License v3.0
5 stars 10 forks source link

Custom balance system for raids #232

Open mcqwy opened 4 years ago

mcqwy commented 4 years ago

Hello, recently I found that many old players often raid new players to get rewards. Because a lot of MODS have been added. It will lead to a big gap between old players and new players. Can you customize a ranking like feature by adding another currency? For example, a new currency name is added: integral By judging the "integral" value gap of each player, we can determine whether we can raid. For example:

  1. When the average value of "integral" of the raiding team is 1000, it is impossible to attack the town whose average value of "integral" of defense team is less than 500.
  2. When forming a raid team, the difference between player a's "integral" value and player B's "integral" value should not be more than 500, otherwise, they can't enter the raid team.
  3. At the end of each raid, deduct a certain "integral" value for all players of the failed party, And add some "integral" values to the successful party. 4.Of course, if some people don't like balance. You can add it to the configuration file to decide whether to turn it on or not. 5.If you think my idea is good and decide to implement it in your code. Then I hope you can provide an API interface. At the end of the raid, I can use your public method to obtain the "list < string > A;"list of successful players,player name list of failed players and "list < string > b;" . 6.For example: at the end of the raid, when the gap is within 200, you can add 100 to the successful party. When the gap is 300, the successful party will increase the value of 80. When the gap is 400, it will increase the value of 50 to the successful party.

Statement: This is just a suggestion for me. If you don't agree with some ideas, you don't need to implement them