[Feature Request] Placeholders for Top Damagers
This is an addon suggestion to #37 (closed).
It would be great to have some placeholders for the top damages.
If I have player A who dealt 200 damage, player B who dealt 100 damage, and player C who dealt 50 damage:
- papi parse A %md_dungeon_top_damage_percentage% -> returns "0.57" (57%), as player A dealt 200/350 total damage in their party.
- papi parse A %md_dungeon_top_damage_[number]_username% -> when supplied number 2, would return username "B" as player B was in second place in terms of damage in player A's dungeon group.
- papi parse C %md_dungeon_top_damage_place% -> would return "3", as player C is in 3rd place of top damagers.
Now I understand these are very complex, but it would unlock a huge variety of possibilities. For instance, using MM and some math functions, you could use these placeholders to evenly distribute rewards to players, depending on how much damage they dealt; display different ending screens depending on what place/what percentage of damage a player dealt; display the active current top damagers during a dungeon on a scoreboard; and much more.