Register

yugen-criticals

An Add-on Module for Foundry Virtual Tabletop

Author: yugen. Project: Source Foundry Version 14.360 (Verified 14.360) Last Updated 5 days, 3 hours ago

yugen-criticals

Watch the demo
Click here for video demonstration

Fire Emblem Awakening style critical animations for Foundry VTT v14.


Description

This module adds an overlay animation when a critical hit or natural 1 fumble is made. It brings an JRPG aesthetic to your table. Compatible with D&D 5e and Pathfinder 2e game systems.

Elemental themes are automatically applied based on the damage type. Animations triggered for everyone at the table simultaneously as well. Quotes and sounds are customizable via actor flags.

You can also make it so that it always appears for you or everyone whenever you attack.

Actor Customization

1. Set Signature Quotes

This replaces the "CRITICAL HIT" or "FUMBLE" text with your custom line.

const actor = canvas.tokens.controlled[0]?.actor || game.user.character;
// For Critical Hits
await actor.setFlag('yugen-criticals', 'crit-quote', "Pick a god and pray!");
// For Fumbles
await actor.setFlag('yugen-criticals', 'fumble-quote', "I miscalculated...");

2. Set Custom Sounds

const actor = canvas.tokens.controlled[0]?.actor || game.user.character;
// For Critical Hits
await actor.setFlag('yugen-criticals', 'crit-sound', "sounds/my-custom-crit.ogg");
// For Fumbles
await actor.setFlag('yugen-criticals', 'fumble-sound', "sounds/my-custom-fail.ogg");

3. Reset to Defaults

const actor = canvas.tokens.controlled[0]?.actor || game.user.character;
await actor.unsetFlag('yugen-criticals', 'crit-quote');
await actor.unsetFlag('yugen-criticals', 'fumble-quote');
await actor.unsetFlag('yugen-criticals', 'crit-sound');
await actor.unsetFlag('yugen-criticals', 'fumble-sound');

Compatibility

Credits

Available Versions

  1. Version 1.0.2

    5 days, 3 hours ago
    Foundry Version 14.360 - 14.360 (Verified 14.360) Manifest URL Read Notes
  2. Version 1.0.1

    5 days, 11 hours ago
    Foundry Version 14.360 - 14.360 (Verified 14.360) Manifest URL Read Notes