On-Use Effects (Advanced Effect Functions)

Last updated: 2025-01

On-Use effects are advanced automations in the DSA5 system that can be automatically executed on certain events. They enable complex game mechanics through macro-based effects.

On-Use Effect Configuration

What are On-Use Effects?

On-Use effects extend normal effects with:

Advanced Functions

In the Effect Editor, under Advanced Functions, you’ll find various options:

Function Description
None Normal effect without automation
System Effect Applies a condition
Macro Executes a macro
Creature Summons a creature
Damage Transformation Modifies damage
Armor Transformation Modifies armor protection
After Check Executed after a check
After Comparative Check Executed after a comparative check

Configuration

Selecting a Function

  1. Open an Effect on an item
  2. Switch to the Advanced Settings tab
  3. Select the desired Advanced Function
  4. Configure the parameters

Macro Code

For macro-based functions, you can enter JavaScript code:

// Example: Add condition
await actor.addCondition("prone", 1);

// Example: Display message
ChatMessage.create({
  content: "The spell takes effect!"
});

Macro Editor

Triggers

After Check (Post Roll)

The effect is executed after a check is rolled:

After Comparative Check (Post Opposed)

The effect is executed after a comparative check:

Damage Transformation

Modifies damage before it is applied:

Armor Transformation

Modifies armor values:

Recipients

You can specify who sees the effect message:

Option Description
All Players Everyone sees the message
Player Only Only the affected player
Player + GM Player and Game Master
GM Only Only the Game Master

Success/Failure Conditions

For poisons and diseases, there are additional options:

Option Description
On Success Effect only on successful check
On Failure Effect only on failed check

Application Examples

Flame Blade

A spell that causes additional fire damage:

Stunning Blow

A maneuver that stuns the opponent on success:

Protection Rune

An artifact that reduces damage:

Permissions

Macro execution requires:

Tips

Technical Notes


See also: