Giter Club home page Giter Club logo

foundryvtt-module-active-defence's People

Contributors

lazrius avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

foundryvtt-module-active-defence's Issues

Support for wildcard image tokens in chat card

Currently the chat card for active defence does not support correct display of actors using wildcard images for their token. For example the token image path worlds/game-world/data/tokens/commoners/* will appear as the following when rolled in the active defense card:

Screenshot 2021-10-09 170904

The default behavior in foundry for wildcards is to load a random image from the directory. The preferred behavior for active defence here would either be to load the image for the token being rolled, or load the default 'art' image from the character sheet instead of the token image.

Situational modifier not taken into account.

When making an active defence roll and adding a situational modifier using the provided dialogue, the roll doesn't take the modifier into account for the total roll. In some cases the modifier is recognized in the roll dialogue, but not actually added to the total! (See attached)

Roll with modifier and result:
image
image

Roll with a dice modifier, appears but does not total:
image

You'll need to make sure the modifier applies for normal rolls, as well as those with advantage and disadvantage.

Display roll formula in active defence pop-up dialogue

Currently when rolling for active defence the formula is not displayed in the pop-up dialogue where users can select adv/dis/normal options. The standard behavior in foundry is to display this formula as per the below example:

Screenshot 2021-10-09 172237

For active defense in this case, this formula should read something like 1d20 + 15 + @bonus.
It might also be neat in this case to use the AC breakdown you can get from mousing over a character's AC in the sheet, making the formula 1d20 + 13 + 2 + @bonus and providing a bit more information instead. (13 base from Wyvern Scales + Dex Modifier).

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.