Skip to content

Releases: foundryvtt/dnd5e

release-0.8.1

13 Jun 16:44
Compare
Choose a tag to compare

D&D5e System Release v0.81

The version 0.81 release for the D&D5e system supports and provides compatibility for FVTT Beta version 0.4.5.

Installation: To install the 0.81 release, please use the following manifest URL: https://gitlab.com/foundrynet/dnd5e/raw/release-0.8.1/system.json

image

New Features

  • A major new feature adds support for automatic measured template creation as part of chat card, spell casting, and ability usage workflows. This feature will prompt you (if you have at least TRUSTED user permission) to create a correctly sized template for your spells and abilities. This is a huge time saver and big quality of life feature that I'm thrilled to have worked with errational to implement in the 5e system.
  • Added new token artwork for 15 creature types in the Monsters SRD compendium thanks to the beautiful contributions of Stryxin from Forgotten Adventures.
  • Added nearly 150 magic items to the Items SRD compendium thanks to the hard work of Lictor.
  • Improve chat card display by suppressing visibility of action buttons that users do not have permission to use.
  • Added support for incremental updates to numeric fields on Character and NPC sheets. This allows you to, for example, enter +200 in the experience field, or -30 in the GP currency field. When entering a value which begins with + or -, the final value will be computed by adding the incremental value. If you wish to explicitly set a negative value, you can do so by entering a value which begins with an equals sign, for example =-10.
  • Added "food" as a valid consumable item sub-type.
  • Added the character level to the healing formula for the Fighter ability Second Wind. This will be correct for pure-class fighters, but incorrect for multi-class fighters. After discussion with community members we felt this was the lesser evil until future flexibility can be added to 5e roll data to reference the number of levels in a specific class.
  • Converted several compendium items, namely Ration, Waterskin, and Oil to the consumable type where previously they were just labeled as "loot".
  • Added a core functionality override for the Token HUD which will allow for reductions to HP made through the Token HUD to first deduct from any temporary hit points, if available. Please Note: this change is dependent on a upcoming API change in core FVTT and will not function until core software version 0.4.6 or later. At that time it will automatically begin working without further 5e system updates.

Data Model Changes

  • Removed the spells.spell0 object from the data model since tracking the number of spell slots or usages for cantrips is not required.
  • Renamed and implemented support for data.details.spellLevel for NPC actors to allow them to have a spellcasting level that may differ from their challenge rating which was previously assumed. This allows, specifically, for NPC spellcasters to have their cantrip damage formulas properly scale based on their spellcasting level.

Bug Fixes

  • Fixed a bug which prevented situational damage bonuses from being added to damage rolls.
  • Fixed a bug with the Short Rest workflow which incorrectly removed all HP rather than restoring HP from rolled hit dice.
  • Rolling a formula on a consumable which referenced the ability modifier would fail if one was not explicitly set. This is fixed and an ability modifier is no longer required.
  • Fixed a bug which prevented item filtering buttons from working properly on the Inventory tab of a character sheet.
  • [API] Fixed a bug where the Dice.d20Roll and Dice.damageRoll functions no longer returned Roll instances as they were intended to do.
  • Feature type items which had zero limited uses remaining failed to display any uses at all, this is now fixed and the inventory sheet will display 0/max.
  • Corrected the equipment sub-type for the Shield item to properly be... a shield.
  • Fixed a race condition with the init hook which could cause 5e system sheets to not be registered on time if HTML templates took a long time to be loaded and compiled by Handlebars.
  • Fixed an issue which prevented consumable quantity from being correctly decremented to zero after use.
  • Fixed an issue when using the count success or margin-of-success dice roll modifiers which incorrectly would highlight 1s and 20s as critical successes or failures in the 5e system.
  • Improved automatic token sizing in the Actor5e.update workflow to only apply an automatic token size if the base token object is not explicitly defined in the update.

Contributors

This D&D5E system release was supported by contributions from community members who submitted feature changes which were included in the update. Please share your thanks with the following:

  • errational - for contributing the excelent measured template integration
  • Stryxin - for wonderful Token artwork added to the SRD monsters compendium
  • Lictor - for thoughtful and careful work to implement magic items into the SRD compendium

release-0.8.0

13 Jun 16:44
Compare
Choose a tag to compare

D&D5e System Release v0.80

The version 0.80 release for the D&D5e system supports and provides compatibility for the core FVTT Beta 0.4.4 version. It will not work for earlier FVTT versions as it requires core 0.4.4.

To install the 0.80 release, please use the following manifest URL: https://gitlab.com/foundrynet/dnd5e/raw/release-0.8.0/system.json

If you are still using Beta 0.4.3 please install the system from the 0.74 release here:
https://gitlab.com/foundrynet/dnd5e/raw/release-0.7.4/system.json

New Features

  • Add compatibility for core FVTT Beta 0.4.4 by migrating to use the new embedded entity methods and id structure.
  • Migrate the SRD Monsters compendium to have new-style id values for each Actor's owned items.
  • Added and corrected several items in the Class Features compendium.
  • Added the ability to edit the current value of limited item uses directly within the Actor sheet instead of needing to open the Item Sheet.
  • Added a "Target" column inside the spellbook which makes it easier to reference the target type for a particular spell.
  • Added the ability to collapse the text description of an item card by clicking on the item name in the card. This is accompanied by a system setting for whether descriptions should be collapsed by default or expanded by default.
  • Reworked the template data model to allow actor-level bonuses for attack and damage rolls - paving the way for future actor-level effects which temporarily boost such rolls on an actor-level (instead of item-level) basis.

Bug Fixes

  • The damage or other formula rolls for Consumable type items did not have access to the Actor and Item data for use in dice roll formulas. This is corrected and you can now reference actor attributes (like @abilities.str.mod) or item attributes like @item.uses.value in formulas.
  • Fixed a bug which caused editing Actor flags to (in some cases) incorrectly save deletion keys in the database object.
  • Fixed issues with Owned Item manipulation for unlinked (Token) Actors.

Contributors

This D&D5E system release was supported by contributions from community members who submitted feature changes which were included in the update. Please share your thanks with the following:

  • tposney
  • errational
  • Felix

release-0.7.4

13 Jun 16:44
Compare
Choose a tag to compare

D&D5e System Release v0.74

New Features

  • Spell damage increases from upcasting a spell using a higher level spellslot are now automatically applied to the damage formula when a spell is cast from it's item card.
  • The Item5e.rollDamage() method now accepts a spellLevel option which is used in the API to compute the damage roll for a spell-type Item that is not cast at it's native spell level.
  • Introduced new options to better support better Ability DC configuration. A dropdown menu now allows you to explicitly set the ability score which should be used as the basis for the DC calculation. Additional options are provided for "Spell" (the default value) which uses the Actor's default spellcasting modifier and "Flat" which uses a fixed DC number that does not scale with character attributes.
  • Added an Actor5e.getSpellDC() method which accepts an ability argument and will compute the actor's DC value for tests based using that ability score.
  • Save the scrolling position of item containers when the Actor sheet is re-rendered, resulting in less visual disruption when changes occur.
  • Added a visual attunement indicator next to the name of inventory items which are set as Attuned.
  • Added support for the "Loading" property on weapons in addition to the existing "Reload" property to cover both use cases. Weapons in the SRD Items compendium which should have the Loading property now have it applied.
  • Ongoing improvements to localization with improvements for inventory, feature, and spell item containers and filtering translation strings.
  • Enforce a square aspect ratio for actor and item sheet profile artwork. Artwork that is not initially square will be centered with a cover fill mode.
  • Automatically apply sensible prototype token vision settings for character-type Actors when the actor is first created. For character actors, their prototype token will start with Has Vision (true), and Dim Vision (30) so that new users do not experience a frequent point of confusion where their newly created player character has no vision in the Scene.

Bug Fixes

  • Fixed an issue with item use restoration upon long rest.
  • Fixes to compendium data corruption in the SRD Monsters compendium due to certain NPCs with bad spell loadouts.
  • Fixes to several SRD Items which had incorrect data.
  • Fixes to several SRD Monsters which had incorrect data.
  • Fixes to numerous spells which did not have the correct action type assigned.
  • Corrections to the maximum dexterity modifier allowed by SRD armor types.
  • Prevent the header sections on inventory list containers from being draggable in addition to the items they contain.
  • Fix issues with incorrect data structure for the new "backpack" item type which used capacityType instead of capacity.type when updating its data.
  • Fixed a visual bug with the experience bar for Character actors which incorrectly showed the bar as full when the current XP value was set to zero.
  • Corrected an error with Actor sheet updating which could cause a custom Prototype Token size to be overwritten with the default dimensions for the 5e monster size category.

Contributors

This D&D5E system release was supported by contributions from many community members who contributed their time and expertise to improving the system. Please share your thanks with the following:

  • Fyorl for contributions of Compendium corrections, and item improvements, and translation improvements.
  • tposney for core compendium improvements for items and spells.
  • Felix for bugfixes.
  • Rwanoux for localization improvements and recommendations.
  • GatesVP for fixes to data corruption in the SRD Monsters compendium.

Coming Next

The next core VTT update (0.4.4) is going to change a lot of things with Embedded Entities (like Owned Items, or Tokens) that I will want to take advantage of in the 5e system. The next 5e update will be mostly to tackle compatibility with the upcoming core software update - but I'll also be working on several new features. Please see https://gitlab.com/foundrynet/dnd5e/-/milestones/3 for upcoming changes and reach out if you would like to contribute.

release-0.7.3

14 Jun 02:14
Compare
Choose a tag to compare

Release version 0.73 requiring core version 0.4.2

release-0.7.2

13 Jun 16:44
Compare
Choose a tag to compare

D&D5e System Release v0.72

Note now that the D&D5E system is no longer automatically bundled with the core VTT software, you must manually update the D&D5E system from the setup panel as you do with other modules and systems.

  • Add display for the set of damage types dealt by an Item damage formula as part of the chat card display.
  • Improve upon the "Saving Throw" roll added as a chat card button to support rolling saving throws for multiple controlled tokens simultaneously.
  • Restored support for the "backpack" Item type with it's own data model to support container type items which have weight and allowance tracking. Thanks to Fyorl for the contribution of this feature. Note that backpack items do not yet work as containers in the UI, but the underlying data structure will enable this for the future.
  • Added a new chat card button to handle rolling of an "Other Formula" which is applied to an Item.
  • Improved the chat card display for Items which have a maximum range to show the "range/long (units)" as part of the chat card property for better clarity.
  • Removed a no longer necessary backwards-compatibility migration function from the Trait Selector dialog class.
  • Fixed a bug which prevented NPC challenge rating strings from being appropriately saved to the data model as decimal but displayed as a string fraction.
  • Correct CSS artifacts around text wrapping with Firefox for NPC legendary and lair actions.
  • Fix an issue which caused clicking the "cancel" button of the Short Rest dialog to still display a chat message as if the rest had been confirmed.
  • Improve CSS rules for Item directory containers (Inventory, Features, Spellbook) to improve scroll bars where previously double-bars could be caused by a container overflow.
  • Fix a bug with the Special Traits window which prevented a trait from being assigned if a value for an existing traits was removed or set to zero.

release-0.7.1

13 Jun 16:44
Compare
Choose a tag to compare

D&D5e System Release v0.71

Note now that the D&D5E system is no longer automatically bundled with the core VTT software, you must manually update the D&D5E system from the setup panel as you do with other modules and systems.

  • Introduce a dialog displayed when casting a prepared spell which consumes a spell slot that prompts the user to select the spell level at which they wish to cast the spell. The available choices are all levels greater than or equal to the normal level of the spell for which the character has at least one maximum spell slot. You are only able to select a level at which to cast where you have one or more spell slots remaining to spend. When the chosen spell level is confirmed, the spell slots counter for the chosen spell level will be automatically deducted. A checkbox allows you to bypass this requirement and cast the spell without actually consuming the spell slot. When casting a spell from the character sheet, SHIFT+Click will bypass the level selection dialog and skip directly to casting the spell at it's minimum allowable level. Please note that damage scaling from upcasting spells is not yet automated as part of this enhancement - this is a phase one which implements the spell level selection and automated consumption of spell slots. Applying damage scaling formula automatically for upcast spells will be included in the next 5e update.
  • The Saving Throw button displayed in chat item cards enables all players (both the original user of the item as well as other players) to quickly make saving throws as necessary. A saving throw of the appropriate type will rolled for your currently controlled Token. SHIFT+Click on the Saving Throw button will bypass the dialog for choosing advantage/disadvantage or applying additional modifiers.
  • Improved automatic migration functions for pre-0.4.x worlds in several ways.
    • Added more explicit migration support for Scenes and Scene-type world compendium packs to handle Tokens in those scenes which have actorData overrides applied that also need to be migrated.
    • Fixed a temporary problem immediately after migration where some data in the currently viewed Scene would still appear incorrect, even though the underlying data had correctly migrated.
    • Fixed an issue with armor type migration which should now properly persist the armor type of Equipment items if they were labeled in a way that matches the config enum.
    • Improve handling of deprecation migration for unused fields to ensure those fields were not explicitly updated by some prior migration.
    • Improve the logic for weapon item migrations to avoid exiting early if weapon property flags were not set, which resulted in bypassing other migrations which still should have occured.
    • Fixed migration issues for Tokens in Scenes which point to an Actor ID which does not exist.
  • Restored the correct healing formulae for healing potions in the Items SRD compendium pack.
  • Improve the automatic sizing of item sheet dimensions. The size of the Descriptions tab will remain the same, but the Details tab will be more adaptively sized up to a maximum allowable height, beyond which scrolling is required.
  • Compress the sizing and dimensions of the character and NPC sheets slightly to better accomodate small viewport devices (specifically 768px height). The new character sheet clocks in at 732px height down from 780px previously.
  • Fix several character sheet bugs introduced with the 0.4.0 update including:
    • Inventory item weights only showed the weight for a single item, rather than the weight of the full stack in cases where quantity > 1.
    • Removed starting/default values for character race and alignment, these fields will now simply begin as blank.
    • Removed the incorrect +2 initiative modifier which newly created Actors were automatically starting with.
    • Removed the "rollable" tag from the Health attribute on Player Character sheets which incorrectly indicated that it could be clicked upon.
    • Fixed the ability to expand and display in chat player class levels from the Features tab.
    • Fixed the labels for skill and ability check dialogs which previously were pulling undefined strings.
    • Corrected the behavior of the currency converter button which now works as intended.
    • Display zero charges when an item with a maximum number of charges has none remaining as was intended. Previously empty items were incorrectly not showing charges at all.
  • You may now copy text from an item card displayed to chat by the 5e system. Previously this text was not selectable.

release-0.7.0

13 Jun 16:44
Compare
Choose a tag to compare

Foundry VTT - D&D5E Version 0.7.0

  • The 5e system has been almost totally redesigned in order to feature a new structure as an ES6 module, a new data template which uses the new core template features. An expanded and modified Actor and Item data model to incorporate much more information in a more direct format, and many other new features.
  • The above changes involved significant alterations to the D&D5e data model. Please consult the compiled model structure in game.system.model to see the new schema which should be used for D&D5e Actors and Items. Furthermore, please inspect the included migrations module in the D&D5E repo and available as within the API as game.dnd5e.migrations for a variety of helpful functions which help to migrate existing Entities and illustrate the changes which occured to the data. For module developers working in the D&D space, I strongly encourage you to connect with me on Discord for any help you need in updating to this latest data specification.
  • Many fields in the data model which were previously used are now deprecated and will be removed by Foundry VTT version 0.5.x. These fields are retained in the data model for now, but flagged with a _deprecated key.
  • The character and item sheets have been fully redesigned for a more professional aesthetic with a cleaner and more powerful structure.
  • Many monsters from CR1 to CR9 have been incorporated into the Monsters SRD compendium pack.
  • A new round of Token artwork courtesy of Stryxin from Forgotten Adventures and creature biographies courtesy of Penelope (Vyrnali) are available for low-CR creatures.
  • Core concepts of the 5e system like action type, target type, distance units, activation costs, currency denominations and much much more are now persisted as enumeration objects within the CONFIG.DND5E namespace.
  • The inventory, spellbook, and features tabs for Actor and NPC sheets now have a helpful set of filters which allow you to restrict visibility of the item list to items which have a certain activation cost or usage condition.
  • Separate spellbook sections for Innate Spellcasting, Always Available spells, and Pact Magic has been added which no longer uses the same set of spell slots as the spell would if it were prepared normally. This is configured through the "Spell Preparation Mode" field in the Spell Details tab.
  • Weapon damage rolls are no longer assumed to benefit from the ability score modifier of their designated ability. While this is usually the case there are many scenarios where this modifier is not granted, therefore the default is that the modifier is excluded from the damage roll unless included with either the a direct attribute reference like @abilities.str.mod or the shorthand @mod tag.
  • Changing an Actor size on the traits tab will automatically adjust the dimensions of their prototype token according to the stated size rules. To set Token base dimensions differently, edit the Actor sheet first then go update the Token size to some non-standard dimension.
  • String labels for elements of the data model have been moved outside the data template which is stored on every actor and maintained as system level metadata which is either statically or dynamically computed for HTML rendering.
  • All items which can deal damage now support multiple damage types with separate fields for components of the damage formula. Each component of the damage formula may have a different damage type assigned to it.
  • Redesigned the use of the versatile damage modifier. The versatile field defines an alternative formula which will replace the first component of the damage formula if the item is used in a versatile way. This level of generalization works well for both versatile weapons as well as for spells like Toll the Dead which deal a different amount of damage in certain situations.
  • Added an "other formula" field to all activated items which can specify any arbitrary dice formula that can be rolled in addition to attack and damage rolls. This can be useful for additional damage like poison, for ancillary skill checks or saving throws, or for random results which apply to the effect like for prismatic spray.
  • Weapon properties have been migrated from a free-form string to a structured list of boolean flags.
  • Spell components have been migrated from a free-form string to a structured list of boolean flags.
  • Ability activation cost has been changed from a free form string to a 3 part form featuring a cost type and a numeric activation cost value.
  • Spell or Feat effect duration has been changed from a free-form string to a structured field with 2 values; a numeric duration value and a designation of duration units.
  • Effect targets have been changed from a free-form string field to a structured object containing a numeric value, a designation of units, and a target type.
  • Ability range has been changed from a free-form text field to a structured object with a numeric value and designation of distance units.
  • Added support for all physical items to provide a boolean flag for whether or not they are identified as well as a separate text description to be shown in the event the item is not yet identified. This unidentified text is not yet used, but will be adopted in an upcoming version.
  • Added support for spell upcasting and cantrip damage scaling. Cantrip damage scaling is already supported with automatic scaling based on character level or NPC spellcasting level (or CR). Spell upcasting is supported now in the data model, with future UI work to allow for automation and selection of the spell level at which to cast a spell.
  • Spell saving throws can now accept an explicit spell DC which would override the default formula based on the caster's spellcasting modifier and proficiency score.
  • Armor type items may now track the maximum dexterity modifier which can be granted by the piece of equipment.
  • Added a new equipment type "trinket" which can be used for items which are equipped and attuned but worn like jewelry rather than used strictly as consumables.
  • Localization support has been added for a great many strings used in the D&D5E system. This effort is not complete, but this update goes a long way towards supporting translation for D&D5E into other languages. Please see the file lang/en.json in the D&D5E repo for English string keys and translations. Follow the same procedure used by the core software for translating these strings for support in other languages.
  • Added an optional attribute for spellcasting level for NPCs so that different NPC creatures can have a specific spellcaster level assigned which may differ from their challenge rating.
  • Expand the actor data model to support an optional additive bonus for each skill which, in combination with the multiplicative bonus to proficiency will determine the total skill modifier.
  • Added a convenient conversion button to the currency display on Actor Sheets which will upwards convert all carried currency to the maximum allowed denomination using standard currency conversion rules. Electrum counts as 5 silver each (2 per gold). I don't care about your edge cases.
  • Limited item uses are now supported for every item type which can be activated. Different limited usage modes are available ranging from per short rest, per long rest, per day, and charge based. Additionally, items can be restricted in use based on a recharge r6 roll which is tracked and automated on the character sheet.
  • Trait selector UI now supports a string separator character of a semi-colon (;) which will break a custom trait string to be displayed as multiple tags.
  • Added explicit tracking for armor, weapon, and tool proficiencies in the Traits section of the character sheet.
  • When adding spells to NPC sheets, those spells are assumed to be initially prepared by default. When adding weapons and armor to NPC sheets, those items are assumed to be equipped and the actor is assumed to be proficient in their usage by default.
  • Added an explicit software license (GPLv3) and content license (OGL) files to the D&D5E repository.
  • Fixed a bug which casued critical success and failure highlighting to be revealed for blind dice rolls.
  • The "Backpack" type item has been renamed to "Loot" to better reflect its intended usage.