lazrius / foundryvtt-module-active-defence Goto Github PK
View Code? Open in Web Editor NEWReally simple module to add active defence into the default FoundryVTT 5e Character Sheet
License: GNU General Public License v3.0
Really simple module to add active defence into the default FoundryVTT 5e Character Sheet
License: GNU General Public License v3.0
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:
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.
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:
Roll with a dice modifier, appears but does not total:
You'll need to make sure the modifier applies for normal rolls, as well as those with advantage and disadvantage.
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:
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).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.