Comments (6)
JavaScript has a max and min function I think so we could just roll two dice and take the max or min. We could add disadvantage and advantage as attributes of dice roll
from askthedm.
What if I'm rolling something crazy? Like, 10 d 6? Do I have advantage on all of the rolls?
from askthedm.
Hmm I don't know if you have advantage on anything other than d20 rolls but there are times when the user will want to reroll damage dice
from askthedm.
For that you would want to store each dice result in an array and when the user rerolls update the array
from askthedm.
I think that means you'll need to save the array of dice as an attribute to the session and keep the session open and prompt the user for a reroll intent or a cancel
from askthedm.
it is strictly d20 rolls, much simpler
from askthedm.
Related Issues (20)
- IndexIntent needs to handle plurals HOT 1
- Running list of tutorials HOT 1
- Spell Class Intent HOT 1
- Rework Sleep spell( or other status effect causing spells)
- New Attribute for items HOT 1
- FeatsIntent changes
- Add new key for 'casting time' attribute HOT 1
- Redirect duration attribute
- Add proficiencyIntent
- Add traitsIntent HOT 1
- Prompt in SpellsIntent
- Mapping for Alexa's speech recognizition HOT 1
- nlp in different modes: contacted helpdesk HOT 2
- Implement spotify API HOT 2
- Update the Amazon Store description
- Prompt user for rating
- Expand Hit Points attribute in classes.js
- Add "sage advice" HOT 2
- double named spells need to be handled in index.js
- Initial Update
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 askthedm.