@opencharacter/godbound-core 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -4
- package/dist/i18n/en.js +1 -1
- package/dist/i18n/en.json +120 -115
- package/dist/index.js +1 -1
- package/dist/release.json +449 -324
- package/i18n/en/content.yaml +110 -110
- package/i18n/en.yaml +10 -5
- package/pack.yaml +2 -2
- package/package.json +2 -2
- package/rules/combat.yaml +14 -12
- package/rules/creation.yaml +14 -20
- package/rules/effort.yaml +10 -4
- package/rules/gear.yaml +10 -1
- package/rules/layout.yaml +2 -0
- package/rules/tags.yaml +5 -0
package/dist/release.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": {
|
|
3
3
|
"id": "godbound-core",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"specVersion": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"specVersion": "0.3.0",
|
|
6
6
|
"license": "LicenseRef-sine-nomine-free-edition",
|
|
7
7
|
"credit": "Text from Godbound: A Game of Divine Heroes (Free Edition), © 2016 Sine Nomine Publishing, by Kevin Crawford. Used with the author's permission.",
|
|
8
8
|
"notices": {
|
|
@@ -537,6 +537,14 @@
|
|
|
537
537
|
"type": "integer",
|
|
538
538
|
"formula": "effort.max - effort.committed"
|
|
539
539
|
},
|
|
540
|
+
"gear.armor": {
|
|
541
|
+
"type": "set",
|
|
542
|
+
"of": "armor"
|
|
543
|
+
},
|
|
544
|
+
"gear.shields": {
|
|
545
|
+
"type": "set",
|
|
546
|
+
"of": "shield"
|
|
547
|
+
},
|
|
540
548
|
"lowMagic.spontaneous": {
|
|
541
549
|
"type": "integer",
|
|
542
550
|
"input": true,
|
|
@@ -656,36 +664,48 @@
|
|
|
656
664
|
}
|
|
657
665
|
],
|
|
658
666
|
"resultBands": {
|
|
659
|
-
"d20":
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
667
|
+
"d20": [
|
|
668
|
+
{
|
|
669
|
+
"id": "success",
|
|
670
|
+
"when": "roll.kept[0] == 20"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"id": "failure",
|
|
674
|
+
"when": "roll.kept[0] == 1"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"id": "success",
|
|
678
|
+
"when": "roll.total >= flags.target",
|
|
679
|
+
"success": true
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"id": "failure",
|
|
683
|
+
"when": true
|
|
684
|
+
}
|
|
685
|
+
],
|
|
686
|
+
"attack": [
|
|
687
|
+
{
|
|
688
|
+
"id": "hit",
|
|
689
|
+
"when": "roll.kept[0] == 20"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"id": "miss",
|
|
693
|
+
"when": "roll.kept[0] == 1"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"id": "rolled",
|
|
697
|
+
"when": "!flags.known"
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"id": "hit",
|
|
701
|
+
"when": "roll.total >= 20 - flags.ac",
|
|
702
|
+
"success": true
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"id": "miss",
|
|
706
|
+
"when": true
|
|
707
|
+
}
|
|
708
|
+
]
|
|
689
709
|
},
|
|
690
710
|
"actions": [
|
|
691
711
|
{
|
|
@@ -1192,9 +1212,16 @@
|
|
|
1192
1212
|
}
|
|
1193
1213
|
},
|
|
1194
1214
|
"results": [
|
|
1195
|
-
"healed"
|
|
1215
|
+
"healed",
|
|
1216
|
+
"no-effort"
|
|
1196
1217
|
],
|
|
1197
1218
|
"steps": [
|
|
1219
|
+
{
|
|
1220
|
+
"id": "noEffort",
|
|
1221
|
+
"kind": "outcome",
|
|
1222
|
+
"when": "params.magical && effort.free < 1",
|
|
1223
|
+
"result": "'no-effort'"
|
|
1224
|
+
},
|
|
1198
1225
|
{
|
|
1199
1226
|
"id": "restore",
|
|
1200
1227
|
"kind": "changes",
|
|
@@ -1564,72 +1591,44 @@
|
|
|
1564
1591
|
{
|
|
1565
1592
|
"id": "armor",
|
|
1566
1593
|
"kind": "choice",
|
|
1567
|
-
"options":
|
|
1568
|
-
{
|
|
1569
|
-
"
|
|
1570
|
-
},
|
|
1571
|
-
{
|
|
1572
|
-
"id": "light",
|
|
1573
|
-
"changes": [
|
|
1574
|
-
{
|
|
1575
|
-
"type": "addItem",
|
|
1576
|
-
"entry": {
|
|
1577
|
-
"item": "'armor.light'",
|
|
1578
|
-
"equipped": true
|
|
1579
|
-
}
|
|
1580
|
-
}
|
|
1581
|
-
]
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
"id": "medium",
|
|
1585
|
-
"changes": [
|
|
1586
|
-
{
|
|
1587
|
-
"type": "addItem",
|
|
1588
|
-
"entry": {
|
|
1589
|
-
"item": "'armor.medium'",
|
|
1590
|
-
"equipped": true
|
|
1591
|
-
}
|
|
1592
|
-
}
|
|
1593
|
-
]
|
|
1594
|
-
},
|
|
1595
|
-
{
|
|
1596
|
-
"id": "heavy",
|
|
1597
|
-
"changes": [
|
|
1598
|
-
{
|
|
1599
|
-
"type": "addItem",
|
|
1600
|
-
"entry": {
|
|
1601
|
-
"item": "'armor.heavy'",
|
|
1602
|
-
"equipped": true
|
|
1603
|
-
}
|
|
1604
|
-
}
|
|
1605
|
-
]
|
|
1594
|
+
"options": {
|
|
1595
|
+
"values": {
|
|
1596
|
+
"formula": "['none'] + sortList(gear.armor, -itemField(x, 'ac'))"
|
|
1606
1597
|
}
|
|
1607
|
-
|
|
1598
|
+
},
|
|
1608
1599
|
"random": "params.random",
|
|
1609
|
-
"recommend": "'none'"
|
|
1600
|
+
"recommend": "'none'",
|
|
1601
|
+
"changes": [
|
|
1602
|
+
{
|
|
1603
|
+
"type": "addItem",
|
|
1604
|
+
"when": "picked.value != 'none'",
|
|
1605
|
+
"entry": {
|
|
1606
|
+
"item": "picked.value",
|
|
1607
|
+
"equipped": true
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
]
|
|
1610
1611
|
},
|
|
1611
1612
|
{
|
|
1612
1613
|
"id": "shield",
|
|
1613
1614
|
"kind": "choice",
|
|
1614
|
-
"options":
|
|
1615
|
-
{
|
|
1616
|
-
"
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
"id": "shield",
|
|
1620
|
-
"changes": [
|
|
1621
|
-
{
|
|
1622
|
-
"type": "addItem",
|
|
1623
|
-
"entry": {
|
|
1624
|
-
"item": "'shields.shield'",
|
|
1625
|
-
"equipped": true
|
|
1626
|
-
}
|
|
1627
|
-
}
|
|
1628
|
-
]
|
|
1615
|
+
"options": {
|
|
1616
|
+
"values": {
|
|
1617
|
+
"formula": "['none'] + sortList(gear.shields, itemField(x, 'bonus'))"
|
|
1629
1618
|
}
|
|
1630
|
-
|
|
1619
|
+
},
|
|
1631
1620
|
"random": "params.random",
|
|
1632
|
-
"recommend": "'none'"
|
|
1621
|
+
"recommend": "'none'",
|
|
1622
|
+
"changes": [
|
|
1623
|
+
{
|
|
1624
|
+
"type": "addItem",
|
|
1625
|
+
"when": "picked.value != 'none'",
|
|
1626
|
+
"entry": {
|
|
1627
|
+
"item": "picked.value",
|
|
1628
|
+
"equipped": true
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
]
|
|
1633
1632
|
},
|
|
1634
1633
|
{
|
|
1635
1634
|
"id": "weapon",
|
|
@@ -1662,6 +1661,9 @@
|
|
|
1662
1661
|
},
|
|
1663
1662
|
{
|
|
1664
1663
|
"id": "finish",
|
|
1664
|
+
"tags": [
|
|
1665
|
+
"creation.finish"
|
|
1666
|
+
],
|
|
1665
1667
|
"kind": "changes",
|
|
1666
1668
|
"sheet": "proposed",
|
|
1667
1669
|
"changes": [
|
|
@@ -1694,6 +1696,9 @@
|
|
|
1694
1696
|
"steps": [
|
|
1695
1697
|
{
|
|
1696
1698
|
"id": "advance",
|
|
1699
|
+
"tags": [
|
|
1700
|
+
"level.gain"
|
|
1701
|
+
],
|
|
1697
1702
|
"kind": "changes",
|
|
1698
1703
|
"changes": [
|
|
1699
1704
|
{
|
|
@@ -1800,7 +1805,8 @@
|
|
|
1800
1805
|
"amount": {
|
|
1801
1806
|
"type": "integer",
|
|
1802
1807
|
"default": 1,
|
|
1803
|
-
"min": 1
|
|
1808
|
+
"min": 1,
|
|
1809
|
+
"max": "effort.free"
|
|
1804
1810
|
}
|
|
1805
1811
|
},
|
|
1806
1812
|
"results": [
|
|
@@ -1860,9 +1866,16 @@
|
|
|
1860
1866
|
}
|
|
1861
1867
|
},
|
|
1862
1868
|
"results": [
|
|
1863
|
-
"invoked"
|
|
1869
|
+
"invoked",
|
|
1870
|
+
"no-effort"
|
|
1864
1871
|
],
|
|
1865
1872
|
"steps": [
|
|
1873
|
+
{
|
|
1874
|
+
"id": "noEffort",
|
|
1875
|
+
"kind": "outcome",
|
|
1876
|
+
"when": "params.kind == 'mimic-day-gift' && effort.free < 2",
|
|
1877
|
+
"result": "'no-effort'"
|
|
1878
|
+
},
|
|
1866
1879
|
{
|
|
1867
1880
|
"id": "commit",
|
|
1868
1881
|
"kind": "changes",
|
|
@@ -1928,6 +1941,9 @@
|
|
|
1928
1941
|
"steps": [
|
|
1929
1942
|
{
|
|
1930
1943
|
"id": "reset",
|
|
1944
|
+
"tags": [
|
|
1945
|
+
"rest.scene"
|
|
1946
|
+
],
|
|
1931
1947
|
"kind": "changes",
|
|
1932
1948
|
"changes": [
|
|
1933
1949
|
{
|
|
@@ -1967,6 +1983,9 @@
|
|
|
1967
1983
|
"steps": [
|
|
1968
1984
|
{
|
|
1969
1985
|
"id": "reset",
|
|
1986
|
+
"tags": [
|
|
1987
|
+
"rest.day"
|
|
1988
|
+
],
|
|
1970
1989
|
"kind": "changes",
|
|
1971
1990
|
"changes": [
|
|
1972
1991
|
{
|
|
@@ -2050,7 +2069,8 @@
|
|
|
2050
2069
|
"amount": {
|
|
2051
2070
|
"type": "integer",
|
|
2052
2071
|
"default": 1,
|
|
2053
|
-
"min": 1
|
|
2072
|
+
"min": 1,
|
|
2073
|
+
"max": "influence.free"
|
|
2054
2074
|
}
|
|
2055
2075
|
},
|
|
2056
2076
|
"results": [
|
|
@@ -2085,7 +2105,8 @@
|
|
|
2085
2105
|
"amount": {
|
|
2086
2106
|
"type": "integer",
|
|
2087
2107
|
"default": 1,
|
|
2088
|
-
"min": 1
|
|
2108
|
+
"min": 1,
|
|
2109
|
+
"max": "influence.committed"
|
|
2089
2110
|
}
|
|
2090
2111
|
},
|
|
2091
2112
|
"results": [
|
|
@@ -2849,6 +2870,24 @@
|
|
|
2849
2870
|
"value": 3,
|
|
2850
2871
|
"when": "miracle.armor"
|
|
2851
2872
|
},
|
|
2873
|
+
{
|
|
2874
|
+
"target": "gear.armor",
|
|
2875
|
+
"op": "grant",
|
|
2876
|
+
"value": {
|
|
2877
|
+
"query": {
|
|
2878
|
+
"type": "armor"
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"target": "gear.shields",
|
|
2884
|
+
"op": "grant",
|
|
2885
|
+
"value": {
|
|
2886
|
+
"query": {
|
|
2887
|
+
"type": "shield"
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2890
|
+
},
|
|
2852
2891
|
{
|
|
2853
2892
|
"id": "low-magic-strain",
|
|
2854
2893
|
"target": {
|
|
@@ -2982,7 +3021,8 @@
|
|
|
2982
3021
|
"medium",
|
|
2983
3022
|
"heavy"
|
|
2984
3023
|
],
|
|
2985
|
-
"required": true
|
|
3024
|
+
"required": true,
|
|
3025
|
+
"open": true
|
|
2986
3026
|
},
|
|
2987
3027
|
"ac": {
|
|
2988
3028
|
"type": "integer",
|
|
@@ -3792,6 +3832,12 @@
|
|
|
3792
3832
|
"widget": "checkbox"
|
|
3793
3833
|
}
|
|
3794
3834
|
},
|
|
3835
|
+
"gear.armor": {
|
|
3836
|
+
"hidden": true
|
|
3837
|
+
},
|
|
3838
|
+
"gear.shields": {
|
|
3839
|
+
"hidden": true
|
|
3840
|
+
},
|
|
3795
3841
|
"damage.melee.floor": {
|
|
3796
3842
|
"hidden": true
|
|
3797
3843
|
},
|
|
@@ -4261,6 +4307,10 @@
|
|
|
4261
4307
|
"failed-save",
|
|
4262
4308
|
"creation",
|
|
4263
4309
|
"level",
|
|
4310
|
+
"creation.finish",
|
|
4311
|
+
"level.gain",
|
|
4312
|
+
"rest.scene",
|
|
4313
|
+
"rest.day",
|
|
4264
4314
|
"effort",
|
|
4265
4315
|
"miracle",
|
|
4266
4316
|
"influence",
|
|
@@ -8597,6 +8647,20 @@
|
|
|
8597
8647
|
}
|
|
8598
8648
|
}
|
|
8599
8649
|
},
|
|
8650
|
+
"!flags.known": {
|
|
8651
|
+
"text": "!flags.known",
|
|
8652
|
+
"tree": {
|
|
8653
|
+
"type": "unary",
|
|
8654
|
+
"op": "!",
|
|
8655
|
+
"operand": {
|
|
8656
|
+
"type": "name",
|
|
8657
|
+
"path": [
|
|
8658
|
+
"flags",
|
|
8659
|
+
"known"
|
|
8660
|
+
]
|
|
8661
|
+
}
|
|
8662
|
+
}
|
|
8663
|
+
},
|
|
8600
8664
|
"!has(item.apotheosisLevel)\n && (item.repeatable || countCopies(copy.item == item.id) == 0)\n && (!has(item.requires) || countCopies(copy.item == item.requires) > 0)\n && (item.id != @gifts.universal.effort-of-the-word\n || gifts.effortOfTheWord < words.count)\n && (item.id != @gifts.universal.influence-of-the-word\n || gifts.influenceOfTheWord < words.count)\n && (!has(item.word) || item.word in words.bound\n || (!params.random && item.degree == 'lesser'))\n && (!has(item.word)\n ? (item.id == @gifts.universal.effort-of-the-word && gifts.effortOfTheWord > 0 ? 2 : 1)\n : item.word in words.bound ? (item.degree == 'greater' ? 2 : 1) : 2)\n <= gifts.points.free": {
|
|
8601
8665
|
"text": "!has(item.apotheosisLevel) && (item.repeatable || countCopies(copy.item == item.id) == 0) && (!has(item.requires) || countCopies(copy.item == item.requires) > 0) && (item.id != @gifts.universal.effort-of-the-word || gifts.effortOfTheWord < words.count) && (item.id != @gifts.universal.influence-of-the-word || gifts.influenceOfTheWord < words.count) && (!has(item.word) || item.word in words.bound || !params.random && item.degree == 'lesser') && (!has(item.word) ? (item.id == @gifts.universal.effort-of-the-word && gifts.effortOfTheWord > 0 ? 2 : 1) : item.word in words.bound ? (item.degree == 'greater' ? 2 : 1) : 2) <= gifts.points.free",
|
|
8602
8666
|
"tree": {
|
|
@@ -9655,27 +9719,6 @@
|
|
|
9655
9719
|
"value": "advanced"
|
|
9656
9720
|
}
|
|
9657
9721
|
},
|
|
9658
|
-
"'armor.heavy'": {
|
|
9659
|
-
"text": "'armor.heavy'",
|
|
9660
|
-
"tree": {
|
|
9661
|
-
"type": "string",
|
|
9662
|
-
"value": "armor.heavy"
|
|
9663
|
-
}
|
|
9664
|
-
},
|
|
9665
|
-
"'armor.light'": {
|
|
9666
|
-
"text": "'armor.light'",
|
|
9667
|
-
"tree": {
|
|
9668
|
-
"type": "string",
|
|
9669
|
-
"value": "armor.light"
|
|
9670
|
-
}
|
|
9671
|
-
},
|
|
9672
|
-
"'armor.medium'": {
|
|
9673
|
-
"text": "'armor.medium'",
|
|
9674
|
-
"tree": {
|
|
9675
|
-
"type": "string",
|
|
9676
|
-
"value": "armor.medium"
|
|
9677
|
-
}
|
|
9678
|
-
},
|
|
9679
9722
|
"'array'": {
|
|
9680
9723
|
"text": "'array'",
|
|
9681
9724
|
"tree": {
|
|
@@ -10187,6 +10230,13 @@
|
|
|
10187
10230
|
"value": "no"
|
|
10188
10231
|
}
|
|
10189
10232
|
},
|
|
10233
|
+
"'no-effort'": {
|
|
10234
|
+
"text": "'no-effort'",
|
|
10235
|
+
"tree": {
|
|
10236
|
+
"type": "string",
|
|
10237
|
+
"value": "no-effort"
|
|
10238
|
+
}
|
|
10239
|
+
},
|
|
10190
10240
|
"'none'": {
|
|
10191
10241
|
"text": "'none'",
|
|
10192
10242
|
"tree": {
|
|
@@ -10320,13 +10370,6 @@
|
|
|
10320
10370
|
}
|
|
10321
10371
|
}
|
|
10322
10372
|
},
|
|
10323
|
-
"'shields.shield'": {
|
|
10324
|
-
"text": "'shields.shield'",
|
|
10325
|
-
"tree": {
|
|
10326
|
-
"type": "string",
|
|
10327
|
-
"value": "shields.shield"
|
|
10328
|
-
}
|
|
10329
|
-
},
|
|
10330
10373
|
"'spent'": {
|
|
10331
10374
|
"text": "'spent'",
|
|
10332
10375
|
"tree": {
|
|
@@ -11586,6 +11629,100 @@
|
|
|
11586
11629
|
}
|
|
11587
11630
|
}
|
|
11588
11631
|
},
|
|
11632
|
+
"['none'] + sortList(gear.armor, -itemField(x, 'ac'))": {
|
|
11633
|
+
"text": "['none'] + sortList(gear.armor, -itemField(x, 'ac'))",
|
|
11634
|
+
"tree": {
|
|
11635
|
+
"type": "binary",
|
|
11636
|
+
"op": "+",
|
|
11637
|
+
"left": {
|
|
11638
|
+
"type": "list",
|
|
11639
|
+
"items": [
|
|
11640
|
+
{
|
|
11641
|
+
"type": "string",
|
|
11642
|
+
"value": "none"
|
|
11643
|
+
}
|
|
11644
|
+
]
|
|
11645
|
+
},
|
|
11646
|
+
"right": {
|
|
11647
|
+
"type": "call",
|
|
11648
|
+
"fn": "sortList",
|
|
11649
|
+
"args": [
|
|
11650
|
+
{
|
|
11651
|
+
"type": "name",
|
|
11652
|
+
"path": [
|
|
11653
|
+
"gear",
|
|
11654
|
+
"armor"
|
|
11655
|
+
]
|
|
11656
|
+
},
|
|
11657
|
+
{
|
|
11658
|
+
"type": "unary",
|
|
11659
|
+
"op": "-",
|
|
11660
|
+
"operand": {
|
|
11661
|
+
"type": "call",
|
|
11662
|
+
"fn": "itemField",
|
|
11663
|
+
"args": [
|
|
11664
|
+
{
|
|
11665
|
+
"type": "name",
|
|
11666
|
+
"path": [
|
|
11667
|
+
"x"
|
|
11668
|
+
]
|
|
11669
|
+
},
|
|
11670
|
+
{
|
|
11671
|
+
"type": "string",
|
|
11672
|
+
"value": "ac"
|
|
11673
|
+
}
|
|
11674
|
+
]
|
|
11675
|
+
}
|
|
11676
|
+
}
|
|
11677
|
+
]
|
|
11678
|
+
}
|
|
11679
|
+
}
|
|
11680
|
+
},
|
|
11681
|
+
"['none'] + sortList(gear.shields, itemField(x, 'bonus'))": {
|
|
11682
|
+
"text": "['none'] + sortList(gear.shields, itemField(x, 'bonus'))",
|
|
11683
|
+
"tree": {
|
|
11684
|
+
"type": "binary",
|
|
11685
|
+
"op": "+",
|
|
11686
|
+
"left": {
|
|
11687
|
+
"type": "list",
|
|
11688
|
+
"items": [
|
|
11689
|
+
{
|
|
11690
|
+
"type": "string",
|
|
11691
|
+
"value": "none"
|
|
11692
|
+
}
|
|
11693
|
+
]
|
|
11694
|
+
},
|
|
11695
|
+
"right": {
|
|
11696
|
+
"type": "call",
|
|
11697
|
+
"fn": "sortList",
|
|
11698
|
+
"args": [
|
|
11699
|
+
{
|
|
11700
|
+
"type": "name",
|
|
11701
|
+
"path": [
|
|
11702
|
+
"gear",
|
|
11703
|
+
"shields"
|
|
11704
|
+
]
|
|
11705
|
+
},
|
|
11706
|
+
{
|
|
11707
|
+
"type": "call",
|
|
11708
|
+
"fn": "itemField",
|
|
11709
|
+
"args": [
|
|
11710
|
+
{
|
|
11711
|
+
"type": "name",
|
|
11712
|
+
"path": [
|
|
11713
|
+
"x"
|
|
11714
|
+
]
|
|
11715
|
+
},
|
|
11716
|
+
{
|
|
11717
|
+
"type": "string",
|
|
11718
|
+
"value": "bonus"
|
|
11719
|
+
}
|
|
11720
|
+
]
|
|
11721
|
+
}
|
|
11722
|
+
]
|
|
11723
|
+
}
|
|
11724
|
+
}
|
|
11725
|
+
},
|
|
11589
11726
|
"[13, 14, 16, 13, 10, 8]": {
|
|
11590
11727
|
"text": "[13, 14, 16, 13, 10, 8]",
|
|
11591
11728
|
"tree": {
|
|
@@ -13501,6 +13638,16 @@
|
|
|
13501
13638
|
}
|
|
13502
13639
|
}
|
|
13503
13640
|
},
|
|
13641
|
+
"effort.free": {
|
|
13642
|
+
"text": "effort.free",
|
|
13643
|
+
"tree": {
|
|
13644
|
+
"type": "name",
|
|
13645
|
+
"path": [
|
|
13646
|
+
"effort",
|
|
13647
|
+
"free"
|
|
13648
|
+
]
|
|
13649
|
+
}
|
|
13650
|
+
},
|
|
13504
13651
|
"effort.free > 0": {
|
|
13505
13652
|
"text": "effort.free > 0",
|
|
13506
13653
|
"tree": {
|
|
@@ -16110,6 +16257,16 @@
|
|
|
16110
16257
|
]
|
|
16111
16258
|
}
|
|
16112
16259
|
},
|
|
16260
|
+
"influence.committed": {
|
|
16261
|
+
"text": "influence.committed",
|
|
16262
|
+
"tree": {
|
|
16263
|
+
"type": "name",
|
|
16264
|
+
"path": [
|
|
16265
|
+
"influence",
|
|
16266
|
+
"committed"
|
|
16267
|
+
]
|
|
16268
|
+
}
|
|
16269
|
+
},
|
|
16113
16270
|
"influence.committed <= influence.max": {
|
|
16114
16271
|
"text": "influence.committed <= influence.max",
|
|
16115
16272
|
"tree": {
|
|
@@ -16149,12 +16306,22 @@
|
|
|
16149
16306
|
}
|
|
16150
16307
|
}
|
|
16151
16308
|
},
|
|
16152
|
-
"influence.free
|
|
16153
|
-
"text": "influence.free
|
|
16309
|
+
"influence.free": {
|
|
16310
|
+
"text": "influence.free",
|
|
16154
16311
|
"tree": {
|
|
16155
|
-
"type": "
|
|
16156
|
-
"
|
|
16157
|
-
|
|
16312
|
+
"type": "name",
|
|
16313
|
+
"path": [
|
|
16314
|
+
"influence",
|
|
16315
|
+
"free"
|
|
16316
|
+
]
|
|
16317
|
+
}
|
|
16318
|
+
},
|
|
16319
|
+
"influence.free > 0": {
|
|
16320
|
+
"text": "influence.free > 0",
|
|
16321
|
+
"tree": {
|
|
16322
|
+
"type": "binary",
|
|
16323
|
+
"op": ">",
|
|
16324
|
+
"left": {
|
|
16158
16325
|
"type": "name",
|
|
16159
16326
|
"path": [
|
|
16160
16327
|
"influence",
|
|
@@ -17942,6 +18109,43 @@
|
|
|
17942
18109
|
}
|
|
17943
18110
|
}
|
|
17944
18111
|
},
|
|
18112
|
+
"params.kind == 'mimic-day-gift' && effort.free < 2": {
|
|
18113
|
+
"text": "params.kind == 'mimic-day-gift' && effort.free < 2",
|
|
18114
|
+
"tree": {
|
|
18115
|
+
"type": "binary",
|
|
18116
|
+
"op": "&&",
|
|
18117
|
+
"left": {
|
|
18118
|
+
"type": "binary",
|
|
18119
|
+
"op": "==",
|
|
18120
|
+
"left": {
|
|
18121
|
+
"type": "name",
|
|
18122
|
+
"path": [
|
|
18123
|
+
"params",
|
|
18124
|
+
"kind"
|
|
18125
|
+
]
|
|
18126
|
+
},
|
|
18127
|
+
"right": {
|
|
18128
|
+
"type": "string",
|
|
18129
|
+
"value": "mimic-day-gift"
|
|
18130
|
+
}
|
|
18131
|
+
},
|
|
18132
|
+
"right": {
|
|
18133
|
+
"type": "binary",
|
|
18134
|
+
"op": "<",
|
|
18135
|
+
"left": {
|
|
18136
|
+
"type": "name",
|
|
18137
|
+
"path": [
|
|
18138
|
+
"effort",
|
|
18139
|
+
"free"
|
|
18140
|
+
]
|
|
18141
|
+
},
|
|
18142
|
+
"right": {
|
|
18143
|
+
"type": "int",
|
|
18144
|
+
"value": 2
|
|
18145
|
+
}
|
|
18146
|
+
}
|
|
18147
|
+
}
|
|
18148
|
+
},
|
|
17945
18149
|
"params.kind == 'mimic-day-gift' ? 2 : 1": {
|
|
17946
18150
|
"text": "params.kind == 'mimic-day-gift' ? 2 : 1",
|
|
17947
18151
|
"tree": {
|
|
@@ -17981,6 +18185,35 @@
|
|
|
17981
18185
|
]
|
|
17982
18186
|
}
|
|
17983
18187
|
},
|
|
18188
|
+
"params.magical && effort.free < 1": {
|
|
18189
|
+
"text": "params.magical && effort.free < 1",
|
|
18190
|
+
"tree": {
|
|
18191
|
+
"type": "binary",
|
|
18192
|
+
"op": "&&",
|
|
18193
|
+
"left": {
|
|
18194
|
+
"type": "name",
|
|
18195
|
+
"path": [
|
|
18196
|
+
"params",
|
|
18197
|
+
"magical"
|
|
18198
|
+
]
|
|
18199
|
+
},
|
|
18200
|
+
"right": {
|
|
18201
|
+
"type": "binary",
|
|
18202
|
+
"op": "<",
|
|
18203
|
+
"left": {
|
|
18204
|
+
"type": "name",
|
|
18205
|
+
"path": [
|
|
18206
|
+
"effort",
|
|
18207
|
+
"free"
|
|
18208
|
+
]
|
|
18209
|
+
},
|
|
18210
|
+
"right": {
|
|
18211
|
+
"type": "int",
|
|
18212
|
+
"value": 1
|
|
18213
|
+
}
|
|
18214
|
+
}
|
|
18215
|
+
}
|
|
18216
|
+
},
|
|
17984
18217
|
"params.maximize\n || (flags.ranged ? damage.ranged.maximize > 0 : damage.melee.maximize > 0)": {
|
|
17985
18218
|
"text": "params.maximize || (flags.ranged ? damage.ranged.maximize > 0 : damage.melee.maximize > 0)",
|
|
17986
18219
|
"tree": {
|
|
@@ -18339,239 +18572,131 @@
|
|
|
18339
18572
|
]
|
|
18340
18573
|
}
|
|
18341
18574
|
},
|
|
18342
|
-
"
|
|
18343
|
-
"text": "
|
|
18575
|
+
"picked.value": {
|
|
18576
|
+
"text": "picked.value",
|
|
18344
18577
|
"tree": {
|
|
18345
|
-
"type": "
|
|
18346
|
-
"
|
|
18347
|
-
"
|
|
18348
|
-
"
|
|
18349
|
-
|
|
18350
|
-
|
|
18351
|
-
|
|
18352
|
-
|
|
18353
|
-
|
|
18354
|
-
|
|
18355
|
-
|
|
18356
|
-
|
|
18357
|
-
|
|
18358
|
-
|
|
18359
|
-
|
|
18360
|
-
|
|
18361
|
-
|
|
18362
|
-
|
|
18363
|
-
"right": {
|
|
18364
|
-
"type": "int",
|
|
18365
|
-
"value": 20
|
|
18366
|
-
}
|
|
18367
|
-
},
|
|
18368
|
-
"then": {
|
|
18369
|
-
"type": "int",
|
|
18370
|
-
"value": 2
|
|
18578
|
+
"type": "name",
|
|
18579
|
+
"path": [
|
|
18580
|
+
"picked",
|
|
18581
|
+
"value"
|
|
18582
|
+
]
|
|
18583
|
+
}
|
|
18584
|
+
},
|
|
18585
|
+
"picked.value != 'none'": {
|
|
18586
|
+
"text": "picked.value != 'none'",
|
|
18587
|
+
"tree": {
|
|
18588
|
+
"type": "binary",
|
|
18589
|
+
"op": "!=",
|
|
18590
|
+
"left": {
|
|
18591
|
+
"type": "name",
|
|
18592
|
+
"path": [
|
|
18593
|
+
"picked",
|
|
18594
|
+
"value"
|
|
18595
|
+
]
|
|
18371
18596
|
},
|
|
18372
|
-
"
|
|
18373
|
-
"type": "
|
|
18374
|
-
"
|
|
18375
|
-
|
|
18376
|
-
|
|
18377
|
-
|
|
18378
|
-
|
|
18379
|
-
|
|
18380
|
-
|
|
18381
|
-
|
|
18382
|
-
|
|
18383
|
-
|
|
18384
|
-
|
|
18385
|
-
|
|
18386
|
-
|
|
18387
|
-
|
|
18388
|
-
|
|
18389
|
-
|
|
18390
|
-
|
|
18391
|
-
"right": {
|
|
18392
|
-
"type": "int",
|
|
18393
|
-
"value": 1
|
|
18394
|
-
}
|
|
18597
|
+
"right": {
|
|
18598
|
+
"type": "string",
|
|
18599
|
+
"value": "none"
|
|
18600
|
+
}
|
|
18601
|
+
}
|
|
18602
|
+
},
|
|
18603
|
+
"roll.kept[0] == 1": {
|
|
18604
|
+
"text": "roll.kept[0] == 1",
|
|
18605
|
+
"tree": {
|
|
18606
|
+
"type": "binary",
|
|
18607
|
+
"op": "==",
|
|
18608
|
+
"left": {
|
|
18609
|
+
"type": "index",
|
|
18610
|
+
"object": {
|
|
18611
|
+
"type": "name",
|
|
18612
|
+
"path": [
|
|
18613
|
+
"roll",
|
|
18614
|
+
"kept"
|
|
18615
|
+
]
|
|
18395
18616
|
},
|
|
18396
|
-
"
|
|
18617
|
+
"index": {
|
|
18397
18618
|
"type": "int",
|
|
18398
18619
|
"value": 0
|
|
18399
|
-
},
|
|
18400
|
-
"else": {
|
|
18401
|
-
"type": "conditional",
|
|
18402
|
-
"test": {
|
|
18403
|
-
"type": "unary",
|
|
18404
|
-
"op": "!",
|
|
18405
|
-
"operand": {
|
|
18406
|
-
"type": "name",
|
|
18407
|
-
"path": [
|
|
18408
|
-
"flags",
|
|
18409
|
-
"known"
|
|
18410
|
-
]
|
|
18411
|
-
}
|
|
18412
|
-
},
|
|
18413
|
-
"then": {
|
|
18414
|
-
"type": "int",
|
|
18415
|
-
"value": 1
|
|
18416
|
-
},
|
|
18417
|
-
"else": {
|
|
18418
|
-
"type": "conditional",
|
|
18419
|
-
"test": {
|
|
18420
|
-
"type": "binary",
|
|
18421
|
-
"op": ">=",
|
|
18422
|
-
"left": {
|
|
18423
|
-
"type": "binary",
|
|
18424
|
-
"op": "+",
|
|
18425
|
-
"left": {
|
|
18426
|
-
"type": "name",
|
|
18427
|
-
"path": [
|
|
18428
|
-
"roll",
|
|
18429
|
-
"total"
|
|
18430
|
-
]
|
|
18431
|
-
},
|
|
18432
|
-
"right": {
|
|
18433
|
-
"type": "name",
|
|
18434
|
-
"path": [
|
|
18435
|
-
"flags",
|
|
18436
|
-
"ac"
|
|
18437
|
-
]
|
|
18438
|
-
}
|
|
18439
|
-
},
|
|
18440
|
-
"right": {
|
|
18441
|
-
"type": "int",
|
|
18442
|
-
"value": 20
|
|
18443
|
-
}
|
|
18444
|
-
},
|
|
18445
|
-
"then": {
|
|
18446
|
-
"type": "int",
|
|
18447
|
-
"value": 2
|
|
18448
|
-
},
|
|
18449
|
-
"else": {
|
|
18450
|
-
"type": "int",
|
|
18451
|
-
"value": 0
|
|
18452
|
-
}
|
|
18453
|
-
}
|
|
18454
18620
|
}
|
|
18621
|
+
},
|
|
18622
|
+
"right": {
|
|
18623
|
+
"type": "int",
|
|
18624
|
+
"value": 1
|
|
18455
18625
|
}
|
|
18456
18626
|
}
|
|
18457
18627
|
},
|
|
18458
|
-
"roll.kept[0] == 20
|
|
18459
|
-
"text": "roll.kept[0] == 20
|
|
18628
|
+
"roll.kept[0] == 20": {
|
|
18629
|
+
"text": "roll.kept[0] == 20",
|
|
18460
18630
|
"tree": {
|
|
18461
|
-
"type": "
|
|
18462
|
-
"
|
|
18463
|
-
|
|
18464
|
-
"
|
|
18465
|
-
"
|
|
18466
|
-
"type": "
|
|
18467
|
-
"
|
|
18468
|
-
|
|
18469
|
-
"
|
|
18470
|
-
|
|
18471
|
-
"type": "name",
|
|
18472
|
-
"path": [
|
|
18473
|
-
"roll",
|
|
18474
|
-
"kept"
|
|
18475
|
-
]
|
|
18476
|
-
},
|
|
18477
|
-
"index": {
|
|
18478
|
-
"type": "int",
|
|
18479
|
-
"value": 0
|
|
18480
|
-
}
|
|
18481
|
-
},
|
|
18482
|
-
"right": {
|
|
18483
|
-
"type": "int",
|
|
18484
|
-
"value": 20
|
|
18485
|
-
}
|
|
18631
|
+
"type": "binary",
|
|
18632
|
+
"op": "==",
|
|
18633
|
+
"left": {
|
|
18634
|
+
"type": "index",
|
|
18635
|
+
"object": {
|
|
18636
|
+
"type": "name",
|
|
18637
|
+
"path": [
|
|
18638
|
+
"roll",
|
|
18639
|
+
"kept"
|
|
18640
|
+
]
|
|
18486
18641
|
},
|
|
18487
|
-
"
|
|
18488
|
-
"type": "
|
|
18489
|
-
"
|
|
18490
|
-
"left": {
|
|
18491
|
-
"type": "binary",
|
|
18492
|
-
"op": "!=",
|
|
18493
|
-
"left": {
|
|
18494
|
-
"type": "index",
|
|
18495
|
-
"object": {
|
|
18496
|
-
"type": "name",
|
|
18497
|
-
"path": [
|
|
18498
|
-
"roll",
|
|
18499
|
-
"kept"
|
|
18500
|
-
]
|
|
18501
|
-
},
|
|
18502
|
-
"index": {
|
|
18503
|
-
"type": "int",
|
|
18504
|
-
"value": 0
|
|
18505
|
-
}
|
|
18506
|
-
},
|
|
18507
|
-
"right": {
|
|
18508
|
-
"type": "int",
|
|
18509
|
-
"value": 1
|
|
18510
|
-
}
|
|
18511
|
-
},
|
|
18512
|
-
"right": {
|
|
18513
|
-
"type": "binary",
|
|
18514
|
-
"op": ">=",
|
|
18515
|
-
"left": {
|
|
18516
|
-
"type": "name",
|
|
18517
|
-
"path": [
|
|
18518
|
-
"roll",
|
|
18519
|
-
"total"
|
|
18520
|
-
]
|
|
18521
|
-
},
|
|
18522
|
-
"right": {
|
|
18523
|
-
"type": "name",
|
|
18524
|
-
"path": [
|
|
18525
|
-
"flags",
|
|
18526
|
-
"target"
|
|
18527
|
-
]
|
|
18528
|
-
}
|
|
18529
|
-
}
|
|
18642
|
+
"index": {
|
|
18643
|
+
"type": "int",
|
|
18644
|
+
"value": 0
|
|
18530
18645
|
}
|
|
18531
18646
|
},
|
|
18532
|
-
"
|
|
18533
|
-
"type": "int",
|
|
18534
|
-
"value": 1
|
|
18535
|
-
},
|
|
18536
|
-
"else": {
|
|
18647
|
+
"right": {
|
|
18537
18648
|
"type": "int",
|
|
18538
|
-
"value":
|
|
18649
|
+
"value": 20
|
|
18539
18650
|
}
|
|
18540
18651
|
}
|
|
18541
18652
|
},
|
|
18542
|
-
"roll.
|
|
18543
|
-
"text": "roll.
|
|
18653
|
+
"roll.total >= 20 - flags.ac": {
|
|
18654
|
+
"text": "roll.total >= 20 - flags.ac",
|
|
18544
18655
|
"tree": {
|
|
18545
18656
|
"type": "binary",
|
|
18546
|
-
"op": "
|
|
18657
|
+
"op": ">=",
|
|
18547
18658
|
"left": {
|
|
18548
18659
|
"type": "name",
|
|
18549
18660
|
"path": [
|
|
18550
18661
|
"roll",
|
|
18551
|
-
"
|
|
18662
|
+
"total"
|
|
18552
18663
|
]
|
|
18553
18664
|
},
|
|
18554
18665
|
"right": {
|
|
18555
|
-
"type": "
|
|
18556
|
-
"
|
|
18666
|
+
"type": "binary",
|
|
18667
|
+
"op": "-",
|
|
18668
|
+
"left": {
|
|
18669
|
+
"type": "int",
|
|
18670
|
+
"value": 20
|
|
18671
|
+
},
|
|
18672
|
+
"right": {
|
|
18673
|
+
"type": "name",
|
|
18674
|
+
"path": [
|
|
18675
|
+
"flags",
|
|
18676
|
+
"ac"
|
|
18677
|
+
]
|
|
18678
|
+
}
|
|
18557
18679
|
}
|
|
18558
18680
|
}
|
|
18559
18681
|
},
|
|
18560
|
-
"roll.
|
|
18561
|
-
"text": "roll.
|
|
18682
|
+
"roll.total >= flags.target": {
|
|
18683
|
+
"text": "roll.total >= flags.target",
|
|
18562
18684
|
"tree": {
|
|
18563
18685
|
"type": "binary",
|
|
18564
|
-
"op": "
|
|
18686
|
+
"op": ">=",
|
|
18565
18687
|
"left": {
|
|
18566
18688
|
"type": "name",
|
|
18567
18689
|
"path": [
|
|
18568
18690
|
"roll",
|
|
18569
|
-
"
|
|
18691
|
+
"total"
|
|
18570
18692
|
]
|
|
18571
18693
|
},
|
|
18572
18694
|
"right": {
|
|
18573
|
-
"type": "
|
|
18574
|
-
"
|
|
18695
|
+
"type": "name",
|
|
18696
|
+
"path": [
|
|
18697
|
+
"flags",
|
|
18698
|
+
"target"
|
|
18699
|
+
]
|
|
18575
18700
|
}
|
|
18576
18701
|
}
|
|
18577
18702
|
},
|