mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-22 15:09:16 -05:00
Add Glooga turret mode damage Closes #1371
This commit is contained in:
parent
7c7a8c4712
commit
7882fdfa5e
|
|
@ -4,9 +4,11 @@ import { type MainWeaponId } from "~/modules/in-game-lists";
|
|||
export const MAX_LDE_INTENSITY = 21;
|
||||
|
||||
export const DAMAGE_TYPE = [
|
||||
"NORMAL_MIN",
|
||||
"NORMAL_MAX",
|
||||
"TURRET_MAX",
|
||||
"TURRET_MIN",
|
||||
"NORMAL_MAX_FULL_CHARGE", // Hydra Splatling goes from 32 to 40 dmg when fully charged
|
||||
"NORMAL_MAX",
|
||||
"NORMAL_MIN",
|
||||
"DIRECT",
|
||||
"DIRECT_MIN",
|
||||
"DIRECT_MAX",
|
||||
|
|
@ -48,6 +50,8 @@ export const damageTypeToWeaponType: Record<
|
|||
> = {
|
||||
NORMAL_MIN: "MAIN",
|
||||
NORMAL_MAX: "MAIN",
|
||||
TURRET_MAX: "MAIN",
|
||||
TURRET_MIN: "MAIN",
|
||||
NORMAL_MAX_FULL_CHARGE: "MAIN",
|
||||
DIRECT: "MAIN",
|
||||
DIRECT_MIN: "MAIN",
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@ export interface MainWeaponParams {
|
|||
DamageParam_SplatanaVertical?: number;
|
||||
DamageParam_SplatanaHorizontalDirect?: number;
|
||||
DamageParam_SplatanaHorizontal?: number;
|
||||
DamageLapOverParam_ValueMax?: number;
|
||||
DamageLapOverParam_ValueMin?: number;
|
||||
BodyParam_Damage?: number;
|
||||
SwingUnitGroupParam_DamageParam_DamageMinValue?: number;
|
||||
SwingUnitGroupParam_DamageParam_DamageMaxValue?: number;
|
||||
|
|
|
|||
|
|
@ -398,6 +398,8 @@ const damageTypeToParamsKey: Record<
|
|||
NORMAL_MIN: "DamageParam_ValueMin",
|
||||
NORMAL_MAX: "DamageParam_ValueMax",
|
||||
NORMAL_MAX_FULL_CHARGE: "DamageParam_ValueFullChargeMax",
|
||||
TURRET_MAX: "DamageLapOverParam_ValueMax",
|
||||
TURRET_MIN: "DamageLapOverParam_ValueMin",
|
||||
DIRECT: "DamageParam_ValueDirect",
|
||||
DIRECT_MIN: "DamageParam_ValueDirectMin",
|
||||
DIRECT_MAX: "DamageParam_ValueDirectMax",
|
||||
|
|
|
|||
|
|
@ -1184,6 +1184,8 @@
|
|||
"MoveSpeed": 0.06,
|
||||
"DamageParam_ValueMax": 360,
|
||||
"DamageParam_ValueMin": 180,
|
||||
"DamageLapOverParam_ValueMax": 525,
|
||||
"DamageLapOverParam_ValueMin": 263,
|
||||
"Jump_DegSwerve": 8,
|
||||
"Stand_DegSwerve": 3.2,
|
||||
"InkConsume": 0.014,
|
||||
|
|
|
|||
|
|
@ -100,6 +100,8 @@ function validatedMultiShotFromSearchParams(searchParams: URLSearchParams) {
|
|||
}
|
||||
|
||||
export const damageTypePriorityList = [
|
||||
"TURRET_MAX",
|
||||
"TURRET_MIN",
|
||||
"DIRECT_MAX",
|
||||
"DIRECT",
|
||||
"DIRECT_MIN",
|
||||
|
|
|
|||
|
|
@ -122,6 +122,8 @@
|
|||
"damage.SPECIAL_BUMP": "Bump",
|
||||
"damage.SPECIAL_JUMP": "Jump",
|
||||
"damage.SPECIAL_TICK": "Tick",
|
||||
"damage.TURRET_MIN": "Turret (Minimum)",
|
||||
"damage.TURRET_MAX": "Turret (Maximum)",
|
||||
"suffix.seconds": "s",
|
||||
"suffix.hp": "hp",
|
||||
"suffix.specialPointsShort": "p",
|
||||
|
|
|
|||
|
|
@ -250,6 +250,9 @@ function parametersToMainWeaponResult(
|
|||
: undefined,
|
||||
DamageParam_ValueDirect,
|
||||
...slosherDirectDamage(),
|
||||
// Glooga turret mode damage
|
||||
DamageLapOverParam_ValueMax: params["DamageLapOverParam"]?.["ValueMax"],
|
||||
DamageLapOverParam_ValueMin: params["DamageLapOverParam"]?.["ValueMin"],
|
||||
BlastParam_SplashDamage: isSloshingMachine
|
||||
? params["UnitGroupParam"]?.["Unit"]?.[1]?.["DamageParam"]?.["ValueMax"]
|
||||
: undefined,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user