foundryvtt / dnd5e

An implementation of the 5th Edition game system for Foundry Virtual Tabletop (http://foundryvtt.com).
MIT License
276 stars 177 forks source link

[#3444] Re-implement summoned item modifications using enchantments #3576

Closed arbron closed 2 weeks ago

arbron commented 2 weeks ago

Rather than changing items on summoned actors directly, this now uses an enchantment with a fixed ID for those changes to ensure that it can be properly updated on re-summoning linked actors.

In order to get this to work on all actor types this removes the restriction on applying enchantments. Enchantments can still only be added manually to item types marked enchantable, but any enchantments created programatically on those items can be properly applied.

Closes #3444