Giter Club home page Giter Club logo

foundryvtt-dice-cheater-protector's Introduction

Dice RNG Protector


It's easy to cheat your roll in Foundry with a little bit of JavaScript knowledge. This module block the most common way to change the dice result.

Changelog

0.2.1

  • Version bump to support FoundryVTT V11.299

0.2

๐Ÿš€Lots of Optimizations!

  • Changed the way the settings are retrieved, now the method gets the key of the setting and use it to retrieve it.
  • Replaced Settings.getEnableFudgeDice() and Settings.getUseCrypto() with a ternary operator, making the code more concise.
  • Replaced the if statement that checks for the value of Settings.fudgeValue with a switch statement, which makes it more readable and efficient.
  • Replaced the individual calls to game.settings.register for each setting with a single object that contains all the settings and a loop that iterates over the object's properties and registers them. This reduces the amount of duplicated code and makes it easier to add new settings.

0.1.4

Migration to v10 Thanks to NotoriusNeo for his work on the module

Additions:

  • Spanish translation.
  • GitHub workflow for releases.

Changes:

  • Tweaked English and French translations.
  • Changed RNG function for more "random" results.
  • Changed folder structure to match the v10 template
  • Many other minor changes.

0.1.3

  • Add compatibility for version 9.
  • Add Fudge feature.

0.1.2

  • Convert french file ANSI to UTF8.

0.1.1

  • Add setting to activate protection only for players.
  • Add setting to choose the number generator you want.

0.1.0

  • Initial release, freeze the number generator.

foundryvtt-dice-cheater-protector's People

Contributors

c1oover avatar endlessfractal avatar jdr-ninja avatar

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.