Add Super Chump as receiver to object dmg calc Closes #1396

This commit is contained in:
Kalle
2024-07-21 11:34:52 +03:00
parent 1d607d2f62
commit ffbe7cb5fa
3 changed files with 5 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ export const DAMAGE_RECEIVERS = [
"GreatBarrier_Barrier", // Big Bubbler Shield
"GreatBarrier_WeakPoint", // Big Bubbler Weak Point
"BlowerInhale", // Ink Vac Inhale
"Firework", // Super Chump
"Gachihoko_Barrier", // Rainmaker Shield
"Wsb_Flag", // Squid Beakon
"Wsb_Shield", // Splash Wall

View File

@@ -24,6 +24,7 @@ const BOOYAH_BOMB_ARMOR_HP = 470;
const INK_VAC_HP = 800;
const BEAKON_HP = 120;
const TORPEDO_HP = 20;
const SUPER_CHUMP_HP = 60;
export const objectHitPoints = (abilityPoints: AbilityPoints): HitPoints => {
const Wsb_Shield = subStats({
@@ -69,5 +70,6 @@ export const objectHitPoints = (abilityPoints: AbilityPoints): HitPoints => {
ShockSonar: WAVE_BREAKER_HP,
Wsb_Flag: BEAKON_HP,
Wsb_Sprinkler: SPRINKLER_HP,
Firework: SUPER_CHUMP_HP,
};
};

View File

@@ -22,6 +22,7 @@ import {
TORPEDO_ID,
WAVE_BREAKER_ID,
} from "~/modules/in-game-lists";
import { SUPER_CHUMP_ID } from "~/modules/in-game-lists/weapon-ids";
import { damageTypeTranslationString } from "~/utils/i18next";
import type { SendouRouteHandle } from "~/utils/remix";
import {
@@ -207,6 +208,7 @@ const damageReceiverImages: Record<DamageReceiver, string> = {
BulletUmbrellaCanopyWide: mainWeaponImageUrl(6010),
BulletUmbrellaCanopyCompact: mainWeaponImageUrl(6020),
BulletShelterCanopyFocus: mainWeaponImageUrl(6030),
Firework: specialWeaponImageUrl(SUPER_CHUMP_ID),
};
const damageReceiverAp: Partial<Record<DamageReceiver, JSX.Element>> = {