Skip to content

feature/resourceRefactor

  • Rename powers cost field to resources
  • Implement a new syntax for the automatic manipulation of resources via powers:
    • For numeric resources (command points, ki, custom resources):
      • +N resourcename to increase the resource value
      • -N resourcename to decrease the resource value (asks confirmation if <=0)
      • N resourcename to override the resource value
    • For binary/flag resources (momentum, focus, custom resources):
      • +resourcename to set the resource value
      • -resourcename to unset the resource value (asks confirmation if already unset)
      • resourcename to test the resource value (asks confirmation if unset)
    • Note: Custom resources always display as numeric but can be treated as flags (0=false, 1=true, useful for math in inline rolls)
  • Support handling multiple (comma-separated) resources in resources field
  • Support resource name localization
  • Support inline rolls in resources field
  • Support recoveries as a resource in resources field
  • Support compendium links in rollTable field
  • Support altering most outcomes of item usage in embedded macros
  • Add support for the new Combat Rhythm resource (!291 (merged))
  • Add automatic command points updates to the Fight from the Front and Weigh the Odds powers
  • Add migration to move legacy powers cost field to new field and syntax
  • Add new syntax to in-game documentation
  • Update system powers to use new field and syntax
Edited by LegoFed3

Merge request reports

Loading