Commit Graph

66 Commits

Author SHA1 Message Date
Kalle
cfbd18b4fe Object Damage Calc: Separate subs in the combobox Closes #1220
Also due to a bug the subs were not accessible at all before.
This was a bug introduced in c014ba5e18
2023-04-15 12:06:07 +03:00
Kalle
c014ba5e18
Sub damage table in Build Analyzer (#1333)
* Sub weapon damage table initial

* Remove duplicate stats

* Tiny sub weapon icons

* Border-collapse collapse

* Move func location

* Varying sub damage support

* Calculates damages of various bombs

* Burst bomb direct damage

* Fizzy dmg

* Curling bomb explosion values

* Don't show comparison column if no SRU

* Torpedo

* Add note about Splash Wall and Sprinkler

* Fix comment
2023-04-10 11:46:04 +03:00
Kalle
5b94ced4ef Fix typos 2023-04-07 12:44:03 +03:00
Kalle
d4ffd8f35b Build Analyzer: Compare in ink consumption table 2023-01-28 19:43:05 +02:00
Kalle
27cb5be472 Build Analyzer: Create new build prompt 2023-01-28 15:31:07 +02:00
Kalle
f48c49aaa5 Build Analyzer: AP comparing 2023-01-21 12:10:40 +02:00
Kalle
ad1a8b5b2e Build Analyzer: Comparison initial 2023-01-20 21:57:11 +02:00
Kalle
a60901e59b Build Analyzer: New weapon "info cards" style 2023-01-18 01:04:33 +02:00
Kalle
4dfaf07655 Build Analyzer: RM swim speed stat 2022-12-28 23:45:38 +02:00
Kalle
ffe8ab3883 Build Analyzer: Add humanoid form ink recovery 2022-12-23 18:17:25 +02:00
Kalle
914a3eae36 Obj DMG Calc: different explanation separator 2022-12-10 19:47:16 +02:00
Kalle
ce3eda3545 Build Analyzer: Splatana damages 2022-12-08 00:51:34 +02:00
Kalle
a9701f874f Analyzer: Add sub weapon ink consumption stat 2022-12-05 16:17:26 +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
Igor
327df35380
Disable double torpedos in analyzer (#1058)
* Note about torpedo

* no magic numbers -> constant
2022-10-29 10:17:27 +03:00
Kalle
e6c25967e9 Analyzer add link to Obj DMG page when OS selected
Closes #1039
2022-10-27 09:43:56 +03:00
Kalle
41120088e0 Add Hydra fully charged shot damage to analyzer
Closes #1046
2022-10-27 09:27:12 +03:00
Kalle
b4762d6455 Fix crash when no damage data on obj dmg calc 2022-10-26 17:29:32 +03:00
Kalle
2ab4acde77 Object damage acronyms explanation 2022-10-25 17:40:43 +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
1671653839 Objective damage calc i18n 2022-10-24 00:25:16 +03:00
Kalle
16ad28d617 Run speed while shooting stats
Closes #963
2022-10-02 21:14:56 +03:00
Kalle
829e564eb6 Add BRU Beakon effect 2022-09-21 00:17:59 +03:00
Kalle
18a7f7edae Add Squid Surge IA effect 2022-09-20 23:42:01 +03:00
Kalle
37738ad8e5 Add Tacticooler effect 2022-09-19 23:36:40 +03:00
Kalle
d5ddc97e7c Ink Vac SPU effect 2022-09-19 20:27:48 +03:00
Kalle
059d738340 Wave Breaker SPU effect 2022-09-19 17:58:38 +03:00
Kalle
5b64515976 Booyah Bomb SPU effect 2022-09-18 21:26:59 +03:00
Kalle
2be14cda3b Ink Storm SPU effect 2022-09-18 21:14:47 +03:00
Kalle
cabdbd1da4 Tenta Missiles SPU effect 2022-09-18 21:14:47 +03:00
Kalle
502240ad23 Zipcaster SPU effects 2022-09-18 21:14:47 +03:00
Kalle
6ef1b0c55b Big Bubbler SPU effects 2022-09-18 21:14:47 +03:00
Kalle
64d2a64b5f Trizooka paint and damage radius effect 2022-09-18 21:14:47 +03:00
Kalle
34a77b6506 Special duration stat 2022-09-18 21:14:47 +03:00
Kalle
bb9eb2be31 More descriptive jump RNG reduction stat 2022-09-18 21:14:47 +03:00
Kalle
de3a7995b2 Add popover and explain IA jump RNG reduce 2022-09-18 21:14:47 +03:00
Kalle
b601c0421c IA jump RNG reduction effect 2022-09-18 21:14:47 +03:00
Kalle
8539205f71 Bomb Heavy/Light damage 2022-09-18 21:14:47 +03:00
Kalle
1f26fe68bf Add bomb def damage reduction stats 2022-09-17 18:19:38 +03:00
Kalle
5d9a3ea13c Angle Shooter tracking defense stat + explanation 2022-09-17 17:20:35 +03:00
Kalle
bdaa18b3a2 Sub defense stats for Point Sensor and Ink Mine 2022-09-17 17:09:46 +03:00
Kalle
4b128c59a6 BRU effects for analyzer 2022-09-17 12:58:43 +03:00
Kalle
e57f1d63c1 EffectsSelector with LDE dropdown 2022-09-16 20:19:43 +03:00
Kalle
4184eda385 Add ability points to analyzer 2022-09-16 19:14:25 +03:00
Kalle
4b9ab64647 Main weapon white ink stats 2022-09-15 20:03:42 +03:00
Kalle
a5e13218f4 Charge charging params 2022-09-15 19:32:33 +03:00
Kalle
f2fc3492e5 Analyzer Ink Resistance 2022-09-15 18:21:50 +03:00