Giter VIP home page Giter VIP logo

fvtt-pf2etoolbox's Introduction

Hi there 👋

My pronouns are he/him.

Andy's GitHub stats

fvtt-pf2etoolbox's People

Contributors

arthanae avatar djphoenix719 avatar nuku avatar pearcebasmanm avatar sean-clayton avatar trollderim avatar xdy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fvtt-pf2etoolbox's Issues

Maximum Hero Points do not increase

Tried in fresh world, no other mods. Refresh, restart world, etc. do not fix it. Hero points remain at 3 dots on sheet regardless of number saved in mod configuration.

Also thank you so much for making this, I do hope you're able to get it working again, it's the best PF2 mod!

NPC Scale to Level Entry Box Usability Suggestion

Problem

I know it's not exactly a big thing, but I was originally confused as to how the Scale NPC functionality worked due to the labelling on the dialogue box that pops up upon usage, and there being no error message when I was using it incorrectly.

So I originally read it as what the 'start level' of the NPC was, and then what you wanted to scale it to. And I was always trying to reduce the level of an NPC, so I was inputting something like Start 4/End 1; and then nothing would happen because that's not what it's asking.

Suggestions

  1. Put a tiny explanation as to what the 2 entry boxes represent and/or potentially re-word what the 2 entry boxes are labelled, perhaps something like:
  • Scaled Level Range Start
  • Scaled Level Range End
  1. Potentially produce an error if someone tries to enter a negative range like I was doing, to explain why nothing happens.

Addendum

Just as an addendum, it's not exactly clear upon first looking what the 'flatten NPC' functionality does. I'm assuming it's a function to set the NPC values to what they roughly should be for their level, but it's not exactly clear, but it's not really described in the GitHub readme section, so it might be worth putting a little explanation in there somewhere.


Thanks for your time and hard-work! :)

Group AOE Macro Doesn't Completely Work

Describe the bug
So it does roll saves as normal however when you try to apply damage it does nothing.

To Reproduce
Steps to reproduce the behavior:
Import Group Saving Throw Macro.
Select a token, add in a DC and damage.
Pick one of the buttons that deals damage to the target.

Expected behavior
Should be able to subtract damage using the buttons after using the macro.

Screenshots
Here is the screenshot of what happens when you try to apply damage:

image

Version Information:
Foundry 0.8.6
PF2E 2.0.2.5814
Toolbox 1.7.2

Additional context

Incorrect values for Precious Materials in Create Item

The weapon/armor creator takes values for special materials from the tables on page 578-579, which are the values of a "simple
non-magical item made of that material." These prices do not apply to weapons and armor.

"Prices for armor, shields, and weapons made of precious material are in the Armor (page 555), Shields (page 586), and Weapons (page 599) sections of this chapter."

No Damage when using groupSave macro

Describe the bug
When I use the groupSave macro to roll saves for NPCs, I input a damage value. The resulting chat box output doesn't show any damage value or buttons to apply that damage.

To Reproduce
Steps to reproduce the behavior:

  1. Select 1 or more NPCs
  2. Click on the Group Saving Throw macro provided in the compendium for PF2e Toolbox
  3. Fill in the dialog box with Save type, DC and Damage
  4. See chat message with Save rolls and interpreted results (Fail, Critical Success, etc...) but no damage values/buttons

Expected behavior
At step 4, to see a chat message with both saves and damage values/buttons.

Version Information:

  • Browser: Chrome version 88.0.4324.150
  • FoundryVTT version 0.7.9
  • System: Pathfinder 2nd Edition version 1.11.5.3707
  • PF2E Toolbox version 1.6.0
  • No other modules active

Additional context
Add any other context about the problem here.

This behavior occurs even when PF2e Toolbox is the only active module.

NPC Sanitiser for Proficiency without Level

I am planning to play using the proficiency without level rule variant and I belive that your module comes in handy.
If I set a monster at level 0, the level bonus disappears from armor class, attack rolls and so on. It's cool and easy to use. I only have to restore the base hp to get the creature I need, I think and hope.
I haven't look in to the code or the scaling rules, but my understanding is that your module also changes the strike damage and ability scores, if I don't manually restore them I risk to have weaker creatures. It's not a real problem, I am lazy and I would rather have a weaker creature than to manually correct all bonuses of all creatures in the compendium. So, thanks for the module. However if someday you put a checkbox in the settings to remove the hp, ability and damage dice scaling to support the variant rule, I would much appreciate.

Cheers,
A non-english speaker and Pathfinder 2e player.

Lootsheet - Treasure change the value to the minimal

Foundry version: 0.8.6.
PF2 system version: 2.2.0.6097

When I roll for a new treasure, the item always get the minimal value of that option. On the screenshot, I press roll 1 from the rectangle red, then I get one "Porcelain vase inlaid with gold" on loot sheet with value of 25gp then go to chat and click on the "Porcelain vase inlaid with gold" item from the chat to open the item info sheet and the value's 75gp

Screenshot_6

Spell DC and Attack do not flatten

Describe the bug
The flatten functionality does not edit / adjust spell DC and attack.

Expected behavior
Spell DC and Attack should be adjusted the same way as skills.

Version Information:

  • FoundryVTT 0.7.9
  • PF2E Toolbox 1.5.8

Remove Default Art

Describe the bug
Enabling the remove default art doesn't seem to do anything. When I look at the monsters after a import them they still have the default art tokens even after a reload. No errors appear in the log as far as I can see.

To Reproduce
Steps to reproduce the behavior:

  1. Create a fresh game, load only Toolbox as a module.
  2. Turn on the Remove Default Art.
  3. Reload the program.
  4. Import the Goblin Warrior and check the Prototype Token page.

Expected behavior
I assume this should set it to "icons/svg/mystery-man.svg" unless I am misunderstanding what this part of the module is supposed to do.

Screenshots
image

Version Information:

  • FoundryVTT [e.g. 0.7.9]
  • PF2E Toolbox [e.g. 1.7.1]
  • Pathfinder 2e [1.13.2.5430]

Additional context
Add any other context about the problem here.

Loot sheet cannot be opened after assigning it

Describe the bug
Sheets of Loot actors with the assigned sheet pf2e-toolbox.LootApp cannot be opened.

To Reproduce
Set an actor's sheet to pf2e-toolbox.LootApp in PF2E 1.14.0

Expected behavior
The sheet should open when double-clicking the actor on the canvas or clicking the actor in the Actors directory.

Additional context
Probably related to the updates of the PF2E system recently. Maybe also related to issue #37 ?

[FEATURE] Make Loot sheet with a button to actually loot

I'm really annoyed by the fact that the players can't take the loot when the sheet is with a limited permission.

  • Create a button under the avatar image to take all the loot of the Loot Sheet.
  • Create a button in each item to take the loot of that row.

Created Items from the Loot Sheet break PC sheets

I've recently updated from 0.7.10 to 0.8.8 and found that all items created by the loot sheet completely break automation for characters.

I've reached out in discord and there seem to be lots of changes in the item structure. Here's a link to the first reply, a few follow after: https://discord.com/channels/170995199584108546/697845559435853865/862754778203291669
(Some notes: range is "" instead of "melee" no price, some null <--> "" mismatches)

I tested it with a newly created item, and that has the same issues. So it seems to me an update to the new item structure is in order? And a macro that "fixes" old items?

Toolbox wont work!

Toolbox wont work on new Pathfinder 2e Version[2.9.1.6656], doesnt show modules options and not showing Loot, macros none of 3 are working.

image

  • Browser: Google Chrome [91.0.4472.124]
  • FoundryVTT [0.8.8]
  • PF2E Toolbox [1.7.8]
  • Only Find The Culprit

Missing Armor types in Loot Sheet

Describe the bug
When creating a suit of armor via the loot sheet create item tab it looks like the Splint mail, Half-plate and Plate are missing from the list. Further you can create shields with armor potency rules which isn't how shields work.

To Reproduce
Steps to reproduce the behavior:

  1. Create a lootsheet
  2. Go to Create Item
  3. Select Armor
  4. Look at Base Item

Expected behavior
That you be able to make all types of armor and that shields wouldn't be on the list since they can't have runes.

Screenshots

image

Version Information:

  • FoundryVTT 0.7.9
  • Pathfinder 1.11.10.4003
  • Toolbox 1.5.1

Additional context
Add any other context about the problem here.

Token Tooltips

PF2E Token tooltips
Darkling n 0057

Possible feature for the toolbox.
A token tool tip.

I've noticed there are several modules that add token tool tips but in my experience they either:

  1. don't work in pf2e
  2. are bundled with things that don't work with pf2e
  3. they're annoying to configure

I don't actually think they're that useful myself but they seem like a popular feature, so a PF2e specific one might go down well.

Loot Generator doesn't work with permanent items

If I try and add permanent items to the loot sheet you've added, I get the following error message:
image
This doesn't appear to happen with every possible level/number combination, but triggers e.g. for roll 2 2nd level items.

Buttons on Merchant Sheet start at 4th Level Consumables

On the pf2e toolbox lootapp sheet the buttons to roll for random loot start at 4th level on the consumables list. I have uninstalled and reinstalled the module, as well as the base module, and turned off all other modules, but the bug has persisted. All the other lists are intact.

error loading FVTT

when loading the world I created, an error immediately crashes in the console. I use the PF 2e system
Без имени

Loot Sheet Problems

Describe the bug
Can't access the Configure Loot section of the pf2etoolbox loot sheet. Further existing loot sheet in my other game

To Reproduce

  1. Create game/load in Toolbox by itself.
  2. Create a Loot sheet, set it to the PF2eToolbox loot sheet.
  3. Click on Configure Loot

Expected behavior
Should be bringing up the tabbed sections of useful tools like random treasure objects and creating properly priced magical weapons.

Screenshots
image

When I try to set a loot sheet to your version of the sheet I noticed this error:

image

When loading a existing loot sheet in my other game I get this error:

image

Version Information:

  • FoundryVTT [e.g. 0.7.9]
  • PF2E Toolbox [e.g. 1.7.1]
  • Pathfinder 2e [1.13.2.5430]

Additional context

Magic Item Tools

  • Scroll Generator
  • Random scroll roller
  • Magic Weapon / Material Weapon
  • Magic Armor / Material Armor

[BUG] Vetical scrollbar vanishes when in configure loot mode and there is a bunch o items

Describe the bug
When there is a lot of items in the loot sheet and you want to configure, there is no vertical scrollbar.

To Reproduce
Steps to reproduce the behaviour:

  1. Create a loot sheet.
  2. Place a bunch of different consumables (I believe it happen with other items, but I was creating a potion shop)
  3. Check configure loot, the vertical scrollbar vanishes.

Expected behavior
The vertical scrollbar continued to be shown.

Screenshots
image

Version Information:

  • Browser Firefox version 80.0.1
  • FoundryVTT 0.6.6
  • PF2E Toolbox 1.5.2

Toolbox casts invisibility on prepared spells

Describe the bug
Prepared spellcasting slots disappear and are replaced by spellbook spells.

To Reproduce
Steps to reproduce the behavior:

  1. Create a brand new npc
  2. Use creature builder and give a spellcasting level of anything other that none
  3. Add any prepared spellcasting type
  4. Add a spell of any level
  5. Close the character sheet
  6. Open the character sheet

Expected behavior
Not hide all the prepared spells spells.

Screenshots
image

Version Information:

  • Firefox Developer Edition 90.0b12 64-bit
  • FoundryVTT [e.g. 0.8.8]
  • PF2E Toolbox [e.g. 1.7.5]
  • Activated Systems & Modules w/ Versions
    • too many

Additional context
Reported in base system as well may be base system related but is only reproduce able by using toolbox features.

Conflict between this module and modules that edit the character sheet title bar

Hey, I'm the author of the Hero Lab import tool. It was brought to my attention that my module's button disappeared from the character sheet title bar. After testing a bunch of modules, it turns out its this module that breaks it. It also breaks GM Notes module by preventing the button from being displayed.

I haven't looked too deeply yet, as I'm about to run a game, but this broke recently. I'm not sure if the issue lies in my code or in yours.

NPC Scaler does nothing

Describe the bug
The NPC Scaler isn't doing anything.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...' - When I import a creature from the compendium Bestiary
  2. When I right-click the creature and scale it from "3 to 6"on
  3. Scroll down to '....' - N/A
  4. See error - There is no error message. There simply are no changes to the NPC.

Expected behavior
For there to be changes to the monster's/NPC's stats.

Screenshots
If applicable, add screenshots to help explain your problem.

Version Information:

  • Browser [e.g. Chrome, Safari] version [e.g. 22]
  • FoundryVTT v0.7.9
  • PF2E Toolbox v1.12.0.5014
  • Activated Systems & Modules w/ Versions - I have about 60... One of them is :PF2E Proficiency Without Level for NPCs." And the new PF2e module has a Proficiency Without Level setting and lets us "flatten" monster stats. Perhaps that's the culprit?

Additional context
Add any other context about the problem here.

[BUG] Quick roller broken

Describe the bug
NPC quick roller table is not showing
firefox_2020-10-25_10-53-51

Version Information:

  • Firefox 82.0
  • FoundryVTT 0.7.5
  • Pathfinder 2E 1.10.14.2141
  • PF2E Toolbox 1.5.5

Lastest update results in menus getting duplicated

Since the latest update, 'Creature Builder' on the NPC sheet, as well as the 'Scale to level' and 'Flatten NPC' context menus are displayed twice.

image

Attached is a fix I did in bundle.js to check for duplicates. Obviously the right solution is to find out why its getting added twice ahead of time but in the meantime if anyone wants to use the attached go ahead.
bundle.zip

Area damage level scaler

Most monsters with area damage have their area damage abilities scaled very weirdly. On some creatures like the sea drake it scales it with strike dmg instead of the area dmg table but with others it scales even weirder such as an adult magma dragon. I don't know if it is possible to have the module recognize area damage properly but I thought I would bring it up.

Flatten Proficiency feature subtracts level twice using PF2e experimental strikes

Describe the bug
When using flatten proficiency to subtract level from attacks you get the correct value on the attacks themselves (-level) but incorrect on the experimental version of the strikes, which subtracts level a second time. This is caused by the loop which reduces the base attack value in addition to adding a custom "Proficiency without Level" penalty to the NPC, which only the experimental strikes use and which causes the level to be subtracted a second time.

To Reproduce
Steps to reproduce the behavior:

  1. Enable Flatten Proficiency in settings.
  2. Choose an NPC with a level other than 0 in the actor tab.
  3. Check strike values (i.e. a Grizzly Bear, a level 3 NPC, has +11 to strike with normal rules).
  4. Right click and select "Flatten NPC".
  5. Check strike values again...normal attack values will be +8 (11 base - 3 level) and experimental strike value will be +5 (11 base - 3 level from adjustment - 3 from Proficiency without Level modifier).

Expected behavior
Ideally both experimental strikes and normal strikes would work at the correct values when the creature is flattened. NOTE: I implemented a basic fix for my own use, code modification is below if you're interested (although it's not necessarily the best solution).

Screenshots
Normal View:
BearNoFlatten
Flattened View (with bug):
BearWithFlatten
Note that the experimental strikes are 3 lower than the normal strikes.
With my "fix":
BearWithFix

Version Information:

  • Electron browser (replicated on Chrome since it's a mechanics issue).
  • FoundryVTT 0.7.9
  • PF2E Toolbox 1.5.8
  • Tested with all other modules deactivated as part of debugging.

Additional context
In my own version of the code I modified the buttons.unshift() functions for Flatten NPC in the following manner (the parts I removed are in comments here):

        name: 'Flatten NPC',
        icon: '<i class="fas fa-level-down-alt"></i>',
        condition: (li) => {
            const id = li.data('entity-id');
            const actor = game.actors.get(id);
            return actor.data.type === 'npc' && !hasModifier(actor);
        },
        callback: async (li) => {
            const id = li.data('entity-id');
            const actor = game.actors.get(id);
            const level = parseInt(actor.data.data.details.level.value);
            actor.addCustomModifier('all', modifierName, -level, 'untyped');
            // let itemUpdates = [];
            // for (let i = 0; i < actor.data['items'].length; i++) {
            //     const item = actor.data['items'][i];
            //     if (item.type === 'melee') {
            //         const oldAttack = parseInt(item.data.bonus.value);
            //         const newAttack = oldAttack - level;
            //         const attackUpdate = {
            //             _id: item._id,
            //             ['data.bonus.value']: newAttack,
            //             ['data.bonus.total']: newAttack,
            //         };
            //         itemUpdates.push(attackUpdate);
            //     }
            // }
            // await actor.updateEmbeddedEntity('OwnedItem', itemUpdates);
        },
    });

I did not include the second function because I removed the exact same block for both.

This fix works for me because I only use the experimental rolling method. I also tried changing the value of the modifier to 0 and only editing the strikes directly, but this removes all other level scaling (AC, saves, etc.). I'm not sure if this is a recent change in the Pathfinder 2e Foundry module that is causing this or if it's a long term bug and people just aren't messing with the option.

I do know that the core PF2e module does not support NPC scaling for proficiency without level, making that option of limited use. And ideal version for me would be a check box that would let me flatten or unflatten all NPCs automatically but I'll have to do some more research to find a solution for that.

Creature Builder isn't working

Describe the bug
Creature builder is no longer appearing on the menu

To Reproduce
Steps to reproduce the behavior:

  1. Update to 0.8.6 Foundry, 2.0.2.5814 PF2E, and 1.7.2 Toolbox.
  2. Open a NPC sheet/create a NPC sheet.

Expected behavior
You should see the creature builder when it is enabled.

Screenshots
image

Version Information:
Foundry 0.8.6
PF2E 2.0.2.5814
Toolbox 1.7.2

Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.