Git Product home page Git Product logo

foundry-year-zero-roller's Introduction

Hey! Stefouch here!

I'm a former biological researcher and hobbyist programmer who loves playing boardgames and roleplaying games.

I'm writing and developing content for the Year Zero Engine roleplaying games and for Magic: The Gathering.

const hobbies = ['MTG', 'RPG', 'JavaScript'];
const Stefouch = new Human(hobbies);




Stefouch Gaming Lab
Built by a fan, For the fans.


If you value the work I do,
you can help support my projects
for as little as $1 per month!

foundry-year-zero-roller's People

Contributors

amediocredad avatar stefouch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

foundry-year-zero-roller's Issues

When pushed, there are too many dice with DsN

The way the YZEDiceroller stores results in the roll.terms DsN will pick up the already rolled dice AND the dice that are rerolled for a grand total of more dice than you started with.

Courtesy of @aMediocreDad, here is a temporary fix:

Hooks.on("diceSoNiceRollStart", async (_id, context) => {
    if (context.roll.pushed !== 0 && !context.roll.pushable)
        context.roll.terms.forEach((term) => {
            if (term && typeof term === "object") {
                term.results = term.results?.filter((r) => r.active === true && r.indexPush > 0);
            }
        });
});

New ESLint NPM Module - `@typhonjs-fvtt/eslint-foundry.js` deprecated

Hiya... Just a courtesy call to mention that @typhonjs-fvtt/eslint-foundry.js has been deprecated and the new NPM module is @typhonjs-fvtt/eslint-config-foundry.js. The reason for the deprecation is that to enable the module as a shareable ESLint config required a name change for ESLint naming conventions.

The new module has updated support for 0.7.8 to 0.8.0 Foundry VTT releases and also now features a difference set / exclusion set config of global variables dropped / now undeclared between the 0.7.9 to 0.8.0 versions to use for migration.

Happy coding and good luck with your module / system & Foundry VTT migration to 0.8.x and beyond!

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.