mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-22 15:33:37 +02:00
DiceSoNice Animation Overrides (#1726)
* . * . * Fixed hope/fear animation input
This commit is contained in:
parent
dd376705a9
commit
308a04e6c5
12 changed files with 242 additions and 95 deletions
|
|
@ -699,7 +699,7 @@ export const daggerheartDiceAnimationEvents = {
|
|||
};
|
||||
|
||||
const getDiceSoNiceSFX = sfxOptions => {
|
||||
const { diceSoNice } = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.appearance);
|
||||
const diceSoNice = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.appearance).diceSoNiceData;
|
||||
const criticalAnimationData = diceSoNice.sfx.critical;
|
||||
if (sfxOptions.critical && criticalAnimationData.class) {
|
||||
return {
|
||||
|
|
@ -753,7 +753,7 @@ export const getDiceSoNicePresets = async (
|
|||
advantageFaces = 'd6',
|
||||
disadvantageFaces = 'd6'
|
||||
) => {
|
||||
const { diceSoNice } = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.appearance);
|
||||
const diceSoNice = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.appearance).diceSoNiceData;
|
||||
|
||||
const { isCritical, withHope, withFear } = result;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ export const gameSettings = {
|
|||
Metagaming: 'Metagaming',
|
||||
Homebrew: 'Homebrew',
|
||||
appearance: 'Appearance',
|
||||
GlobalOverrides: 'GlobalOverrides',
|
||||
variantRules: 'VariantRules',
|
||||
Resources: {
|
||||
Fear: 'ResourcesFear'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue