-
Notifications
You must be signed in to change notification settings - Fork 15
Spells
Stexinator edited this page Oct 22, 2024
·
1 revision
Spells can be configured to produce a template.
When a spell creates a template a new tab appears on the configuration called "Region Properties". Here you can tick that a region should be created.
You can configure a on token enter behaviour that should be added to the region on creation. To achieve this, you can add a macro uuid to the second field in the properties.
An example macro:
game.api.applyActiveEffectToActorViaId(event.data.token.actor.uuid, event.region.flags.TheWitcherTRPG.item, 'applyOnHit', event.region.flags.TheWitcherTRPG.duration)