Skip to content

Commit

Permalink
add hard crowd control high scores
Browse files Browse the repository at this point in the history
  • Loading branch information
Drevarr committed Nov 21, 2024
1 parent eddbd7c commit b513b79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@
"invulnedCount",
"boonStrips",
"condiCleanse",
"receivedCrowdControl",
]
4 changes: 3 additions & 1 deletion output_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,9 @@ def build_high_scores_tid(high_scores: dict, skill_data: dict, buff_data: dict,
"support_condiCleanse": "Cleanses per Second",
"support_boonStrips": "Strips per Second",
"extHealingStats_Healing": "Healing per Second",
"extBarrierStats_Barrier": "Barrier per Second"
"extBarrierStats_Barrier": "Barrier per Second",
"statTarget_appliedCrowdControl": "Crowd Control-Out per Second",
"defenses_receivedCrowdControl": "Crowd Control-In per Second",
}

# Initialize the HTML components
Expand Down
2 changes: 1 addition & 1 deletion parser_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def sum_breakpoints(breakpoints):

def get_player_stats_targets(statsTargets: dict, name: str, profession: str, fight_num: int, fight_time: int) -> None:
fight_stat_value= 0
fight_stats = ["killed", "downed", "downContribution"]
fight_stats = ["killed", "downed", "downContribution", "appliedCrowdControl"]
for stat in fight_stats:
for target in statsTargets:
if target[0]:
Expand Down

0 comments on commit b513b79

Please sign in to comment.