Giter Site home page Giter Site logo

wc5e-cr-calculator's People

Contributors

frogvall avatar

Watchers

 avatar  avatar  avatar

wc5e-cr-calculator's Issues

Feature request: Math in fields

From AzeAzermeen in #7

Support for formulas in the text fields. Example: 20+10.
Reason for this is to more easily see what the the on turn or off turn damage components are.
Examples:
-On turn multi attack with multiple attacks.
-Off turn for legendary actions and thorn (elemental body) like effects.
-Also when hp consist of actual hp and temp hp or arcane ward like effects.

For thorn like effects i could imagine adding an extra field like for regenerations could work, too.

Feature Request: Innate Spellcasting

As in, the spell is always (unless marked otherwise) cast at its minimum level. In the current set up if you've got two spells, one a lower-level spell that deals more damage when upcast than the other higher-level spell, then the lower level spell will overwrite the higher-level one in the calculator, even if the creature can't actually cast the spell at that level. If I'm making sense.

What I'm envisioning is a list of spells you can make below the spell damage calculator. You can click "Add (Innate?) spell," which creates a new slot. Then you can pick the spell name like in the spell calculator. Next to the spell you can change the level it is cast at, with it automatically defaulting to the base level of the spell. This leads to the final entry in the line, which shows the optimal damage per round.

Spell: Lightning Arrow

The spell does not seem to increase in damage as it increases in level. It should get about +1d8*3 for each additional spell level, though you'd need to look at the wording to know how.

Double check my numbers, but it looks like the damage should increase to 48 at 4th level and 63 at 5th level.

EDIT: I'm operating on the assumption that it's the damage to the main target at 4d8, plus assuming that 2 other targets are hit in the AoE for 2d8 each. With each number increasing by 1d8 per spell level.

Fields get emptied upon pressing return

When you press enter while inside a text field of the damage calculator the entire array is reset.

Support for formulas in the text fields. Example: 20+10.
Reason for this is to more easily see what the the on turn or off turn damage components are.
Examples:
-On turn multi attack with multiple attacks.
-Off turn for legendary actions and thorn (elemental body) like effects.
-Also when hp consist of actual hp and temp hp or arcane ward like effects.

For thorn like effects i could imagine adding an extra field like for regenerations could work, too.

Shadowbolt using lower damage, while calculator should assume worst case.

Shadow Bolt
Necromancy cantrip
Casting Time: 1 action
Range: 120 feet
Components: V, S
Duration: Instantaneous
You fire a blast of necrotic energy at a creature within
range. Make a ranged spell attack against the target. On a
hit, the target takes 1d8 necrotic damage.
When the spell hits, you can choose to take 1 point of
psychic damage to increase the damage dealt to 1d12
necrotic damage.
The spell’s damage dealt increases by one die when you
reach 5th level (2d8 or 2d12), 11th level (3d8 or 3d12), and
17th level (4d8 or 4d12). The optional damage taken
increases by 2 when you reach 5th level (3), 11th level (5),
and 17th level (7).

Calculations should assume the caster used d12's instead of d8's.

Starsurge

Starsurge's initial level is set to 4, when it is actually 3.

Arcane Explosion

Arcane Explosion is listed as a 5th level spell in the calculator. It's 3rd level in the mage document; must have been changed.

New math expression fields should always round down

Right now, math expressions (or float numbers in general) round mathematically when converted to an integer. DnD logic would make it more sensible to always round down, thus allowing for dice expressions (converted to mean values) to be written directly into the fields.

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.