Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Minion stats values #7253

Merged
merged 7 commits into from Jan 20, 2024
Merged

Fix Minion stats values #7253

merged 7 commits into from Jan 20, 2024

Conversation

LocalIdentity
Copy link
Contributor

@LocalIdentity LocalIdentity commented Jan 16, 2024

We were using the incorrect column in DefaultMonsterStats
The damage difference is ~20% less at level 70 vs the default monster damage table.

I'm not sure if this should apply to Spectre skills so will need to confirm with GGG
edit: applies to all monsters with the IsPlayerMinion tag in MonsterTypes.dat

Damage now lines up with the SRS damage from this spreadsheet https://docs.google.com/spreadsheets/d/1mhh3rQ54_CsRPC37PLqlr_XPIlhy26HP7PjFHSJbUco/edit?usp=sharing

edit 1:
Fixes the handling of the damageFixup stat on minions
Adds support for minons to use the alternate life tables
Add support for handling the baseDamageIgnoresAttackSpeed on some minions

edit2:
Fixes the calculation of Minion armour and evasion base values+
Fix minion accuracy calculations
Use game constants for the damage effectiveness calcs

src/Data/Misc.lua Outdated Show resolved Hide resolved
src/Modules/CalcActiveSkill.lua Outdated Show resolved Hide resolved
LocalIdentity added 2 commits January 19, 2024 23:54
We were using the incorrect column in DefaultMonsterStats
The damage difference is ~20% less at level 70 vs the default monster damage table.

I'm not sure if this should apply to Spectre skills so will need to confirm with GGG

Damage now lines up with the SRS damage from this spreadsheet https://docs.google.com/spreadsheets/d/1mhh3rQ54_CsRPC37PLqlr_XPIlhy26HP7PjFHSJbUco/edit?usp=sharing
Adds support for minons to use the alternate life tables
Fixes the handling of the DamageFixup stat
Add support for handling the baseDamageIgnoresAttackSpeed on some minions
LocalIdentity added 4 commits January 20, 2024 06:37
Evasion and Armour values were quite wrong with the previous formula
Could technically change the evasion formula to be 100% correct but I believe it's better just just use the look up table and be 99.5% correct and be a bit more performant
Not 100% sure on the Accuracy table though and need to check with Openarl
@sida-wang
Copy link
Contributor

Damage fixup implemented in #7268

* Fix Base minion Attack damage values

We were using the incorrect column in DefaultMonsterStats
The damage difference is ~20% less at level 70 vs the default monster damage table.

I'm not sure if this should apply to Spectre skills so will need to confirm with GGG

Damage now lines up with the SRS damage from this spreadsheet https://docs.google.com/spreadsheets/d/1mhh3rQ54_CsRPC37PLqlr_XPIlhy26HP7PjFHSJbUco/edit?usp=sharing

* Support new life tables / fixup multi / base damage flag

Adds support for minons to use the alternate life tables
Fixes the handling of the DamageFixup stat
Add support for handling the baseDamageIgnoresAttackSpeed on some minions

* fix: implement damage fixup as skill mods

---------

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
@LocalIdentity LocalIdentity changed the title Fix Base Minion Attack damage values Fix Minion stats values Jan 20, 2024
@LocalIdentity LocalIdentity merged commit 453d87e into dev Jan 20, 2024
2 checks passed
@LocalIdentity LocalIdentity deleted the fix_minion-damage branch January 20, 2024 16:32
@sida-wang sida-wang mentioned this pull request Apr 8, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:calculation Numerical differences
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants