Comments (4)
Thanks so much! I will try that out. This is much appreciated.
Edit:
That did it! Thanks so much for the fix
from foundry-swnr.
I was trying out the system this evening and found the same issue. Throws an undefined error in the console.
Looks like line 156 (104 in the source map) in the character sheet is throwing an error, probably because the query selector on line 135 (91 in the source map) is returning undefined.
@Spice-King Do you accept pull requests?
from foundry-swnr.
Ah I see what's going on here. @mrbwhitby you can set the skill to use by editing the weapon itself from the weapons tab. If you select shoot
or whatever, it will use that value and roll correctly.
If you don't select a skill, the roll errors out. There needs to be a check if skill
exists before checking its value on line 156, something like:
effectiveSkillRank:
!skill || skill.data.data.rank < 0 ? -2 : skill.data.data.rank,
from foundry-swnr.
Ah sorry, missed the email yesterday. I'll look into why the prompt for what skill to use in the dialog is not there. I probably messed up the logic when I anded NPCs.
from foundry-swnr.
Related Issues (20)
- Add the ability to add custom items to sheets. HOT 1
- Option selecting focus level & automatically adding the effects HOT 1
- "Dice Pool" and "Stats" drop-down menus HOT 2
- Changes to character sheet disappear HOT 4
- 0.8.6 Compatibility HOT 5
- Saving throws formula is wrong.
- **Release v0.4.2** NPC sheet Saving Throw Input field makes a roll
- **Release b0.5.0** Quircks cheboxes on weapons are not working
- **Release b0.5.0** Ammo field on the weapon window shows strange behaviour
- **Release b0.5.0** Items are not being removed from sheets
- b0.5.1 - bio text entry fields on PC sheets doesn't properly display
- Demo Charge Crashing Character Sheets HOT 2
- Vacc Suit Lacking Armor Stats HOT 1
- "Skilled with Weapon" modifier should be removed from NPC Combat roll dialogue
- v9 HOT 1
- Wondering when an update for the new Foundry system is likely? HOT 5
- Add the quantity value to Weapons and Armor HOT 1
- Editing or Adding Foci is missing? HOT 3
- Duplication of Sheet Name HOT 2
- Saving Descriptive Text HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foundry-swnr.