1000nettles / combat-numbers

A FoundryVTT module showcasing bouncing combat numbers on tokens, similar to old-school JRPGs.
https://foundryvtt.com/packages/combat-numbers/
MIT License
5 stars 8 forks source link

Add ability to set default masking state #26

Closed TPNils closed 3 years ago

TPNils commented 3 years ago

When using "Mask Combat Number Display", it resets when I reload the page and shows the full numbers again.

Silvestrae commented 3 years ago

Hey Spy, as a temporary way to make the numbers always masked, open the combat-numbers.js file, do a search for the function getIsMask and replace

getIsMask() {
    return this.isMask;
  }

with

getIsMask() {
    return true;
  }

Do note that you cannot toggle the numbers back on doing it this way. It will always be masked!

1000nettles commented 3 years ago

A default mask state can now be set with the "Mask Default State" setting in module settings. Cheers.