false-spring / gbfr-logs

GBFR Logs lets you track damage statistics with a nice overlay DPS meter for Granblue Fantasy: Relink.
MIT License
213 stars 24 forks source link

fix: Use applied stun value for tracking #159

Closed false-spring closed 4 months ago

false-spring commented 4 months ago

Instead of calculating stun by taking the would-be stun damage * stun modifier from the player data, this will track the actual amount that was applied to the enemy. This does have a side-effect of only tracking "applicable" stun, so stun will not be tracked if it is not applied (cooldown, lockout)

This also removes the requirement of requiring player data to be available for calculating the stun modifier, since now we just use the final stun value result from what was applied.

I've noticed with Rosetta's plants do apply stun, but since their attack speed is too slow, their applied stun dissipates quickly on Sir Barrold.

Fixes #157.