mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-27 13:47:56 -05:00
Add Super Chump as receiver to object dmg calc Closes #1396
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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>> = {
|
||||
|
||||
Reference in New Issue
Block a user