From a50bf991351bcb1812075616cbb86b84ddd9107b Mon Sep 17 00:00:00 2001 From: squaresmile Date: Sun, 4 Aug 2024 13:15:08 -0400 Subject: [PATCH] Added trigger skill description --- packages/api-descriptor/src/Buff/BuffTypes.ts | 5 +++++ packages/db/src/Descriptor/FuncDescriptor.tsx | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/api-descriptor/src/Buff/BuffTypes.ts b/packages/api-descriptor/src/Buff/BuffTypes.ts index de3b2e6f..d4aa4e59 100644 --- a/packages/api-descriptor/src/Buff/BuffTypes.ts +++ b/packages/api-descriptor/src/Buff/BuffTypes.ts @@ -219,4 +219,9 @@ export const buffTriggerTypes = new Map([ [Buff.BuffType.COMMANDATTACK_AFTER_FUNCTION_MAIN_ONLY, { after: true, event: "attacks", mainOnly: true }], [Buff.BuffType.ATTACK_BEFORE_FUNCTION_MAIN_ONLY, { after: false, event: "attacks", mainOnly: true }], [Buff.BuffType.ATTACK_AFTER_FUNCTION_MAIN_ONLY, { after: true, event: "attacks", mainOnly: true }], + [Buff.BuffType.FIELD_INDIVIDUALITY_CHANGED_FUNCTION, { after: false, event: "", when: "" }], + [Buff.BuffType.CONFIRM_COMMAND_FUNCTION, { after: true, event: "command card chosen" }], + [Buff.BuffType.SKILL_BEFORE_FUNCTION, { after: false, event: "skill" }], + [Buff.BuffType.TREASURE_DEVICE_BEFORE_FUNCTION, { after: false, event: "noble phantasm" }], + [Buff.BuffType.SKILL_TARGETED_BEFORE_FUNCTION, { after: false, event: "targeted by skill" }], ]); diff --git a/packages/db/src/Descriptor/FuncDescriptor.tsx b/packages/db/src/Descriptor/FuncDescriptor.tsx index a690cf99..3859fdb4 100644 --- a/packages/db/src/Descriptor/FuncDescriptor.tsx +++ b/packages/db/src/Descriptor/FuncDescriptor.tsx @@ -5,7 +5,6 @@ import { Link } from "react-router-dom"; import { DataVal, Func, Region } from "@atlasacademy/api-connector"; -import Api from "../Api"; import { getDataValList, getFollowerDataValList,