Commit Graph

116 Commits

Author SHA1 Message Date
Kalle
bf85ca82a0 Obj DMG Calc: More accurate Explosher damage 2022-12-10 20:08:41 +02:00
Kalle
21cfd958d8 Tri-Stringer correct damage 2022-12-10 19:58:17 +02:00
Kalle
2ba9f62d41 Obj DMG Calc: special cases calculation data driven 2022-12-10 19:45:42 +02:00
Kalle
3caecef855 Obj DMG Calc: Support calculating multishot 2022-12-10 16:17:43 +02:00
Kalle
602e545831 Build Analyzer: Add stringers damage 2022-12-08 23:48:49 +02:00
Kalle
4813d0a042 Object DMG Calc: Splatana support 2022-12-08 21:29:51 +02:00
Kalle
d8b1b5a367 Obj Calc: WIP Splatana 2022-12-08 01:25:02 +02:00
Kalle
ce3eda3545 Build Analyzer: Splatana damages 2022-12-08 00:51:34 +02:00
William Lam
94ddd3031b
Ability chunk calculation now properly takes Ability Doubler into account (#1186)
* Issue 1180: ability chunk section now properly ignores Ability Doubler in its calculations
- Build Analyzer also no longer shows Ability Doubler as an Ability Chunk entry, nor does it show the Ability Chunks accordion if Ability Doubler is the only selected ability in the build

* Prettier formatting

* Now handles edge case for subabilities on Clothing gear with Ability Doubler
2022-12-07 19:07:29 +02:00
Kalle
ec2133b9c8 Analyzer: Fix Splattershot Pro negative run speed
Closes #1176
2022-12-06 15:34:00 +02:00
Kalle
a9701f874f Analyzer: Add sub weapon ink consumption stat 2022-12-05 16:17:26 +02:00
Kalle
6908fa10a0 Build Analyzer: Fix untranslated weight class 2022-12-03 02:29:28 +02:00
Kalle
0affb028a0 Build Analyzer: Big ink tank to CJR 2022-12-03 02:09:18 +02:00
Kalle
938a208698 Fix CI 2022-11-30 22:29:23 +02:00
Kalle
ffc92bdbce Chill Season 2022 update (2.0) 2022-11-30 22:24:56 +02:00
William Lam
2da0738dc6
Ability Chunks Required section in Build Analyzer (#1120)
* Added Ability Chunks Required section in Build Analyzer

* Renamed a variable to be more precisely correct

* Added reference

* Removed some extra Javadoc comments

* Prettier fix

* We now only render the AbilityChunksRequired section only if the main abilities array contains a value other than "UNKNOWN"

* Improved React keys naming for performance reasons

* Ability Chunks map is now converted to an array & sorted by value (descending) before it gets rendered as visual components

* Fixed typing error

* Moved logical function to a new file in the analyzer module called abilityChunksCalc.ts
- Refactored for loop content to be cleaner
- Removed & changed some comments

* More for loop refactoring

* We now pass the entire build into abilityChunksCalc.ts

* Refactored map() to flatMap() so we avoid unknowns/null/undefined

* Refactored code to process mainAbilities and subAbilities

* Fixed subability list construction logic & typing in updateAbilityChunksMap()

* Got my first unit test working

* Added working unit tests, also changed sort order slightly

* Added a "real" build for testing

* Removed residual console.warn() call

* Moved constants to abilityChunksCalc.ts

* Ability chunk calculation is now correct for sub abilities

* Uncommented tests & improved their descriptions

* Rearranged expected output to match sorted order for clarity (even though it doesn't have to be)

* Fixed Prettier error

* Spacing

* Moved comments around

* More spacing

* Prettier error on test file

* Improved check in the tests

* Added a second "real" build to tests for good measure

* Added error message to empty array test

* Updated comments again

* More comments updated

* Update test name

* Ability Chunks section is now shown if we have at least one selected ability (handles edge case for primary slot-only abilities being the only chosen ability)
2022-11-16 00:10:48 +02:00
Kalle
60a0495b9d Support for blob 4 shots in analyzer
+ fixed L-3 showing curling damage in multiples.
+ fixed "1 hit" typoed to "1 hits"

Closes #1065
2022-10-29 21:04:34 +03:00
Kalle
7af8e7a9db Add slosher class weapons damages 2022-10-29 20:36:48 +03:00
Kalle
bfc3cbfc87 Fix Hydra wrong dmg multipliers
Closes #1055
2022-10-29 12:42:40 +03:00
Kalle
29896aa76c Add Hydra Splatling shots to pop RM test 2022-10-27 20:29:44 +03:00
Kalle
6bacfe9717 Add Hydra full charge to prioritized damage types 2022-10-27 17:59:58 +03:00
Kalle
41120088e0 Add Hydra fully charged shot damage to analyzer
Closes #1046
2022-10-27 09:27:12 +03:00
Kalle
672fa07152 Update Build Analyzer to patch 1.2.0 2022-10-27 09:14:02 +03:00
Kalle
b4762d6455 Fix crash when no damage data on obj dmg calc 2022-10-26 17:29:32 +03:00
Kalle
6e43b6bbd3 Add tests and fix damage calculation of some wpns 2022-10-26 08:42:04 +03:00
Kalle
292e3c2759 More relevant damage receivers order 2022-10-25 00:19:30 +03:00
Kalle
6eea2edb7b Add splatted by RP user stat to analyzer (ss) 2022-10-24 19:32:53 +03:00
Kalle
12bd09cb14 Add splatted by RP user stat to analyzer 2022-10-24 19:24:26 +03:00
Kalle
6f1a4935a9 Add object shredder to damage table 2022-10-23 22:36:04 +03:00
Kalle
c918aafb9d Add remaining hitpoint values 2022-10-23 15:05:20 +03:00
Kalle
d487af683a Object damage filter by damage type 2022-10-23 12:50:25 +03:00
Kalle
14f7507e2c Make damage use rounding that matches data struct 2022-10-23 12:01:05 +03:00
Kalle
86a5e9ee2a Objective damage table change SPU/BRU 2022-10-23 11:59:03 +03:00
Kalle
cca225c780 Remove calculations from component code 2022-10-23 11:13:02 +03:00
Kalle
430d347f79 Add damages from Lean 2022-10-23 10:39:23 +03:00
Kalle
b448c19b71 Object damages with calculation 2022-10-22 16:43:31 +03:00
Kalle
89c388e1c3 Fix hp showed wrong for Crab Tank/brellas 2022-10-22 12:08:20 +03:00
Kalle
63a80c8ecd Object damage hitpoints initial 2022-10-22 11:43:19 +03:00
Kalle
dc5fc84c83 Option to get wpn damage multiplier from all keys 2022-10-19 23:34:14 +03:00
Kalle
586c27eaa7 Object damage calculator page initial 2022-10-18 01:12:52 +03:00
Kalle
e36e213793 Fix analyzer respawn time
Closes #1006
2022-10-14 23:40:19 +03:00
Kalle
16ad28d617 Run speed while shooting stats
Closes #963
2022-10-02 21:14:56 +03:00
Kalle
cb369985c8 Build analyzer don't scroll to top on build change
Closes #952
2022-09-25 14:24:18 +03:00
Kalle
494e5af5f7 Builds index page initial 2022-09-25 00:29:49 +03:00
Kalle
3333d4486f Consider Splattershot Jr's big tank in analyzer
Closes #965
2022-09-24 09:47:32 +03:00
Kalle
ebe1d6deea Fix Big Bubbler HP 2022-09-24 09:12:07 +03:00
Kalle
be0b4ebc29 Fix hard coded sub save lvl Closes #953 2022-09-22 23:47:44 +03:00
Kalle
8a8e3c344a Fix @ts-expect-error with weaponParams 2022-09-21 17:37:30 +03:00
Kalle
829e564eb6 Add BRU Beakon effect 2022-09-21 00:17:59 +03:00
Kalle
03a3eec318 Hard code missing SubInkSaveLv and InkConsume 2022-09-20 23:56:01 +03:00