From 4b0a3db14027daa08ec2fa643ea288cab835e9a8 Mon Sep 17 00:00:00 2001 From: Echoring <68432572+Echoring@users.noreply.github.com> Date: Fri, 24 Dec 2021 02:04:11 +0800 Subject: [PATCH] jobs: SGE: Fix Eukrasian Dosis III (#3910) Fixes #3905 untested for SGE level not enough, but I think it will work. --- resources/effect_id.ts | 1 + ui/jobs/components/sge.ts | 1 + util/gen_effect_id.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/resources/effect_id.ts b/resources/effect_id.ts index f01ddcf24f..12d298a21e 100644 --- a/resources/effect_id.ts +++ b/resources/effect_id.ts @@ -484,6 +484,7 @@ const data = { 'Eubuleus': 'AE4', 'EukrasianDosis': 'A36', 'EukrasianDosisIi': 'A37', + 'EukrasianDosisIii': 'A38', 'EurekaMoment': 'ACD', 'EwerDrawn': '395', 'EwerHeld': '39C', diff --git a/ui/jobs/components/sge.ts b/ui/jobs/components/sge.ts index 27f5b96b5f..9d2b223f54 100644 --- a/ui/jobs/components/sge.ts +++ b/ui/jobs/components/sge.ts @@ -84,6 +84,7 @@ export class SGEComponent extends BaseComponent { switch (id) { case EffectId.EukrasianDosis: case EffectId.EukrasianDosisIi: + case EffectId.EukrasianDosisIii: this.eukrasianDosis.duration = parseInt(matches.duration ?? '0', 10); break; } diff --git a/util/gen_effect_id.ts b/util/gen_effect_id.ts index 534a554113..42848e057c 100644 --- a/util/gen_effect_id.ts +++ b/util/gen_effect_id.ts @@ -50,6 +50,7 @@ const knownMapping = { 'Wildfire': '861', 'Chain Stratagem': '1221', 'Vulnerability Up': '638', + 'Eukrasian Dosis III': '2616', } as const; // These custom name of effect will not be checked, but you'd better make it clean.