Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicDungeons MythicDungeons
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 83
    • Issues 83
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicDungeonsMythicDungeons
  • Issues
  • #178

Closed
Open
Created Dec 09, 2022 by Complex@Complex

[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.

Edited Dec 09, 2022 by Complex
Assignee
Assign to
Statistics Update
Milestone
Statistics Update
Assign milestone
Time tracking