Inline Commands - League-of-Fabulous-Developers/FoundryVTT-Fabula-Ultima GitHub Wiki
We provide support for clickable commands in the descriptions of items, which are often then posted as chat messages.
Inputs
amountandmodifier(used inDMG,GAIN,LOSS): Accept either a number or an expressionresource: Supported value:hp,mp,ip,zenit,fpcategory: Supported value:all,attack,skill,spelltype: Supported value:fire,ice,earth,bolt,air,dark,light,poison,untypedfirstandsecond: Supported value:mig,dex,ins,wlpdl: Refers to the difficulty levelaffType: Supported value:resistance,vulnerability,immunity,absorptionprogType: Supported value:update: increment/decrement progress/clock by amountreset: resets progress/clock to 0
status: Supported value:aura,barrier,crisis,cover,flying,guard,provoked,slow,dazed,weak,shaken,enraged,poisoned,wlp-down,wlp-up,dex-down,dex-up,ins-down,ins-up,mig-down,mig-up
Commands
@DMG[amount type]: Applies damage to an actor@GAIN[amount resource]: Applies a resource gain to an actor@LOSS[amount resource]: Applies a resource loss to an actor@CHECK[first second (modifier) dl]: Rolls an attribute check on an actor, with an optional modifier inside parenthesis, and optional difficulty level@TYPE[damage category type priority|normal]: Applies an effect on an actor that adds a damage type override to one of the given categories. (The last argument is optional)@TYPE[affinity type affType]: Applies an effect that modifies an affinity of an actor@EFFECT[uuid|status|base64]: Applies an effect to an actor@WEAPON[type]: Applies an effect to an equipped weapon that changes its damage type@PROGRESS[uuid progType amount]: Manipulates an existing resource point@CLOCK[uuid progType amount]: Manipulates an existing clock
Note that the usage of | in the above is just to illustrate the options for an argument, and is not to be confused with the labeling syntax below.
Optional
- Label: A custom label defined like so:
@INLINE[...]{Free Hug} - Traits: A list of traits, defined like so:
@INLINE[...|cool,non-lethal|]
Traits
- IgnoreResistances:
ignore-resistances - IgnoreImmunities:
ignore-immunities - IgnoreAbsorption:
ignore-absorption - AbsorbHalf:
absorb-half - Absorb:
absorb - MindPointLoss:
mind-point-loss - MindPointAbsorption:
mind-point-absorption - NonLethal:
non-lethal - Base:
base
Examples
@DMG[15 fire]@GAIN[30 hp]@LOSS[10 mp]@CHECK[mig dex],@CHECK[ins wlp 13],@CHECK[ins wlp (2) 10]@TYPE[damage all fire]{Alter All Damage Type (Fire)}@TYPE[affinity ice immunity]{Air Immunity}@EFFECT[weak]@EFFECT[Compendium.projectfu.skills.Cc1391vhlS1yIMrI]{Effect: Breach}@WEAPON[fire]{Alter Weapon Damage Type (Fire)}@CLOCK[brainwave-clock update 1]{Advance Brainwave Clock}@CLOCK[brainwave-clock reset]{Reset Brainwave Clock}