From 07f07ff1c33af45a921efae3522bf375a8898a67 Mon Sep 17 00:00:00 2001 From: "Luca T." Date: Fri, 20 Sep 2024 23:57:38 +0200 Subject: [PATCH] formatting --- CHANGELOG.md | 163 ++++++++++++++++++++++++++++++++++++++------------- README.md | 23 ++++++-- module.json | 10 ++-- 3 files changed, 146 insertions(+), 50 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 286c1af..d32ae67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,43 +1,124 @@ # CHANGELOG -- 1.2.0 First support for FoundryVTT 0.8+ -- 1.2.1 Added Spanish translation. -- 1.2.2 Display spell point cost in Usage Configuration window when casting a spell, fix a bug where the insufficient spell points warning would not pop up when casting -- 1.2.3 Bugfix: . -- 1.2.4 Feature: Disable Spell Point switch on character sheet when sheet is locked. -- 1.2.5 Bugfix: Restored mixed mode checkbox on certain character sheets -- 1.3.0 Add a new options to the formula selection box. The new options allow custom formulas defined at runtime for calculating spell point costs and maximum spell points. Custom formulas are hidden from configuration whenever a non-custom formula is selected. Selecting a formula will override options within the configuration window. -- 1.3.1 Compatibility fixes for FVTT 0.9x -- 1.3.5 Fix Warlock pact casting. - - New option for including or excluding Warlocks from spellpoint usage. - - Moved the mixed mode enable Spell Point on character sheet to Features tab instead of Spells Tab. - - New global option to hide chat message about how many spell points are being used to other players (GM excluded) -- 1.3.6 Multiclassing Max Spell Points fix -- 1.3.7 Data object for formulas now includes flags object -- 1.4.1 Improved compatibility with DnD5e system, v.2.1.5+ -- 1.4.2 Minor settings bugfix -- 1.4.3 bugfix resource value undefined when should be 0 in new dnd5e system -- 1.4.4 remove deprecated code, code refactor. -- 1.5.0 First FVTT11 compatibility release -- 1.5.1 Dnd5e 2.2+ compatibility bugfix -- 1.5.3 Dnd5e 2.4+ compatibility bugfix -- 2.0.0 Module refactor, DnD5e v3+ compatibility. Removed resource and using items. -- 2.1.0 Bugfix - - Fixed readme - - Removed message to create resource if actor doesn't have spell point item. - - New feature, enable for NPC (setting available to enable or disable this feature) -- 2.2.0 New Features - - Per character/item spellpoints progression and cost. - - Customizable spell points bar color. - - Animate spell points resource bar. - - New non-linear progression by level (supports roll formulas). - - Factor the progression based on caster type: full, half, third, pact, artificier. -- 2.2.1 Bugfix -- 2.2.2 - - Foundry v12 Compatibility - - Customizable Cantrip costs. -- 2.2.20 renaming version -- 2.2.30 fix subclass detection with spellcasting when using DMG formula -- 2.4.00 Compatibility release for D&D v4 - - Removed compatibility with old resources - - Some code refactoring and cleanup +## [2.4.02] + +### Compatibility release for D&D v4 + +- Removed compatibility with old resources +- Some code refactoring and cleanup + +## [2.2.30] + +- fix subclass detection with spellcasting when using DMG formula + +## [2.2.20] + +- renaming version + +## [2.2.2] + +### Foundry v12 Compatibility + +- Customizable Cantrip costs. + +## [2.2.1] + +- Bugfix + +## [2.2.0] + +### New Features + +- Per character/item spellpoints progression and cost. +- Customizable spell points bar color. +- Animate spell points resource bar. +- New non-linear progression by level (supports roll formulas). +- Factor the progression based on caster type: full, half, third, pact, artificier. + +## [2.1.0] + +- Bugfix +- Fixed readme +- Removed message to create resource if actor doesn't have spell point item. +- New feature, enable for NPC (setting available to enable or disable this feature) + +## [2.0.0] + +- Module refactor, DnD5e v3+ compatibility. Removed resource and using items. + +## [1.5.3] + +- Dnd5e 2.4+ compatibility bugfix + +## [1.5.1] + +- Dnd5e 2.2+ compatibility bugfix + +## [1.5.0] + +- First FVTT11 compatibility release + +## [1.4.4] + +- remove deprecated code, code refactor + +## [1.4.3] + +- bugfix resource value undefined when should be 0 in new dnd5e system + +## [1.4.2] + +- Minor settings bugfix + +## [1.4.1] + +- Improved compatibility with DnD5e system, v.2.1.5+ + +## [1.3.7] + +- Data object for formulas now includes flags object + +## [1.3.6] + +- Multiclassing Max Spell Points fix + +## [1.3.5] + +- Fix Warlock pact casting +- New option for including or excluding Warlocks from spellpoint usage. +- Moved the mixed mode enable Spell Point on character sheet to Features tab instead of Spells Tab. +- New global option to hide chat message about how many spell points are being used to other players (GM excluded) + +## [1.3.1] + +- Compatibility fixes for FVTT 0.9x + +## [1.3.0] + +- Add a new options to the formula selection box. The new options allow custom formulas defined at runtime for calculating spell point costs and maximum spell points. Custom formulas are hidden from configuration whenever a non-custom formula is selected. Selecting a formula will override options within the configuration window + +## [1.2.5] + +- Bugfix: Restored mixed mode checkbox on certain character sheets + +## [1.2.4] + +### Feature + +- Disable Spell Point switch on character sheet when sheet is locked. + +## [1.2.3] + +- Bugfix: + +## [1.2.2] + +- Display spell point cost in Usage Configuration window when casting a spell, fix a bug where the insufficient spell points warning would not pop up when casting + +## [1.2.1] + +- Added Spanish translation + +## [1.2.0] + +- First support for FoundryVTT 0.8+ diff --git a/README.md b/README.md index cdebd12..988a0c0 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,19 @@ # Advanced Magic - Spell Points System 5e -![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/misthero/dnd5e-spellpoints/total) ![GitHub contributors](https://img.shields.io/github/contributors/misthero/dnd5e-spellpoints) ![GitHub last commit](https://img.shields.io/github/last-commit/misthero/dnd5e-spellpoints) +![GitHub Downloads (all assets, all releases)][download-shield] ![GitHub contributors][contributor-shield] ![GitHub last commit][last-commit-shield] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] +[![Forge Installs][forge-installs]][forge-link] ![Foundry Version](https://img.shields.io/endpoint?label=Foundry%20VTT%20versions:&url=https://foundryshields.com/version?url=https://raw.githubusercontent.com/misthero/dnd5e-spellpoints/main/module.json) +[![ko-fi](https://img.shields.io/badge/ko--fi-Support%20Me-red?style=flat-square&logo=ko-fi)](https://ko-fi.com/misthero) -FoundryVTT module for using Spell Point in D&D5e. +#### FoundryVTT module for using Spell Point in D&D5e. **Not using spellpoints for your games? well, you should, spellpoints are much better than slots!!** This module uses the variant rules found in the DMG to allow character to cast spells using a resource named "Spell Points". It also allow to create your custom Spell Points / Mana rules and advancement system. +[Help and feature request]([issues]) + ## Changelog @@ -26,7 +30,6 @@ This module uses the variant rules found in the DMG to allow character to cast s - Choose the name of the resource to use as Spell Points (default "Spell Points") you can change the name in module settings. (v1 only) - Create a new resource with the name "Spell Points" on every character sheet. (Hint: if any of your player need more resources you can use the module only) - You are ready to go, now spells cast by player's characters will use spell points instead of slots. **Notice**: Slots won't disappear from character sheets, but they will always stay full as long as this module is enabled. @@ -89,7 +92,7 @@ ceil( 3 * @spells.spell3.max + 4 * @spells.spell4.max + 5 * @spells.spell5.max + - + 6 * @spells.spell6.max + 7 * @spells.spell7.max + 8 * @spells.spell8.max + 9 * @spells.spell9.max @@ -136,3 +139,15 @@ It is also possible to add a module or create your own module that edits or adds ### Incompatibility None at the moment but please let me know if any. + + +[issues]: https://github.com/misthero/dnd5e-spellpoints/issues +[forks-shield]: https://img.shields.io/github/forks/misthero/dnd5e-spellpoints.svg?style=flat-round +[forks-url]: https://github.com/forks/misthero/dnd5e-spellpoints/network/members +[stars-shield]: https://img.shields.io/github/stars/misthero/dnd5e-spellpoints.svg?style=flat-round +[stars-url]: https://github.com/misthero/dnd5e-spellpoints/stargazers +[download-shield]: https://img.shields.io/github/downloads/misthero/dnd5e-spellpoints/total?label=Latest%20Downloads +[contributor-shield]: https://img.shields.io/github/contributors/misthero/dnd5e-spellpoints?label=Contributors +[last-commit-shield]: https://img.shields.io/github/last-commit/misthero/dnd5e-spellpoints?label=Last%20Commit +[forge-installs]: https://img.shields.io/badge/dynamic/json?label=Forge%20Installs&query=package.installs&suffix=%25&url=https://forge-vtt.com/api/bazaar/package/dnd5e-spellpoints&colorB=blueviolet +[forge-link]: https://forge-vtt.com/bazaar#package=dnd5e-spellpoints \ No newline at end of file diff --git a/module.json b/module.json index 9c5d712..4c2e162 100644 --- a/module.json +++ b/module.json @@ -1,8 +1,8 @@ { - "id": "dnd5e-spellpoints", + "id": "AUTOMATIC", "title": "Advanced Magic - Spell Points System 5e", "description": "FoundryVTT module for Spell Points System in D&D5e. This module use the optional rules found on DMG to allow character to cast spells using a resource named 'Spell Points'", - "version": "2.4.00", + "version": "AUTOMATIC", "compatibility": { "minimum": "12", "verified": "12.331" @@ -20,9 +20,9 @@ } ] }, - "url": "https://github.com/misthero/dnd5e-spellpoints", - "manifest": "https://github.com/misthero/dnd5e-spellpoints/releases/download/v2.4.00/module.json", - "download": "https://github.com/misthero/dnd5e-spellpoints/releases/download/v2.4.00/module.zip", + "url": "AUTOMATIC", + "manifest": "AUTOMATIC", + "download": "AUTOMATIC", "authors": [ { "name": "misthero",