mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-09 12:46:10 -05:00
Special damages: Ink Storm
This commit is contained in:
@@ -1770,7 +1770,8 @@
|
||||
"Low": 480,
|
||||
"Mid": 540
|
||||
}
|
||||
}
|
||||
},
|
||||
"TickDamage": 4
|
||||
},
|
||||
"6": {
|
||||
"overwrites": {
|
||||
|
||||
@@ -80,7 +80,7 @@ export const objectDamageJsonKeyPriority: Record<
|
||||
Geyser: null,
|
||||
GoldenIkuraAttack: null,
|
||||
InkStormRain: null,
|
||||
InkStorm: null,
|
||||
InkStorm: ["SPECIAL_TICK"],
|
||||
Jetpack_BombCore: ["BOMB_DIRECT"],
|
||||
Jetpack_Bullet: ["BOMB_NORMAL"],
|
||||
Jetpack_Coop: null,
|
||||
|
||||
@@ -464,6 +464,7 @@ function parametersToSpecialWeaponResult(params: any) {
|
||||
const isCrabTank = () => !!params["CannonParam"];
|
||||
const isKraken = () => !!params["BodyParam"]?.["DamageJumpValue"];
|
||||
const isInkjet = () => !!params["JetParam"];
|
||||
const isInkStorm = () => !!params["CloudParam"];
|
||||
const isBooyahBomb = () =>
|
||||
params["BlastParam"]?.["$type"] === "spl__BulletSpNiceBallBlastParam";
|
||||
|
||||
@@ -512,6 +513,12 @@ function parametersToSpecialWeaponResult(params: any) {
|
||||
return 33;
|
||||
};
|
||||
|
||||
const InkStormTickDamage = () => {
|
||||
if (!isInkStorm()) return;
|
||||
|
||||
return 4;
|
||||
};
|
||||
|
||||
return {
|
||||
ArmorHP: params["WeaponSpChariotParam"]?.["ArmorHP"],
|
||||
overwrites: resultUnwrapped,
|
||||
@@ -544,6 +551,7 @@ function parametersToSpecialWeaponResult(params: any) {
|
||||
JumpDamage: params["BodyParam"]?.["DamageJumpValue"],
|
||||
TickDamage:
|
||||
BooyahBombTickDamage() ??
|
||||
InkStormTickDamage() ??
|
||||
params["spl__BulletSpMicroLaserBitParam"]?.["LaserParam"]?.[
|
||||
"LaserDamage"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user