This part here:
@template T
@typedef {((
this: ModifierDefinition,
t: number,
character: Game_CharacterBase,
) => T) & { [CONSTANT]?: T }} Varying
is probably crashing the plugin when it loads, since it’s just a JSDoc comment (it’s used with other comments to enable type checks in the editor) but the part that makes it a comment is missing here as far as I can tell.
You can remove these lines entirely. The rest should then start working.
