by Vaall
Description
Class Ability Tags (CAT) adds support for class-based tags in 5E effects, such as [RAGE], [MMA], [INSP], etc.
These tags are automatically converted into the correct numeric values or dice expressions based on the character’s class and level before the effect is evaluated by the ruleset.
What it does
When an effect containing a class tag is evaluated (for example:
DMG: [RAGE], melee or DMG: [2MMA]), the extension :
Scans the actor’s classes (PC only) in the character sheet
Finds the relevant class and level (Barbarian, Bard, Monk, etc.)
Converts the tag into the appropriate value or dice expression, for example:
[RAGE] → 2, 3 or 4 depending on Barbarian level
[MMA] → 1d4, 1d6, 1d8 or 1d10 depending on Monk level
[INSP] → 1d6, 1d8, 1d10 or 1d12 depending on Bard level
Applies sign and modifiers embedded in the tag:
[2MMA] → multiplies the number of dice (e.g., 2d4 instead of 1d4)
[-MMA] → applies a penalty/negative value according to the definition of [MMA] (e.g., -1d4)
UUID eac3fd40-fdfa-11f0-a411-0050562be458

