foundryvtt / dnd5e

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

Activities with "Legendary Action" activation type should consume automatically #4718

Open arbron opened 1 week ago

arbron commented 1 week ago

Currently in order to properly set up legendary actions requires setting the activation type to Legendary Action, and adding attribute consumption to consume the legendary actions attribute on NPCs. It would be simpler if setting the activation type caused the system to handle that consumption on its own, without the extra step.

As part of the migration, the system should check whether legendary actions are already set in consumption to ensure that they are only consumed once.