diff --git a/packages/api-descriptor/src/Buff/BuffTypes.ts b/packages/api-descriptor/src/Buff/BuffTypes.ts index 78b28e74..14c12d95 100644 --- a/packages/api-descriptor/src/Buff/BuffTypes.ts +++ b/packages/api-descriptor/src/Buff/BuffTypes.ts @@ -143,6 +143,7 @@ export const buffTypeDescriptions = new Map([ [Buff.BuffType.BUFF_CONVERT, "Convert Buff"], [Buff.BuffType.SHIFT_GUTS, "Guts on Break"], [Buff.BuffType.SHIFT_GUTS_RATIO, "Guts on Break"], + [Buff.BuffType.AVOID_FUNCTION_EXECUTE_SELF, "Block Function Execution on Self"], ]); export interface BuffTriggerType { diff --git a/packages/db/src/Descriptor/Func/handleActionSection.tsx b/packages/db/src/Descriptor/Func/handleActionSection.tsx index a63a8749..79c1154e 100644 --- a/packages/db/src/Descriptor/Func/handleActionSection.tsx +++ b/packages/db/src/Descriptor/Func/handleActionSection.tsx @@ -122,6 +122,16 @@ function handleBuffActionSection( } } + if (func.buffs[0]?.type === Buff.BuffType.AVOID_FUNCTION_EXECUTE_SELF) { + parts.push("against functions with"); + func.buffs[0].ckSelfIndv.forEach((trait, index) => { + if (index > 0) parts.push("&"); + parts.push( + + ); + }); + } + if (buff?.type === Buff.BuffType.BUFF_CONVERT) { const convert = buff.script.convert; if (convert !== undefined) { diff --git a/packages/db/src/Page/FuncsPage.tsx b/packages/db/src/Page/FuncsPage.tsx index e5fa72dd..6702c69a 100644 --- a/packages/db/src/Page/FuncsPage.tsx +++ b/packages/db/src/Page/FuncsPage.tsx @@ -74,7 +74,7 @@ class FuncsPage extends React.Component { vals: getQueryNums("vals"), tvals: getQueryNums("tvals"), questTvals: getQueryNums("questTvals"), - funcIndividuality: getQueryNums("questTvals"), + funcIndividuality: getQueryNums("funcIndividuality"), }; } else { state = stateCache.get(props.region) ?? defaultState;