Comments (3)
Ah, thanks for the report, it seems that the trick I used for doing that (using this 'd20' API object) is actually part of the VTT ES extension, not part of Roll20 itself.
Can you install it (from here) and confirm it fixes the issue for you ?
For now, I don't plan on finding an alternative way of doing this without that API, so I'll just update the FAQ to make that a requirement.
from beyond20.
I actually built a version using window.Campaign.characters
instead (without the d20) and it seems to be working so far. That being said that extension looks useful so I'll probably check it out anyway.
from beyond20.
Oh, that's nice! Thanks for finding that.
So I had a look, and it seems the 'd20' variable has a lot more stuff than just d20.Campaign but in the Roll20 app.js, Roll20 does expose the Campaign with a window.Campaign = d20.Campaign
.
What VTT ES does is to actually patch that file so it also exposes the d20
variable because it needs access to more stuff that are hidden internally. In our case, we only need the Campaign object so we're good!
from beyond20.
Related Issues (20)
- Dice formulas and Roll Buttons not appearing in stat blocks in side panel HOT 2
- Add rollable functionality to Extras section of dndbeyond character sheet HOT 1
- Homebrew monster damage values carried over to another monster HOT 5
- Not recognizing the currently open sidebar HOT 7
- Talespire HOT 2
- Rolling a save, initiative, or standard ability check does not add modifier HOT 3
- Rage/Crimson Rite/Similar Setings - A mix of enhancement and also a bug? HOT 6
- FireBolt cantrip not pushing to Roll20 (console logs included) HOT 2
- Rolls still not working HOT 2
- Straight ability score rolls incorrect for some players HOT 3
- (Minor) Replacement of D1 false positive HOT 2
- Fix support for FoundryVTT v12 HOT 6
- Discord integration failure HOT 2
- [minor] Overlapping elements at small browser widths
- The "Beyond20*" events of the DOM API appear to not be triggered on DnD Beyond itself
- AOE Spells Are Broken Wont Roll Damage HOT 2
- Broken Rolls HOT 3
- Some cantrips cannot be displayed to VTT HOT 1
- DND Beyond and Roll20 seem to still be having issues. HOT 3
- Spell damage = "null" (or "0") in Roll20 HOT 3
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 beyond20.