jopeek / fvtt-loot-sheet-npc-5e

FVTT - Loot Sheet NPC 5E
MIT License
44 stars 85 forks source link

Adjust Currency with CR breaks currency generation #352

Open Red5Phil opened 2 years ago

Red5Phil commented 2 years ago

Describe the bug Selecting the "Adjust Currency with CR" option prevents currency from being generated on tokens. When the option is not selected, new humanoid tokens have currency added to their sheets when dropped as expected. However, when I select that option, I see "0" for each currency on the sheet.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Configure Settings'
  2. Under the LootSheetNPC5e Module Settings, turn on Generate Currency and save changes
  3. Drop Humanoid NPC from Actor Tab to scene, currency is generated per the Currency default formula
  4. Go back to settings, turn on "Adjust Currency with CR"
  5. Drop the same actor token onto the scene, no currency appears to be generated.

I am using Forge for my Foundry VTT hosting Foundry VTT Version 0, Build 269 Dnd5e - Fifth Edition System - 1.6.2

Red5Phil commented 2 years ago

Also - This appears to only be happening on the Forge for me. On my local installation, with the same settings in place, I am not running into the same error.