Skip to content
Stexinator edited this page Oct 22, 2024 · 1 revision

Creating Regions from Templates

Where do I find templates?

Spells can be configured to produce a template.

How to create a region from 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.

Macro Support

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)

Clone this wiki locally