mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-24 23:19:39 -05:00
Special damages: Inkjet
This commit is contained in:
parent
112fc68a3e
commit
eb70b3fc7d
|
|
@ -1870,7 +1870,8 @@
|
|||
"Damage": 300,
|
||||
"Distance": 5
|
||||
}
|
||||
]
|
||||
],
|
||||
"DirectDamage": 1200
|
||||
},
|
||||
"11": {
|
||||
"overwrites": {
|
||||
|
|
|
|||
|
|
@ -81,8 +81,8 @@ export const objectDamageJsonKeyPriority: Record<
|
|||
GoldenIkuraAttack: null,
|
||||
InkStormRain: null,
|
||||
InkStorm: null,
|
||||
Jetpack_BombCore: null,
|
||||
Jetpack_Bullet: null,
|
||||
Jetpack_BombCore: ["BOMB_DIRECT"],
|
||||
Jetpack_Bullet: ["BOMB_NORMAL"],
|
||||
Jetpack_Coop: null,
|
||||
Jetpack_Jet: null,
|
||||
Maneuver_Short: null,
|
||||
|
|
|
|||
|
|
@ -463,6 +463,7 @@ function parametersToSpecialWeaponResult(params: any) {
|
|||
const isUltraStamp = () => !!params["SwingBigBlastParam"];
|
||||
const isCrabTank = () => !!params["CannonParam"];
|
||||
const isKraken = () => !!params["BodyParam"]?.["DamageJumpValue"];
|
||||
const isInkjet = () => !!params["JetParam"];
|
||||
|
||||
const SwingDamage = () => {
|
||||
if (!isUltraStamp()) return;
|
||||
|
|
@ -497,6 +498,12 @@ function parametersToSpecialWeaponResult(params: any) {
|
|||
return 1200;
|
||||
};
|
||||
|
||||
const InkjetDirectDamage = () => {
|
||||
if (!isInkjet()) return;
|
||||
|
||||
return 1200;
|
||||
};
|
||||
|
||||
return {
|
||||
ArmorHP: params["WeaponSpChariotParam"]?.["ArmorHP"],
|
||||
overwrites: resultUnwrapped,
|
||||
|
|
@ -514,7 +521,8 @@ function parametersToSpecialWeaponResult(params: any) {
|
|||
params["spl__BulletSpMicroLaserBitParam"]?.["LaserParam"]?.[
|
||||
"LaserDamage"
|
||||
] ??
|
||||
KrakenDirectDamage(),
|
||||
KrakenDirectDamage() ??
|
||||
InkjetDirectDamage(),
|
||||
WaveDamage:
|
||||
params["spl__BulletSpShockSonarParam"]?.["WaveParam"]?.["Damage"],
|
||||
ExhaleBlastParamMinChargeDistanceDamage:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user