Comments (3)
Staves have the getUses(...)
, line 118:
let getUses = data => {
// uses: { value: 0, max: 0, per: null }
if (data.limitedUse) {
if (data.limitedUse.resetType === "Consumable") {
return {
max: data.limitedUse.maxUses,
value: data.limitedUse.numberUsed
? data.limitedUse.maxUses - data.limitedUse.numberUsed
: data.limitedUse.maxUses,
per: "charges"
};
} else {
return {
max: data.limitedUse.maxUses,
value: data.limitedUse.numberUsed
? data.limitedUse.maxUses - data.limitedUse.numberUsed
: data.limitedUse.maxUses,
per: "charges"
};
}
} else {
// default
return { value: 0, max: 0, per: null };
}
};
which could be added (per default?) to other item types, too. Perhaps only to rings?
from vtta-dndbeyond.
Ring of Evasion:
https://discordapp.com/channels/613704572782903312/684500792433967105/685143659611553847
Ingot of the Skol: https://discordapp.com/channels/613704572782903312/684500792433967105/685147962875445288
from vtta-dndbeyond.
Here's the D&DB links if you need to reference them at all:
https://www.dndbeyond.com/magic-items/ring-of-evasion
https://www.dndbeyond.com/magic-items/ingot-of-the-skold-rune
from vtta-dndbeyond.
Related Issues (20)
- Saving throw proficiencies should only be taken from the first class taken when multiclassing HOT 5
- Imported speed is null if custom speed has been set and erased HOT 2
- Request: Omit "Ft" when importing walking speed HOT 1
- Map Notes with customized Icon Sizes reset every time they are edited. HOT 1
- Importing Characters/Monsters with conditional senses causes exception HOT 1
- Monster imports have melee ranges incorrectly populated on actor sheets HOT 1
- Turning on VTTAssets breaks other Map Notes you edit HOT 1
- Failure to Verify Patreon Status in Extention HOT 1
- D&D Beyond Button Appears Twice for Tidy5e Sheet
- Cannot edit game settings in firefox if VTTA - D&D Beyond Integration is enabled
- Characters without darkvision still gain 30ft of dim vision when imported HOT 1
- Character Import Stuck with message "Always prepared spells received, adding them to your import" HOT 5
- "TypeError: Cannot read property 'componentId' of undefined": unexpected class features from Tasha's Cauldron? HOT 7
- Character Import Not Wokring: "TypeError: classOption is undefined"
- Getting a gateway timeout trying to download the module HOT 8
- Importing level 2 druid doesn't work HOT 4
- Importing Ranger Isn't Working HOT 1
- Incorrect image loaded for continent of wildemount scene after importing EGTW
- I don't want to see your blog posts HOT 2
- No option to import "Frozen Sick"
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 vtta-dndbeyond.