Commit 7bd8a0e
authored
Add rule elements for active effects (#519)
* Make the checktypes a set
* Add triggers for expenses
* Add a targeting rule predicate
* Provide quantifier option for effect predicate
* Let's use CharacterInfo as the name for the event data
* Add a rule trigger on effect toggling
* Add a prompt for applying damage
* Add update resource prompt
* Add action to update track
* Add dialog prompt for effects that can modify damage types
* Add custom icon select dialog
* Add damage source option to calculate damage trigger
* Add update token action
* Add play sound effect action
* Add text enrichment to the message rule action
* Use a foldout for the REs
* Make the damage rule trigger sources a aset
* Add action to execute macro
* Add render check rule trigger
* Add initialize check rule trigger
Refactor common section targeted
* Add support for update resource to add targeted actions
* Add selected option for update resource
* Add initialize check trigger support on weapons
* Fix remove effect message handler
* Add support for instancing effect from fuid to apply effect RE
* Filter by check types
* Fix up resource request absoluting on request ctor
* Support targeting non-check skills
* Use colors for resource gain/loss
* Fix missing check for inspector
* Add damage and resource data models to consumables
* Add trigger and action for create consumable
* Add a generic traits data model
* Add a traits rule predicate
* Separate model for traits and trait predicate
* Fix up several trait issues
* Use new icon set for affinities
* Add resource data model for spell
* Add various confirmation dialogs for RE window
* Fix up resouce usage by spell data
* Remove base 64 methods from inline helper
* Clean up character info
* Simplify the dispatch of the initialize check event
* Rename CommonSections.actions
* Add register callback for process check hook
* Add comments for async hooks
* Add effect application data to spell
* Fix invoking modifyDamage when no damage is set
* Add support for resource + effects in skills
* Fix up spell damage validation
* Rename to subscollectionfield
* Rename the sub document uuid property to guid as it'ss not an actual uuid
* Remove the duplicate icons
* Add warnings for when players try to apply to non-owned actors
* Fix up the array element rendering
* Have the spell rule predicate replace the spell rule trigger
* Add source info to the apply effect prompt
* Start implementing a damage customizer on REs
* Consolidate the changes applied by REs into the damage modifiers
* Set event hook for the toggles in the dialog
* Update the type selection
* Add cost data to the damage modifiers
* Correct the damage customization check
* Add support for elementalist cataclysm1 parent 22070e8 commit 7bd8a0e
File tree
193 files changed
+8217
-992
lines changed- lang
- module
- checks
- documents
- actors
- common
- effects
- actions
- predicates
- triggers
- items
- basic
- classFeature
- tinkerer
- common
- consumable
- misc
- optionalFeature
- skill
- spell
- weapon
- sub
- expressions
- fields
- helpers
- tables
- pipelines
- sheets
- ui
- styles
- css
- chat
- components
- global
- utils
- static/affinities/icons
- templates
- chat
- partials
- common
- dialog
- effects
- actions
- predicates
- triggers
- item/partials
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
193 files changed
+8217
-992
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| 491 | + | |
491 | 492 | | |
492 | 493 | | |
493 | 494 | | |
| |||
566 | 567 | | |
567 | 568 | | |
568 | 569 | | |
| 570 | + | |
569 | 571 | | |
570 | 572 | | |
571 | 573 | | |
| |||
689 | 691 | | |
690 | 692 | | |
691 | 693 | | |
| 694 | + | |
692 | 695 | | |
693 | 696 | | |
694 | 697 | | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
695 | 701 | | |
696 | 702 | | |
697 | 703 | | |
| |||
937 | 943 | | |
938 | 944 | | |
939 | 945 | | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
940 | 956 | | |
941 | 957 | | |
942 | 958 | | |
| |||
1586 | 1602 | | |
1587 | 1603 | | |
1588 | 1604 | | |
1589 | | - | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
1590 | 1706 | | |
1591 | 1707 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
100 | | - | |
101 | | - | |
102 | | - | |
| 99 | + | |
103 | 100 | | |
104 | | - | |
| 101 | + | |
105 | 102 | | |
106 | 103 | | |
107 | | - | |
108 | | - | |
| 104 | + | |
| 105 | + | |
109 | 106 | | |
110 | 107 | | |
111 | | - | |
| 108 | + | |
112 | 109 | | |
113 | | - | |
| 110 | + | |
114 | 111 | | |
115 | | - | |
| 112 | + | |
116 | 113 | | |
117 | 114 | | |
118 | 115 | | |
119 | 116 | | |
120 | 117 | | |
121 | 118 | | |
122 | | - | |
| 119 | + | |
123 | 120 | | |
124 | 121 | | |
125 | 122 | | |
126 | 123 | | |
127 | 124 | | |
128 | | - | |
| 125 | + | |
129 | 126 | | |
130 | 127 | | |
131 | 128 | | |
132 | 129 | | |
133 | 130 | | |
134 | 131 | | |
135 | | - | |
| 132 | + | |
136 | 133 | | |
137 | 134 | | |
138 | 135 | | |
139 | 136 | | |
140 | 137 | | |
141 | 138 | | |
142 | | - | |
| 139 | + | |
143 | 140 | | |
144 | 141 | | |
145 | 142 | | |
| |||
157 | 154 | | |
158 | 155 | | |
159 | 156 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | 157 | | |
178 | 158 | | |
179 | | - | |
| 159 | + | |
180 | 160 | | |
181 | 161 | | |
182 | 162 | | |
| |||
0 commit comments