Skip to content

Stat tracking updates#10

Open
crescendo-ss wants to merge 6 commits intogigamon-dev:masterfrom
crescendo-ss:stat-tracking
Open

Stat tracking updates#10
crescendo-ss wants to merge 6 commits intogigamon-dev:masterfrom
crescendo-ss:stat-tracking

Conversation

@crescendo-ss
Copy link
Copy Markdown
Contributor

@crescendo-ss crescendo-ss commented Mar 28, 2026

Updated tracking for what's considered recent damage:

  • RecentDamageTaken could discard damage prematurely, it didn’t account for future EMP freeze ticks preventing us from recovering an instance of damage
  • GetRecentDamageTaken() should now always represent all instances of damage that are the reason for a player's energy being below full health. If a player is at full health GetRecentDamageTaken() will return an empty list

Added impact of EMP bombs to damage dealt and taken stat accounting

  • Similar to CalculateDamageSources(), the recharge that's prevented by an EMP is counted as damage taken/dealt

Updated ForcedRepel counting and attribution

  • Current approach would award a full forced repel to all players contributing any amount (tiny or big) of damage to the repelling player. Instead, what we now do is calculate the fraction of damage that the player contributed and give them partial credit for the forced repel based on that
  • Since players now accumulate fractional forced repels, we display the FR stat to the nearest 0.5

@crescendo-ss
Copy link
Copy Markdown
Contributor Author

Updated after discussion with gigamonster offline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant