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

[#4713, #4714] Disallow using same order twice, fix enlarge bug #4750

Closed arbron closed 1 day ago

arbron commented 1 week ago

Adds a new canUse method to activities. The OrderActivity will not allow usage of an activity if the facility is already executing the same order or if it is the enlarge order and the facility is already as maximum size.

Closes #4713 Closes #4714