Code Monkey home page Code Monkey logo

babonus's Issues

Make bonuses editable

  • Clicking an edit button on a bonus in the BAB workshop should populate the fields with the data of the bonus.
  • Sheet should be set to 'edit mode' and not trigger a warning that a bonus with the same label/identifier already exists.

Allow copying a bonus

  • Add a 'copy' button in the BAB.
  • The button should take all fields from the bonus and fill out the form, except for the label and identifier.
  • The form should not be set to edit mode.

Deprecate some API methods for new replacements

  • add getId and getIds, and deprecate findBonus and getBonusIds.
  • add getName and getNames.
  • deprecate changeBonusId.
  • add getType and deprecate getBonuses.
  • add sceneTokensByDisposition.
  • add getOccupiedGridSpaces.
  • add migration object of migration functions.
  • add createBabonus.

Missing localisation

  • Labels and content of bonus delete dialog are not localized.
  • Warnings in the BAB when trying to save with required fields missing is not localized.

Allow for bonuses to ability checks, skill checks, and tool checks

The ability score used is not available in the pre hooks for skill and tool checks until hopefully v2.2.0 of the system. #165

Hooks:

  • dnd5e.preRollInitiative.
  • dnd5e.preRollAbilityTest.
  • dnd5e.preRollSkill.
  • dnd5e.preRollToolCheck.

Bonuses:

  • Parts added on.
  • Minimum and maximum on the d20 roll.

Filters:

  • Tool type.
  • Specific Skills.

Rework build-a-bonus to only show relevant fields

  • Make Item Types a required field.
  • Make Base Items and Weapon Properties only show up if weapon is in Item Types.
  • Make Spell Components, Spell Levels, and Spell Schools only show up if spell is in Item Types.

Feature: add bonuses to items and effects

Items:

  • Items should have support for a bonus.
  • The actor filter should search items for bonuses to apply.
  • BAB should not be available for class, subclass, spell, and background type items.
  • Items should have a check for requiring attunement/equipped.

Effects:

  • Active Effects should have support for a bonus.
  • The actor filter should search effects for bonuses to apply.
  • Effects should be checked against disabled and isSuppressed (both must be false).

Additional consideration for `Save DC` bonus target.

  • A warning should be applied if Dice Modifier is selected as the Bonus Type while Save DC is the Bonus Target.
  • Apply listener for change on Bonus Target to set Bonus Type to 'Addition'.
  • Display warning if Bonus Type - Bonus input is not a static numeric input (no dice rolls for bonus to DC).

Bonus not applying

So the bonus on the left (see image) doesnt apply while the bonus on the right does apply?
(the description and stuff on the right says penalty because I intend to make it a penalty.)
both come from a different wand, that have no mayor differences (one has some spells from items with spells and 2 charges but thats it)
image

Update `Keys` dialogs

  • Apply some css.
  • Change 'Required' label, since most aren't required but must match at least one of the selected keys.

Feature Request: Tie the use of an optional bonus to quantity or limited uses of an item

It would be nice to have some way to create "on first hit in turn" or "once per turn" bonuses, like the ones from a Rangers Favored Foe , a Zealot Barbarians Divine Fury or a Rogues Sneak Attack. Currently this can only be partially done using midiqol optional flags but it leaves a lot to be desired and this seems to be something that fits the scope of this module

If `Abilities` filter is set, apply consideration for default values

  • If a weapon is Finesse, and the ability modifier it uses is set to Default, then a bonus applying to STR or DEX should apply if the relevant modifier is higher than the other.
  • If a melee weapon attack uses Default, then bonuses that apply to STR should apply here.
  • If a ranged weapon attack uses Default, then bonuses that apply to DEX should apply here.
  • If a melee/ranged spell attack uses Default, then bonuses that apply to the actor's spellcasting ability should apply here.

Nest bonuses one level deeper.

Instead of value: "string", bonuses should be in values: { bonus: "string", ... }, which would allow for more bonus types to be added further down the line.

Which bonus can apply to which roll will be handled in the hooks.

Add support for deleting bonuses.

The trashcan in the BAB should delete a bonus from the actor's flags.

  • Should be a prompt first.
  • Re-render the BAB immediately when deleted.

Add bonus critical dice and bonus critical damage to damage rolls

Would require #13 to be resolved.

This should only apply to damage rolls of course.

  • Brutal Critical (more dice) on rwak, msak, and rsak.
  • Bonus Critical damage (modifiers on top) on mwak, rwak, msak, and rsak.
  • Since core already has the flag for mwak, check if it exists first.

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.