@opencharacter/cwn-srd 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 +42 -3
- package/content/foci/all-natural.yaml +1 -0
- package/dist/i18n/en.js +1 -1
- package/dist/i18n/en.json +29 -4
- package/dist/index.js +1 -1
- package/dist/release.json +1265 -325
- package/i18n/en/cyberware.yaml +1 -0
- package/i18n/en.yaml +28 -4
- package/pack.yaml +2 -2
- package/package.json +2 -2
- package/rules/advancement.yaml +11 -5
- package/rules/attributes.yaml +7 -3
- package/rules/backgrounds.yaml +4 -0
- package/rules/building.yaml +29 -7
- package/rules/checks.yaml +15 -2
- package/rules/creation.yaml +3 -0
- package/rules/cyberware.yaml +6 -0
- package/rules/drones.yaml +1 -1
- package/rules/edges.yaml +2 -0
- package/rules/foci.yaml +3 -0
- package/rules/gear.yaml +9 -0
- package/rules/hacking.yaml +1 -1
- package/rules/layout.yaml +9 -0
- package/rules/magic.yaml +9 -1
- package/rules/tags.yaml +8 -0
- package/rules/weapons.yaml +4 -2
package/dist/release.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": {
|
|
3
3
|
"id": "cwn-srd",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"specVersion": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"specVersion": "0.3.0",
|
|
6
6
|
"license": "CC0-1.0",
|
|
7
7
|
"notices": {
|
|
8
8
|
"not-affiliated": "This pack is compatible with Cities Without Number, a game by Kevin Crawford published by Sine Nomine Publishing. It is built on the Cities Without Number System Reference Document, which its author dedicated to the public domain under CC0 1.0. It is unofficial: it is not affiliated with, approved or endorsed by Kevin Crawford or Sine Nomine Publishing."
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"tags": [
|
|
17
17
|
"advancement"
|
|
18
18
|
],
|
|
19
|
-
"available": "!character.creating && level < 10",
|
|
19
|
+
"available": "!character.creating && level < 10 && xp.current >= xp.next",
|
|
20
20
|
"params": {
|
|
21
21
|
"random": {
|
|
22
22
|
"type": "boolean",
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
"steps": [
|
|
30
30
|
{
|
|
31
31
|
"id": "raise",
|
|
32
|
+
"tags": [
|
|
33
|
+
"advancement.level"
|
|
34
|
+
],
|
|
32
35
|
"kind": "changes",
|
|
33
36
|
"changes": [
|
|
34
37
|
{
|
|
@@ -123,10 +126,11 @@
|
|
|
123
126
|
"tags": [
|
|
124
127
|
"advancement"
|
|
125
128
|
],
|
|
126
|
-
"available": "!character.creating",
|
|
129
|
+
"available": "!character.creating && (skillPoints.unspent > 0 || maxList(keysOf('skill'), fieldOf('skills.{skill}.credit', x)) > 0)",
|
|
127
130
|
"params": {
|
|
128
131
|
"skill": {
|
|
129
132
|
"type": "enum",
|
|
133
|
+
"open": true,
|
|
130
134
|
"values": [
|
|
131
135
|
"administer",
|
|
132
136
|
"connect",
|
|
@@ -198,14 +202,14 @@
|
|
|
198
202
|
{
|
|
199
203
|
"type": "set",
|
|
200
204
|
"field": {
|
|
201
|
-
"formula": "'skills.'
|
|
205
|
+
"formula": "fieldId('skills.{skill}.base', params.skill)"
|
|
202
206
|
},
|
|
203
207
|
"value": "flags.level + 1"
|
|
204
208
|
},
|
|
205
209
|
{
|
|
206
210
|
"type": "set",
|
|
207
211
|
"field": {
|
|
208
|
-
"formula": "'skills.'
|
|
212
|
+
"formula": "fieldId('skills.{skill}.credit', params.skill)"
|
|
209
213
|
},
|
|
210
214
|
"value": "max(0, flags.credit - flags.cost)"
|
|
211
215
|
},
|
|
@@ -228,7 +232,7 @@
|
|
|
228
232
|
"tags": [
|
|
229
233
|
"advancement"
|
|
230
234
|
],
|
|
231
|
-
"available": "!character.creating && !underdog && advancement.attributeBoosts < 5",
|
|
235
|
+
"available": "!character.creating && !underdog && advancement.attributeBoosts < 5\n && skillPoints.unspent > advancement.attributeBoosts\n && level >= [1, 1, 3, 6, 9][advancement.attributeBoosts]",
|
|
232
236
|
"params": {
|
|
233
237
|
"attribute": {
|
|
234
238
|
"type": "enum",
|
|
@@ -293,12 +297,14 @@
|
|
|
293
297
|
},
|
|
294
298
|
{
|
|
295
299
|
"id": "gain-skill",
|
|
300
|
+
"listed": false,
|
|
296
301
|
"tags": [
|
|
297
302
|
"building"
|
|
298
303
|
],
|
|
299
304
|
"params": {
|
|
300
305
|
"code": {
|
|
301
306
|
"type": "enum",
|
|
307
|
+
"open": true,
|
|
302
308
|
"values": [
|
|
303
309
|
"administer",
|
|
304
310
|
"connect",
|
|
@@ -400,7 +406,7 @@
|
|
|
400
406
|
{
|
|
401
407
|
"type": "adjust",
|
|
402
408
|
"field": {
|
|
403
|
-
"formula": "'skills.'
|
|
409
|
+
"formula": "fieldId('skills.{skill}.base', flags.skill)"
|
|
404
410
|
},
|
|
405
411
|
"by": 1
|
|
406
412
|
}
|
|
@@ -471,14 +477,14 @@
|
|
|
471
477
|
{
|
|
472
478
|
"type": "set",
|
|
473
479
|
"field": {
|
|
474
|
-
"formula": "'skills.'
|
|
480
|
+
"formula": "fieldId('skills.{skill}.base', flags.skill)"
|
|
475
481
|
},
|
|
476
482
|
"value": "flags.level"
|
|
477
483
|
},
|
|
478
484
|
{
|
|
479
485
|
"type": "set",
|
|
480
486
|
"field": {
|
|
481
|
-
"formula": "'skills.'
|
|
487
|
+
"formula": "fieldId('skills.{skill}.credit', flags.skill)"
|
|
482
488
|
},
|
|
483
489
|
"value": "flags.level >= 4 ? 0 : flags.pool"
|
|
484
490
|
},
|
|
@@ -502,6 +508,7 @@
|
|
|
502
508
|
},
|
|
503
509
|
{
|
|
504
510
|
"id": "gain-attribute",
|
|
511
|
+
"listed": false,
|
|
505
512
|
"tags": [
|
|
506
513
|
"building"
|
|
507
514
|
],
|
|
@@ -519,6 +526,9 @@
|
|
|
519
526
|
"default": false
|
|
520
527
|
}
|
|
521
528
|
},
|
|
529
|
+
"results": [
|
|
530
|
+
"raised"
|
|
531
|
+
],
|
|
522
532
|
"steps": [
|
|
523
533
|
{
|
|
524
534
|
"id": "start",
|
|
@@ -567,11 +577,17 @@
|
|
|
567
577
|
"attributes.wis.base": "size(flags.best) > 0 && flags.best[0] == 'wis' ? flags.amount : 0",
|
|
568
578
|
"attributes.cha.base": "size(flags.best) > 0 && flags.best[0] == 'cha' ? flags.amount : 0"
|
|
569
579
|
}
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"id": "result",
|
|
583
|
+
"kind": "outcome",
|
|
584
|
+
"result": "'raised'"
|
|
570
585
|
}
|
|
571
586
|
]
|
|
572
587
|
},
|
|
573
588
|
{
|
|
574
589
|
"id": "gain-focus",
|
|
590
|
+
"available": "foci.taken < foci.allowed",
|
|
575
591
|
"tags": [
|
|
576
592
|
"building",
|
|
577
593
|
"advancement"
|
|
@@ -625,7 +641,7 @@
|
|
|
625
641
|
"options": {
|
|
626
642
|
"content": {
|
|
627
643
|
"type": "focus",
|
|
628
|
-
"where": "('repeatable' in item.tags || countCopies(copy.item == item.id) == 0)\n && !('brings-cyber' in item.tags\n && (magic.graced || countCopies(
|
|
644
|
+
"where": "('repeatable' in item.tags || countCopies(copy.item == item.id) == 0)\n && !('brings-cyber' in item.tags\n && (magic.graced || countCopies('bars-cyber' in copy.tags) > 0))\n && !('bars-cyber' in item.tags && (underdog || magic.mage || magic.summoner\n || magic.graced || countCopies(copy.type == 'cyberware' && copy.fields.strain > 0) > 0))"
|
|
629
645
|
}
|
|
630
646
|
},
|
|
631
647
|
"recommend": "options[0]",
|
|
@@ -828,6 +844,7 @@
|
|
|
828
844
|
"tags": [
|
|
829
845
|
"building"
|
|
830
846
|
],
|
|
847
|
+
"available": "size(picksOf('edge-1')) == 0 || size(picksOf('edge-2')) == 0\n || (level >= 5 && size(picksOf('edge-5')) == 0)\n || (underdog && size(picksOf('underdog-edge')) == 0)",
|
|
831
848
|
"params": {
|
|
832
849
|
"choice": {
|
|
833
850
|
"type": "enum",
|
|
@@ -844,9 +861,17 @@
|
|
|
844
861
|
}
|
|
845
862
|
},
|
|
846
863
|
"results": [
|
|
847
|
-
"gained"
|
|
864
|
+
"gained",
|
|
865
|
+
"closed"
|
|
848
866
|
],
|
|
849
867
|
"steps": [
|
|
868
|
+
{
|
|
869
|
+
"id": "closed",
|
|
870
|
+
"kind": "outcome",
|
|
871
|
+
"sheet": "proposed",
|
|
872
|
+
"when": "(params.choice == 'edge-5' && level < 5) || (params.choice == 'underdog-edge' && !underdog)\n || (params.choice == 'edge-1' && size(picksOf('edge-1')) > 0)\n || (params.choice == 'edge-2' && size(picksOf('edge-2')) > 0)\n || (params.choice == 'edge-5' && size(picksOf('edge-5')) > 0)\n || (params.choice == 'underdog-edge' && size(picksOf('underdog-edge')) > 0)",
|
|
873
|
+
"result": "'closed'"
|
|
874
|
+
},
|
|
850
875
|
{
|
|
851
876
|
"id": "edge",
|
|
852
877
|
"kind": "choice",
|
|
@@ -857,7 +882,7 @@
|
|
|
857
882
|
"options": {
|
|
858
883
|
"content": {
|
|
859
884
|
"type": "edge",
|
|
860
|
-
"where": "('repeatable' in item.tags || !(item.id in edges.taken))\n && (!item.magic || (campaign.magic && params.choice != 'underdog-edge'\n && params.choice != 'edge-5'))\n && !('not-underdog' in item.tags && (underdog || params.choice == 'underdog-edge'))\n && !('brings-cyber' in item.tags\n && (magic.graced || countCopies(
|
|
885
|
+
"where": "('repeatable' in item.tags || !(item.id in edges.taken))\n && (!item.magic || (campaign.magic && params.choice != 'underdog-edge'\n && params.choice != 'edge-5'))\n && !('not-underdog' in item.tags && (underdog || params.choice == 'underdog-edge'))\n && !('brings-cyber' in item.tags\n && (magic.graced || countCopies('bars-cyber' in copy.tags) > 0))"
|
|
861
886
|
}
|
|
862
887
|
},
|
|
863
888
|
"recommend": "options[0]",
|
|
@@ -1262,9 +1287,15 @@
|
|
|
1262
1287
|
"tags": [
|
|
1263
1288
|
"rest"
|
|
1264
1289
|
],
|
|
1290
|
+
"results": [
|
|
1291
|
+
"ended"
|
|
1292
|
+
],
|
|
1265
1293
|
"steps": [
|
|
1266
1294
|
{
|
|
1267
1295
|
"id": "refresh",
|
|
1296
|
+
"tags": [
|
|
1297
|
+
"rest.scene"
|
|
1298
|
+
],
|
|
1268
1299
|
"kind": "changes",
|
|
1269
1300
|
"changes": [
|
|
1270
1301
|
{
|
|
@@ -1296,6 +1327,11 @@
|
|
|
1296
1327
|
"value": 0
|
|
1297
1328
|
}
|
|
1298
1329
|
]
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"id": "result",
|
|
1333
|
+
"kind": "outcome",
|
|
1334
|
+
"result": "'ended'"
|
|
1299
1335
|
}
|
|
1300
1336
|
]
|
|
1301
1337
|
},
|
|
@@ -1304,9 +1340,15 @@
|
|
|
1304
1340
|
"tags": [
|
|
1305
1341
|
"rest"
|
|
1306
1342
|
],
|
|
1343
|
+
"results": [
|
|
1344
|
+
"rested"
|
|
1345
|
+
],
|
|
1307
1346
|
"steps": [
|
|
1308
1347
|
{
|
|
1309
1348
|
"id": "recover",
|
|
1349
|
+
"tags": [
|
|
1350
|
+
"rest.night"
|
|
1351
|
+
],
|
|
1310
1352
|
"kind": "changes",
|
|
1311
1353
|
"changes": [
|
|
1312
1354
|
{
|
|
@@ -1352,6 +1394,11 @@
|
|
|
1352
1394
|
"value": 0
|
|
1353
1395
|
}
|
|
1354
1396
|
]
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"id": "result",
|
|
1400
|
+
"kind": "outcome",
|
|
1401
|
+
"result": "'rested'"
|
|
1355
1402
|
}
|
|
1356
1403
|
]
|
|
1357
1404
|
},
|
|
@@ -1368,6 +1415,9 @@
|
|
|
1368
1415
|
"max": 4
|
|
1369
1416
|
}
|
|
1370
1417
|
},
|
|
1418
|
+
"results": [
|
|
1419
|
+
"healed"
|
|
1420
|
+
],
|
|
1371
1421
|
"steps": [
|
|
1372
1422
|
{
|
|
1373
1423
|
"id": "heal",
|
|
@@ -1400,6 +1450,14 @@
|
|
|
1400
1450
|
"by": 1
|
|
1401
1451
|
}
|
|
1402
1452
|
]
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"id": "result",
|
|
1456
|
+
"kind": "outcome",
|
|
1457
|
+
"result": "'healed'",
|
|
1458
|
+
"data": {
|
|
1459
|
+
"healed": "max(0, steps.heal.total)"
|
|
1460
|
+
}
|
|
1403
1461
|
}
|
|
1404
1462
|
]
|
|
1405
1463
|
},
|
|
@@ -2106,6 +2164,9 @@
|
|
|
2106
2164
|
},
|
|
2107
2165
|
{
|
|
2108
2166
|
"id": "freeItemKind",
|
|
2167
|
+
"tags": [
|
|
2168
|
+
"creation.item"
|
|
2169
|
+
],
|
|
2109
2170
|
"kind": "choice",
|
|
2110
2171
|
"options": [
|
|
2111
2172
|
{
|
|
@@ -2234,6 +2295,9 @@
|
|
|
2234
2295
|
},
|
|
2235
2296
|
{
|
|
2236
2297
|
"id": "gear",
|
|
2298
|
+
"tags": [
|
|
2299
|
+
"creation.gear"
|
|
2300
|
+
],
|
|
2237
2301
|
"kind": "changes",
|
|
2238
2302
|
"changes": [
|
|
2239
2303
|
{
|
|
@@ -2250,6 +2314,9 @@
|
|
|
2250
2314
|
},
|
|
2251
2315
|
{
|
|
2252
2316
|
"id": "finish",
|
|
2317
|
+
"tags": [
|
|
2318
|
+
"creation.finish"
|
|
2319
|
+
],
|
|
2253
2320
|
"kind": "changes",
|
|
2254
2321
|
"sheet": "proposed",
|
|
2255
2322
|
"changes": [
|
|
@@ -2276,6 +2343,9 @@
|
|
|
2276
2343
|
"cyber"
|
|
2277
2344
|
],
|
|
2278
2345
|
"available": "has(item.triggerStrain) && !self.damaged && strain.total + item.triggerStrain <= strain.max",
|
|
2346
|
+
"results": [
|
|
2347
|
+
"triggered"
|
|
2348
|
+
],
|
|
2279
2349
|
"steps": [
|
|
2280
2350
|
{
|
|
2281
2351
|
"id": "strain",
|
|
@@ -2287,11 +2357,17 @@
|
|
|
2287
2357
|
"by": "item.triggerStrain"
|
|
2288
2358
|
}
|
|
2289
2359
|
]
|
|
2360
|
+
},
|
|
2361
|
+
{
|
|
2362
|
+
"id": "result",
|
|
2363
|
+
"kind": "outcome",
|
|
2364
|
+
"result": "'triggered'"
|
|
2290
2365
|
}
|
|
2291
2366
|
]
|
|
2292
2367
|
},
|
|
2293
2368
|
{
|
|
2294
2369
|
"id": "acquire-wired-cyber",
|
|
2370
|
+
"listed": false,
|
|
2295
2371
|
"tags": [
|
|
2296
2372
|
"building"
|
|
2297
2373
|
],
|
|
@@ -2301,6 +2377,9 @@
|
|
|
2301
2377
|
"default": false
|
|
2302
2378
|
}
|
|
2303
2379
|
},
|
|
2380
|
+
"results": [
|
|
2381
|
+
"acquired"
|
|
2382
|
+
],
|
|
2304
2383
|
"steps": [
|
|
2305
2384
|
{
|
|
2306
2385
|
"id": "cyber",
|
|
@@ -2328,6 +2407,11 @@
|
|
|
2328
2407
|
}
|
|
2329
2408
|
}
|
|
2330
2409
|
]
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"id": "result",
|
|
2413
|
+
"kind": "outcome",
|
|
2414
|
+
"result": "'acquired'"
|
|
2331
2415
|
}
|
|
2332
2416
|
]
|
|
2333
2417
|
},
|
|
@@ -2343,6 +2427,9 @@
|
|
|
2343
2427
|
"optional": true
|
|
2344
2428
|
}
|
|
2345
2429
|
},
|
|
2430
|
+
"results": [
|
|
2431
|
+
"applied"
|
|
2432
|
+
],
|
|
2346
2433
|
"steps": [
|
|
2347
2434
|
{
|
|
2348
2435
|
"id": "heal",
|
|
@@ -2382,6 +2469,14 @@
|
|
|
2382
2469
|
"by": "steps.heal.total"
|
|
2383
2470
|
}
|
|
2384
2471
|
]
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
"id": "result",
|
|
2475
|
+
"kind": "outcome",
|
|
2476
|
+
"result": "'applied'",
|
|
2477
|
+
"data": {
|
|
2478
|
+
"healed": "has(steps.heal) ? steps.heal.total : 0"
|
|
2479
|
+
}
|
|
2385
2480
|
}
|
|
2386
2481
|
]
|
|
2387
2482
|
},
|
|
@@ -2404,6 +2499,9 @@
|
|
|
2404
2499
|
"default": false
|
|
2405
2500
|
}
|
|
2406
2501
|
},
|
|
2502
|
+
"results": [
|
|
2503
|
+
"acquired"
|
|
2504
|
+
],
|
|
2407
2505
|
"steps": [
|
|
2408
2506
|
{
|
|
2409
2507
|
"id": "vehicle",
|
|
@@ -2510,6 +2608,11 @@
|
|
|
2510
2608
|
}
|
|
2511
2609
|
}
|
|
2512
2610
|
]
|
|
2611
|
+
},
|
|
2612
|
+
{
|
|
2613
|
+
"id": "result",
|
|
2614
|
+
"kind": "outcome",
|
|
2615
|
+
"result": "'acquired'"
|
|
2513
2616
|
}
|
|
2514
2617
|
]
|
|
2515
2618
|
},
|
|
@@ -2753,6 +2856,9 @@
|
|
|
2753
2856
|
"min": 0
|
|
2754
2857
|
}
|
|
2755
2858
|
},
|
|
2859
|
+
"results": [
|
|
2860
|
+
"summoned"
|
|
2861
|
+
],
|
|
2756
2862
|
"steps": [
|
|
2757
2863
|
{
|
|
2758
2864
|
"id": "commit",
|
|
@@ -2764,6 +2870,11 @@
|
|
|
2764
2870
|
"by": "self.cost + (self.ritual ? 0 : params.earlier)"
|
|
2765
2871
|
}
|
|
2766
2872
|
]
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
"id": "result",
|
|
2876
|
+
"kind": "outcome",
|
|
2877
|
+
"result": "'summoned'"
|
|
2767
2878
|
}
|
|
2768
2879
|
]
|
|
2769
2880
|
},
|
|
@@ -3103,6 +3214,9 @@
|
|
|
3103
3214
|
"reload"
|
|
3104
3215
|
],
|
|
3105
3216
|
"available": "has(item.magazine) && self.loaded < item.magazine",
|
|
3217
|
+
"results": [
|
|
3218
|
+
"reloaded"
|
|
3219
|
+
],
|
|
3106
3220
|
"steps": [
|
|
3107
3221
|
{
|
|
3108
3222
|
"id": "fill",
|
|
@@ -3115,6 +3229,11 @@
|
|
|
3115
3229
|
"value": "item.magazine"
|
|
3116
3230
|
}
|
|
3117
3231
|
]
|
|
3232
|
+
},
|
|
3233
|
+
{
|
|
3234
|
+
"id": "result",
|
|
3235
|
+
"kind": "outcome",
|
|
3236
|
+
"result": "'reloaded'"
|
|
3118
3237
|
}
|
|
3119
3238
|
]
|
|
3120
3239
|
}
|
|
@@ -3440,7 +3559,7 @@
|
|
|
3440
3559
|
},
|
|
3441
3560
|
"attributes.modTotal": {
|
|
3442
3561
|
"type": "integer",
|
|
3443
|
-
"formula": "
|
|
3562
|
+
"formula": "sumList(['str', 'dex', 'con', 'int', 'wis', 'cha'],\n fieldOf('attributes.{attribute}.base', x) >= 18 ? 2\n : fieldOf('attributes.{attribute}.base', x) >= 14 ? 1\n : fieldOf('attributes.{attribute}.base', x) >= 8 ? 0\n : fieldOf('attributes.{attribute}.base', x) >= 4 ? -1 : -2)"
|
|
3444
3563
|
},
|
|
3445
3564
|
"campaign.magic": {
|
|
3446
3565
|
"type": "boolean",
|
|
@@ -4649,12 +4768,14 @@
|
|
|
4649
4768
|
]
|
|
4650
4769
|
},
|
|
4651
4770
|
"background": {
|
|
4771
|
+
"grantOnly": true,
|
|
4652
4772
|
"copies": {
|
|
4653
4773
|
"max": 0
|
|
4654
4774
|
},
|
|
4655
4775
|
"fields": {
|
|
4656
4776
|
"freeSkill": {
|
|
4657
4777
|
"type": "enum",
|
|
4778
|
+
"open": true,
|
|
4658
4779
|
"required": true,
|
|
4659
4780
|
"values": [
|
|
4660
4781
|
"administer",
|
|
@@ -4681,6 +4802,7 @@
|
|
|
4681
4802
|
},
|
|
4682
4803
|
"growth1": {
|
|
4683
4804
|
"type": "enum",
|
|
4805
|
+
"open": true,
|
|
4684
4806
|
"required": true,
|
|
4685
4807
|
"values": [
|
|
4686
4808
|
"administer",
|
|
@@ -4711,6 +4833,7 @@
|
|
|
4711
4833
|
},
|
|
4712
4834
|
"growth2": {
|
|
4713
4835
|
"type": "enum",
|
|
4836
|
+
"open": true,
|
|
4714
4837
|
"required": true,
|
|
4715
4838
|
"values": [
|
|
4716
4839
|
"administer",
|
|
@@ -4741,6 +4864,7 @@
|
|
|
4741
4864
|
},
|
|
4742
4865
|
"growth3": {
|
|
4743
4866
|
"type": "enum",
|
|
4867
|
+
"open": true,
|
|
4744
4868
|
"required": true,
|
|
4745
4869
|
"values": [
|
|
4746
4870
|
"administer",
|
|
@@ -4771,6 +4895,7 @@
|
|
|
4771
4895
|
},
|
|
4772
4896
|
"growth4": {
|
|
4773
4897
|
"type": "enum",
|
|
4898
|
+
"open": true,
|
|
4774
4899
|
"required": true,
|
|
4775
4900
|
"values": [
|
|
4776
4901
|
"administer",
|
|
@@ -4801,6 +4926,7 @@
|
|
|
4801
4926
|
},
|
|
4802
4927
|
"growth5": {
|
|
4803
4928
|
"type": "enum",
|
|
4929
|
+
"open": true,
|
|
4804
4930
|
"required": true,
|
|
4805
4931
|
"values": [
|
|
4806
4932
|
"administer",
|
|
@@ -4831,6 +4957,7 @@
|
|
|
4831
4957
|
},
|
|
4832
4958
|
"growth6": {
|
|
4833
4959
|
"type": "enum",
|
|
4960
|
+
"open": true,
|
|
4834
4961
|
"required": true,
|
|
4835
4962
|
"values": [
|
|
4836
4963
|
"administer",
|
|
@@ -4861,6 +4988,7 @@
|
|
|
4861
4988
|
},
|
|
4862
4989
|
"learning1": {
|
|
4863
4990
|
"type": "enum",
|
|
4991
|
+
"open": true,
|
|
4864
4992
|
"required": true,
|
|
4865
4993
|
"values": [
|
|
4866
4994
|
"administer",
|
|
@@ -4888,6 +5016,7 @@
|
|
|
4888
5016
|
},
|
|
4889
5017
|
"learning2": {
|
|
4890
5018
|
"type": "enum",
|
|
5019
|
+
"open": true,
|
|
4891
5020
|
"required": true,
|
|
4892
5021
|
"values": [
|
|
4893
5022
|
"administer",
|
|
@@ -4915,6 +5044,7 @@
|
|
|
4915
5044
|
},
|
|
4916
5045
|
"learning3": {
|
|
4917
5046
|
"type": "enum",
|
|
5047
|
+
"open": true,
|
|
4918
5048
|
"required": true,
|
|
4919
5049
|
"values": [
|
|
4920
5050
|
"administer",
|
|
@@ -4942,6 +5072,7 @@
|
|
|
4942
5072
|
},
|
|
4943
5073
|
"learning4": {
|
|
4944
5074
|
"type": "enum",
|
|
5075
|
+
"open": true,
|
|
4945
5076
|
"required": true,
|
|
4946
5077
|
"values": [
|
|
4947
5078
|
"administer",
|
|
@@ -4969,6 +5100,7 @@
|
|
|
4969
5100
|
},
|
|
4970
5101
|
"learning5": {
|
|
4971
5102
|
"type": "enum",
|
|
5103
|
+
"open": true,
|
|
4972
5104
|
"required": true,
|
|
4973
5105
|
"values": [
|
|
4974
5106
|
"administer",
|
|
@@ -4996,6 +5128,7 @@
|
|
|
4996
5128
|
},
|
|
4997
5129
|
"learning6": {
|
|
4998
5130
|
"type": "enum",
|
|
5131
|
+
"open": true,
|
|
4999
5132
|
"required": true,
|
|
5000
5133
|
"values": [
|
|
5001
5134
|
"administer",
|
|
@@ -5023,6 +5156,7 @@
|
|
|
5023
5156
|
},
|
|
5024
5157
|
"learning7": {
|
|
5025
5158
|
"type": "enum",
|
|
5159
|
+
"open": true,
|
|
5026
5160
|
"required": true,
|
|
5027
5161
|
"values": [
|
|
5028
5162
|
"administer",
|
|
@@ -5050,6 +5184,7 @@
|
|
|
5050
5184
|
},
|
|
5051
5185
|
"learning8": {
|
|
5052
5186
|
"type": "enum",
|
|
5187
|
+
"open": true,
|
|
5053
5188
|
"required": true,
|
|
5054
5189
|
"values": [
|
|
5055
5190
|
"administer",
|
|
@@ -5107,6 +5242,7 @@
|
|
|
5107
5242
|
},
|
|
5108
5243
|
"category": {
|
|
5109
5244
|
"type": "enum",
|
|
5245
|
+
"open": true,
|
|
5110
5246
|
"values": [
|
|
5111
5247
|
"body",
|
|
5112
5248
|
"head",
|
|
@@ -5273,7 +5409,8 @@
|
|
|
5273
5409
|
"fly",
|
|
5274
5410
|
"swim"
|
|
5275
5411
|
],
|
|
5276
|
-
"required": true
|
|
5412
|
+
"required": true,
|
|
5413
|
+
"open": true
|
|
5277
5414
|
},
|
|
5278
5415
|
"hardpoints": {
|
|
5279
5416
|
"type": "integer",
|
|
@@ -5295,12 +5432,14 @@
|
|
|
5295
5432
|
}
|
|
5296
5433
|
},
|
|
5297
5434
|
"edge": {
|
|
5435
|
+
"grantOnly": true,
|
|
5298
5436
|
"copies": {
|
|
5299
5437
|
"max": 0
|
|
5300
5438
|
},
|
|
5301
5439
|
"fields": {
|
|
5302
5440
|
"bonusSkill": {
|
|
5303
5441
|
"type": "enum",
|
|
5442
|
+
"open": true,
|
|
5304
5443
|
"values": [
|
|
5305
5444
|
"administer",
|
|
5306
5445
|
"connect",
|
|
@@ -5400,6 +5539,7 @@
|
|
|
5400
5539
|
},
|
|
5401
5540
|
"bonusSkill": {
|
|
5402
5541
|
"type": "enum",
|
|
5542
|
+
"open": true,
|
|
5403
5543
|
"values": [
|
|
5404
5544
|
"administer",
|
|
5405
5545
|
"connect",
|
|
@@ -5428,6 +5568,7 @@
|
|
|
5428
5568
|
},
|
|
5429
5569
|
"bonusSkill2": {
|
|
5430
5570
|
"type": "enum",
|
|
5571
|
+
"open": true,
|
|
5431
5572
|
"values": [
|
|
5432
5573
|
"administer",
|
|
5433
5574
|
"connect",
|
|
@@ -5452,6 +5593,7 @@
|
|
|
5452
5593
|
},
|
|
5453
5594
|
"levelTwoSkill": {
|
|
5454
5595
|
"type": "enum",
|
|
5596
|
+
"open": true,
|
|
5455
5597
|
"values": [
|
|
5456
5598
|
"administer",
|
|
5457
5599
|
"connect",
|
|
@@ -5682,7 +5824,8 @@
|
|
|
5682
5824
|
"device",
|
|
5683
5825
|
"cyber",
|
|
5684
5826
|
"program"
|
|
5685
|
-
]
|
|
5827
|
+
],
|
|
5828
|
+
"open": true
|
|
5686
5829
|
}
|
|
5687
5830
|
},
|
|
5688
5831
|
"state": {
|
|
@@ -5716,6 +5859,7 @@
|
|
|
5716
5859
|
},
|
|
5717
5860
|
"duration": {
|
|
5718
5861
|
"type": "enum",
|
|
5862
|
+
"open": true,
|
|
5719
5863
|
"values": [
|
|
5720
5864
|
"instant",
|
|
5721
5865
|
"scene",
|
|
@@ -5748,6 +5892,13 @@
|
|
|
5748
5892
|
},
|
|
5749
5893
|
"spirit": {
|
|
5750
5894
|
"nameFrom": "label",
|
|
5895
|
+
"fields": {
|
|
5896
|
+
"powerCount": {
|
|
5897
|
+
"type": "integer",
|
|
5898
|
+
"default": 0,
|
|
5899
|
+
"min": 0
|
|
5900
|
+
}
|
|
5901
|
+
},
|
|
5751
5902
|
"state": {
|
|
5752
5903
|
"label": {
|
|
5753
5904
|
"type": "string",
|
|
@@ -5773,7 +5924,7 @@
|
|
|
5773
5924
|
"computed": {
|
|
5774
5925
|
"cost": {
|
|
5775
5926
|
"type": "integer",
|
|
5776
|
-
"formula": "max(1, size(picksOf('powers')) - (self.ritual ? 1 : 0) - max(0, skills.summon.level))"
|
|
5927
|
+
"formula": "max(1, (item.id == @spirits.spirit ? size(picksOf('powers')) : item.powerCount)\n - (self.ritual ? 1 : 0) - max(0, skills.summon.level))"
|
|
5777
5928
|
}
|
|
5778
5929
|
},
|
|
5779
5930
|
"actions": [
|
|
@@ -5783,6 +5934,7 @@
|
|
|
5783
5934
|
]
|
|
5784
5935
|
},
|
|
5785
5936
|
"spiritPower": {
|
|
5937
|
+
"grantOnly": true,
|
|
5786
5938
|
"copies": {
|
|
5787
5939
|
"max": 0
|
|
5788
5940
|
},
|
|
@@ -5905,7 +6057,8 @@
|
|
|
5905
6057
|
"stab",
|
|
5906
6058
|
"punch"
|
|
5907
6059
|
],
|
|
5908
|
-
"required": true
|
|
6060
|
+
"required": true,
|
|
6061
|
+
"open": true
|
|
5909
6062
|
},
|
|
5910
6063
|
"attribute": {
|
|
5911
6064
|
"type": "enum",
|
|
@@ -6167,7 +6320,8 @@
|
|
|
6167
6320
|
"check": [
|
|
6168
6321
|
{
|
|
6169
6322
|
"id": "success",
|
|
6170
|
-
"when": "roll.total >= flags.dc"
|
|
6323
|
+
"when": "roll.total >= flags.dc",
|
|
6324
|
+
"success": true
|
|
6171
6325
|
},
|
|
6172
6326
|
{
|
|
6173
6327
|
"id": "failure",
|
|
@@ -6181,7 +6335,8 @@
|
|
|
6181
6335
|
},
|
|
6182
6336
|
{
|
|
6183
6337
|
"id": "success",
|
|
6184
|
-
"when": "roll.kept[0] == 20 || roll.total >= flags.target"
|
|
6338
|
+
"when": "roll.kept[0] == 20 || roll.total >= flags.target",
|
|
6339
|
+
"success": true
|
|
6185
6340
|
},
|
|
6186
6341
|
{
|
|
6187
6342
|
"id": "failure",
|
|
@@ -6289,7 +6444,8 @@
|
|
|
6289
6444
|
"hit": [
|
|
6290
6445
|
{
|
|
6291
6446
|
"id": "hit",
|
|
6292
|
-
"when": "roll.total >= flags.ac"
|
|
6447
|
+
"when": "roll.total >= flags.ac",
|
|
6448
|
+
"success": true
|
|
6293
6449
|
},
|
|
6294
6450
|
{
|
|
6295
6451
|
"id": "miss",
|
|
@@ -7968,6 +8124,27 @@
|
|
|
7968
8124
|
"priority": 8,
|
|
7969
8125
|
"showWhen": "magic.cyberPenalty > 0"
|
|
7970
8126
|
},
|
|
8127
|
+
"arts.bonusRolls.used": {
|
|
8128
|
+
"groups": [
|
|
8129
|
+
"magic"
|
|
8130
|
+
],
|
|
8131
|
+
"priority": 9,
|
|
8132
|
+
"showWhen": "arts.bonusRolls.max > 0",
|
|
8133
|
+
"with": [
|
|
8134
|
+
{
|
|
8135
|
+
"field": "arts.bonusRolls.max",
|
|
8136
|
+
"as": "max"
|
|
8137
|
+
}
|
|
8138
|
+
]
|
|
8139
|
+
},
|
|
8140
|
+
"arts.bonusRolls.max": {
|
|
8141
|
+
"groups": [
|
|
8142
|
+
"magic"
|
|
8143
|
+
],
|
|
8144
|
+
"priority": 9,
|
|
8145
|
+
"visibility": "background",
|
|
8146
|
+
"showWhen": "arts.bonusRolls.max > 0"
|
|
8147
|
+
},
|
|
7971
8148
|
"magic.mage": {
|
|
7972
8149
|
"hidden": true
|
|
7973
8150
|
},
|
|
@@ -8298,6 +8475,11 @@
|
|
|
8298
8475
|
"quantity": {
|
|
8299
8476
|
"hidden": true
|
|
8300
8477
|
},
|
|
8478
|
+
"fields": {
|
|
8479
|
+
"powerCount": {
|
|
8480
|
+
"hidden": true
|
|
8481
|
+
}
|
|
8482
|
+
},
|
|
8301
8483
|
"state": {
|
|
8302
8484
|
"form": {
|
|
8303
8485
|
"priority": 0
|
|
@@ -8399,8 +8581,12 @@
|
|
|
8399
8581
|
"major-injury",
|
|
8400
8582
|
"overcast",
|
|
8401
8583
|
"creation",
|
|
8584
|
+
"creation.item",
|
|
8585
|
+
"creation.gear",
|
|
8586
|
+
"creation.finish",
|
|
8402
8587
|
"building",
|
|
8403
8588
|
"advancement",
|
|
8589
|
+
"advancement.level",
|
|
8404
8590
|
"skill-pick",
|
|
8405
8591
|
"focus-pick",
|
|
8406
8592
|
"edge-pick",
|
|
@@ -8412,6 +8598,8 @@
|
|
|
8412
8598
|
"spell",
|
|
8413
8599
|
"summoning",
|
|
8414
8600
|
"rest",
|
|
8601
|
+
"rest.night",
|
|
8602
|
+
"rest.scene",
|
|
8415
8603
|
"injury",
|
|
8416
8604
|
"armor.heavy",
|
|
8417
8605
|
"damage.weapon",
|
|
@@ -8423,6 +8611,7 @@
|
|
|
8423
8611
|
"repeatable",
|
|
8424
8612
|
"asks-attribute",
|
|
8425
8613
|
"brings-cyber",
|
|
8614
|
+
"bars-cyber",
|
|
8426
8615
|
"not-underdog",
|
|
8427
8616
|
"retroactive-points",
|
|
8428
8617
|
"restricted",
|
|
@@ -11845,7 +12034,8 @@
|
|
|
11845
12034
|
"id": "foci.all-natural",
|
|
11846
12035
|
"type": "focus",
|
|
11847
12036
|
"tags": [
|
|
11848
|
-
"asks-attribute"
|
|
12037
|
+
"asks-attribute",
|
|
12038
|
+
"bars-cyber"
|
|
11849
12039
|
],
|
|
11850
12040
|
"fields": {
|
|
11851
12041
|
"maxLevel": 1,
|
|
@@ -16743,8 +16933,8 @@
|
|
|
16743
16933
|
}
|
|
16744
16934
|
}
|
|
16745
16935
|
},
|
|
16746
|
-
"!character.creating && !underdog && advancement.attributeBoosts < 5": {
|
|
16747
|
-
"text": "!character.creating && !underdog && advancement.attributeBoosts < 5",
|
|
16936
|
+
"!character.creating && !underdog && advancement.attributeBoosts < 5\n && skillPoints.unspent > advancement.attributeBoosts\n && level >= [1, 1, 3, 6, 9][advancement.attributeBoosts]": {
|
|
16937
|
+
"text": "!character.creating && !underdog && advancement.attributeBoosts < 5 && skillPoints.unspent > advancement.attributeBoosts && level >= [1, 1, 3, 6, 9][advancement.attributeBoosts]",
|
|
16748
16938
|
"tree": {
|
|
16749
16939
|
"type": "binary",
|
|
16750
16940
|
"op": "&&",
|
|
@@ -16752,40 +16942,111 @@
|
|
|
16752
16942
|
"type": "binary",
|
|
16753
16943
|
"op": "&&",
|
|
16754
16944
|
"left": {
|
|
16755
|
-
"type": "
|
|
16756
|
-
"op": "
|
|
16757
|
-
"
|
|
16758
|
-
"type": "
|
|
16759
|
-
"
|
|
16760
|
-
|
|
16761
|
-
"
|
|
16762
|
-
|
|
16945
|
+
"type": "binary",
|
|
16946
|
+
"op": "&&",
|
|
16947
|
+
"left": {
|
|
16948
|
+
"type": "binary",
|
|
16949
|
+
"op": "&&",
|
|
16950
|
+
"left": {
|
|
16951
|
+
"type": "unary",
|
|
16952
|
+
"op": "!",
|
|
16953
|
+
"operand": {
|
|
16954
|
+
"type": "name",
|
|
16955
|
+
"path": [
|
|
16956
|
+
"character",
|
|
16957
|
+
"creating"
|
|
16958
|
+
]
|
|
16959
|
+
}
|
|
16960
|
+
},
|
|
16961
|
+
"right": {
|
|
16962
|
+
"type": "unary",
|
|
16963
|
+
"op": "!",
|
|
16964
|
+
"operand": {
|
|
16965
|
+
"type": "name",
|
|
16966
|
+
"path": [
|
|
16967
|
+
"underdog"
|
|
16968
|
+
]
|
|
16969
|
+
}
|
|
16970
|
+
}
|
|
16971
|
+
},
|
|
16972
|
+
"right": {
|
|
16973
|
+
"type": "binary",
|
|
16974
|
+
"op": "<",
|
|
16975
|
+
"left": {
|
|
16976
|
+
"type": "name",
|
|
16977
|
+
"path": [
|
|
16978
|
+
"advancement",
|
|
16979
|
+
"attributeBoosts"
|
|
16980
|
+
]
|
|
16981
|
+
},
|
|
16982
|
+
"right": {
|
|
16983
|
+
"type": "int",
|
|
16984
|
+
"value": 5
|
|
16985
|
+
}
|
|
16763
16986
|
}
|
|
16764
16987
|
},
|
|
16765
16988
|
"right": {
|
|
16766
|
-
"type": "
|
|
16767
|
-
"op": "
|
|
16768
|
-
"
|
|
16989
|
+
"type": "binary",
|
|
16990
|
+
"op": ">",
|
|
16991
|
+
"left": {
|
|
16769
16992
|
"type": "name",
|
|
16770
16993
|
"path": [
|
|
16771
|
-
"
|
|
16994
|
+
"skillPoints",
|
|
16995
|
+
"unspent"
|
|
16996
|
+
]
|
|
16997
|
+
},
|
|
16998
|
+
"right": {
|
|
16999
|
+
"type": "name",
|
|
17000
|
+
"path": [
|
|
17001
|
+
"advancement",
|
|
17002
|
+
"attributeBoosts"
|
|
16772
17003
|
]
|
|
16773
17004
|
}
|
|
16774
17005
|
}
|
|
16775
17006
|
},
|
|
16776
17007
|
"right": {
|
|
16777
17008
|
"type": "binary",
|
|
16778
|
-
"op": "
|
|
17009
|
+
"op": ">=",
|
|
16779
17010
|
"left": {
|
|
16780
17011
|
"type": "name",
|
|
16781
17012
|
"path": [
|
|
16782
|
-
"
|
|
16783
|
-
"attributeBoosts"
|
|
17013
|
+
"level"
|
|
16784
17014
|
]
|
|
16785
17015
|
},
|
|
16786
17016
|
"right": {
|
|
16787
|
-
"type": "
|
|
16788
|
-
"
|
|
17017
|
+
"type": "index",
|
|
17018
|
+
"object": {
|
|
17019
|
+
"type": "list",
|
|
17020
|
+
"items": [
|
|
17021
|
+
{
|
|
17022
|
+
"type": "int",
|
|
17023
|
+
"value": 1
|
|
17024
|
+
},
|
|
17025
|
+
{
|
|
17026
|
+
"type": "int",
|
|
17027
|
+
"value": 1
|
|
17028
|
+
},
|
|
17029
|
+
{
|
|
17030
|
+
"type": "int",
|
|
17031
|
+
"value": 3
|
|
17032
|
+
},
|
|
17033
|
+
{
|
|
17034
|
+
"type": "int",
|
|
17035
|
+
"value": 6
|
|
17036
|
+
},
|
|
17037
|
+
{
|
|
17038
|
+
"type": "int",
|
|
17039
|
+
"value": 9
|
|
17040
|
+
}
|
|
17041
|
+
]
|
|
17042
|
+
},
|
|
17043
|
+
"index": {
|
|
17044
|
+
"type": "name",
|
|
17045
|
+
"path": [
|
|
17046
|
+
"advancement",
|
|
17047
|
+
"attributeBoosts"
|
|
17048
|
+
]
|
|
17049
|
+
}
|
|
16789
17050
|
}
|
|
16790
17051
|
}
|
|
16791
17052
|
}
|
|
@@ -16825,6 +17086,83 @@
|
|
|
16825
17086
|
}
|
|
16826
17087
|
}
|
|
16827
17088
|
},
|
|
17089
|
+
"!character.creating && (skillPoints.unspent > 0 || maxList(keysOf('skill'), fieldOf('skills.{skill}.credit', x)) > 0)": {
|
|
17090
|
+
"text": "!character.creating && (skillPoints.unspent > 0 || maxList(keysOf('skill'), fieldOf('skills.{skill}.credit', x)) > 0)",
|
|
17091
|
+
"tree": {
|
|
17092
|
+
"type": "binary",
|
|
17093
|
+
"op": "&&",
|
|
17094
|
+
"left": {
|
|
17095
|
+
"type": "unary",
|
|
17096
|
+
"op": "!",
|
|
17097
|
+
"operand": {
|
|
17098
|
+
"type": "name",
|
|
17099
|
+
"path": [
|
|
17100
|
+
"character",
|
|
17101
|
+
"creating"
|
|
17102
|
+
]
|
|
17103
|
+
}
|
|
17104
|
+
},
|
|
17105
|
+
"right": {
|
|
17106
|
+
"type": "binary",
|
|
17107
|
+
"op": "||",
|
|
17108
|
+
"left": {
|
|
17109
|
+
"type": "binary",
|
|
17110
|
+
"op": ">",
|
|
17111
|
+
"left": {
|
|
17112
|
+
"type": "name",
|
|
17113
|
+
"path": [
|
|
17114
|
+
"skillPoints",
|
|
17115
|
+
"unspent"
|
|
17116
|
+
]
|
|
17117
|
+
},
|
|
17118
|
+
"right": {
|
|
17119
|
+
"type": "int",
|
|
17120
|
+
"value": 0
|
|
17121
|
+
}
|
|
17122
|
+
},
|
|
17123
|
+
"right": {
|
|
17124
|
+
"type": "binary",
|
|
17125
|
+
"op": ">",
|
|
17126
|
+
"left": {
|
|
17127
|
+
"type": "call",
|
|
17128
|
+
"fn": "maxList",
|
|
17129
|
+
"args": [
|
|
17130
|
+
{
|
|
17131
|
+
"type": "call",
|
|
17132
|
+
"fn": "keysOf",
|
|
17133
|
+
"args": [
|
|
17134
|
+
{
|
|
17135
|
+
"type": "string",
|
|
17136
|
+
"value": "skill"
|
|
17137
|
+
}
|
|
17138
|
+
]
|
|
17139
|
+
},
|
|
17140
|
+
{
|
|
17141
|
+
"type": "call",
|
|
17142
|
+
"fn": "fieldOf",
|
|
17143
|
+
"args": [
|
|
17144
|
+
{
|
|
17145
|
+
"type": "string",
|
|
17146
|
+
"value": "skills.{skill}.credit"
|
|
17147
|
+
},
|
|
17148
|
+
{
|
|
17149
|
+
"type": "name",
|
|
17150
|
+
"path": [
|
|
17151
|
+
"x"
|
|
17152
|
+
]
|
|
17153
|
+
}
|
|
17154
|
+
]
|
|
17155
|
+
}
|
|
17156
|
+
]
|
|
17157
|
+
},
|
|
17158
|
+
"right": {
|
|
17159
|
+
"type": "int",
|
|
17160
|
+
"value": 0
|
|
17161
|
+
}
|
|
17162
|
+
}
|
|
17163
|
+
}
|
|
17164
|
+
}
|
|
17165
|
+
},
|
|
16828
17166
|
"!character.creating && foci.taken < foci.allowed": {
|
|
16829
17167
|
"text": "!character.creating && foci.taken < foci.allowed",
|
|
16830
17168
|
"tree": {
|
|
@@ -16861,38 +17199,6 @@
|
|
|
16861
17199
|
}
|
|
16862
17200
|
}
|
|
16863
17201
|
},
|
|
16864
|
-
"!character.creating && level < 10": {
|
|
16865
|
-
"text": "!character.creating && level < 10",
|
|
16866
|
-
"tree": {
|
|
16867
|
-
"type": "binary",
|
|
16868
|
-
"op": "&&",
|
|
16869
|
-
"left": {
|
|
16870
|
-
"type": "unary",
|
|
16871
|
-
"op": "!",
|
|
16872
|
-
"operand": {
|
|
16873
|
-
"type": "name",
|
|
16874
|
-
"path": [
|
|
16875
|
-
"character",
|
|
16876
|
-
"creating"
|
|
16877
|
-
]
|
|
16878
|
-
}
|
|
16879
|
-
},
|
|
16880
|
-
"right": {
|
|
16881
|
-
"type": "binary",
|
|
16882
|
-
"op": "<",
|
|
16883
|
-
"left": {
|
|
16884
|
-
"type": "name",
|
|
16885
|
-
"path": [
|
|
16886
|
-
"level"
|
|
16887
|
-
]
|
|
16888
|
-
},
|
|
16889
|
-
"right": {
|
|
16890
|
-
"type": "int",
|
|
16891
|
-
"value": 10
|
|
16892
|
-
}
|
|
16893
|
-
}
|
|
16894
|
-
}
|
|
16895
|
-
},
|
|
16896
17202
|
"!character.creating && level < 10 && xp.current >= xp.next": {
|
|
16897
17203
|
"text": "!character.creating && level < 10 && xp.current >= xp.next",
|
|
16898
17204
|
"tree": {
|
|
@@ -17351,6 +17657,13 @@
|
|
|
17351
17657
|
"value": "acquaintances"
|
|
17352
17658
|
}
|
|
17353
17659
|
},
|
|
17660
|
+
"'acquired'": {
|
|
17661
|
+
"text": "'acquired'",
|
|
17662
|
+
"tree": {
|
|
17663
|
+
"type": "string",
|
|
17664
|
+
"value": "acquired"
|
|
17665
|
+
}
|
|
17666
|
+
},
|
|
17354
17667
|
"'advancement' in item.tags": {
|
|
17355
17668
|
"text": "'advancement' in item.tags",
|
|
17356
17669
|
"tree": {
|
|
@@ -17376,6 +17689,13 @@
|
|
|
17376
17689
|
"value": "any"
|
|
17377
17690
|
}
|
|
17378
17691
|
},
|
|
17692
|
+
"'applied'": {
|
|
17693
|
+
"text": "'applied'",
|
|
17694
|
+
"tree": {
|
|
17695
|
+
"type": "string",
|
|
17696
|
+
"value": "applied"
|
|
17697
|
+
}
|
|
17698
|
+
},
|
|
17379
17699
|
"'attack' in item.tags || 'reload' in item.tags": {
|
|
17380
17700
|
"text": "'attack' in item.tags || 'reload' in item.tags",
|
|
17381
17701
|
"tree": {
|
|
@@ -17886,6 +18206,13 @@
|
|
|
17886
18206
|
}
|
|
17887
18207
|
}
|
|
17888
18208
|
},
|
|
18209
|
+
"'closed'": {
|
|
18210
|
+
"text": "'closed'",
|
|
18211
|
+
"tree": {
|
|
18212
|
+
"type": "string",
|
|
18213
|
+
"value": "closed"
|
|
18214
|
+
}
|
|
18215
|
+
},
|
|
17889
18216
|
"'combat.attackBonus'": {
|
|
17890
18217
|
"text": "'combat.attackBonus'",
|
|
17891
18218
|
"tree": {
|
|
@@ -17993,6 +18320,13 @@
|
|
|
17993
18320
|
"value": "edge-5"
|
|
17994
18321
|
}
|
|
17995
18322
|
},
|
|
18323
|
+
"'ended'": {
|
|
18324
|
+
"text": "'ended'",
|
|
18325
|
+
"tree": {
|
|
18326
|
+
"type": "string",
|
|
18327
|
+
"value": "ended"
|
|
18328
|
+
}
|
|
18329
|
+
},
|
|
17996
18330
|
"'firearm' in item.tags": {
|
|
17997
18331
|
"text": "'firearm' in item.tags",
|
|
17998
18332
|
"tree": {
|
|
@@ -18177,6 +18511,13 @@
|
|
|
18177
18511
|
}
|
|
18178
18512
|
}
|
|
18179
18513
|
},
|
|
18514
|
+
"'healed'": {
|
|
18515
|
+
"text": "'healed'",
|
|
18516
|
+
"tree": {
|
|
18517
|
+
"type": "string",
|
|
18518
|
+
"value": "healed"
|
|
18519
|
+
}
|
|
18520
|
+
},
|
|
18180
18521
|
"'hp.dieBonus'": {
|
|
18181
18522
|
"text": "'hp.dieBonus'",
|
|
18182
18523
|
"tree": {
|
|
@@ -18397,6 +18738,13 @@
|
|
|
18397
18738
|
"value": "raised"
|
|
18398
18739
|
}
|
|
18399
18740
|
},
|
|
18741
|
+
"'reloaded'": {
|
|
18742
|
+
"text": "'reloaded'",
|
|
18743
|
+
"tree": {
|
|
18744
|
+
"type": "string",
|
|
18745
|
+
"value": "reloaded"
|
|
18746
|
+
}
|
|
18747
|
+
},
|
|
18400
18748
|
"'rest' in item.tags": {
|
|
18401
18749
|
"text": "'rest' in item.tags",
|
|
18402
18750
|
"tree": {
|
|
@@ -18415,6 +18763,13 @@
|
|
|
18415
18763
|
}
|
|
18416
18764
|
}
|
|
18417
18765
|
},
|
|
18766
|
+
"'rested'": {
|
|
18767
|
+
"text": "'rested'",
|
|
18768
|
+
"tree": {
|
|
18769
|
+
"type": "string",
|
|
18770
|
+
"value": "rested"
|
|
18771
|
+
}
|
|
18772
|
+
},
|
|
18418
18773
|
"'roll'": {
|
|
18419
18774
|
"text": "'roll'",
|
|
18420
18775
|
"tree": {
|
|
@@ -18549,110 +18904,6 @@
|
|
|
18549
18904
|
}
|
|
18550
18905
|
}
|
|
18551
18906
|
},
|
|
18552
|
-
"'skills.' + flags.skill + '.base'": {
|
|
18553
|
-
"text": "'skills.' + flags.skill + '.base'",
|
|
18554
|
-
"tree": {
|
|
18555
|
-
"type": "binary",
|
|
18556
|
-
"op": "+",
|
|
18557
|
-
"left": {
|
|
18558
|
-
"type": "binary",
|
|
18559
|
-
"op": "+",
|
|
18560
|
-
"left": {
|
|
18561
|
-
"type": "string",
|
|
18562
|
-
"value": "skills."
|
|
18563
|
-
},
|
|
18564
|
-
"right": {
|
|
18565
|
-
"type": "name",
|
|
18566
|
-
"path": [
|
|
18567
|
-
"flags",
|
|
18568
|
-
"skill"
|
|
18569
|
-
]
|
|
18570
|
-
}
|
|
18571
|
-
},
|
|
18572
|
-
"right": {
|
|
18573
|
-
"type": "string",
|
|
18574
|
-
"value": ".base"
|
|
18575
|
-
}
|
|
18576
|
-
}
|
|
18577
|
-
},
|
|
18578
|
-
"'skills.' + flags.skill + '.credit'": {
|
|
18579
|
-
"text": "'skills.' + flags.skill + '.credit'",
|
|
18580
|
-
"tree": {
|
|
18581
|
-
"type": "binary",
|
|
18582
|
-
"op": "+",
|
|
18583
|
-
"left": {
|
|
18584
|
-
"type": "binary",
|
|
18585
|
-
"op": "+",
|
|
18586
|
-
"left": {
|
|
18587
|
-
"type": "string",
|
|
18588
|
-
"value": "skills."
|
|
18589
|
-
},
|
|
18590
|
-
"right": {
|
|
18591
|
-
"type": "name",
|
|
18592
|
-
"path": [
|
|
18593
|
-
"flags",
|
|
18594
|
-
"skill"
|
|
18595
|
-
]
|
|
18596
|
-
}
|
|
18597
|
-
},
|
|
18598
|
-
"right": {
|
|
18599
|
-
"type": "string",
|
|
18600
|
-
"value": ".credit"
|
|
18601
|
-
}
|
|
18602
|
-
}
|
|
18603
|
-
},
|
|
18604
|
-
"'skills.' + params.skill + '.base'": {
|
|
18605
|
-
"text": "'skills.' + params.skill + '.base'",
|
|
18606
|
-
"tree": {
|
|
18607
|
-
"type": "binary",
|
|
18608
|
-
"op": "+",
|
|
18609
|
-
"left": {
|
|
18610
|
-
"type": "binary",
|
|
18611
|
-
"op": "+",
|
|
18612
|
-
"left": {
|
|
18613
|
-
"type": "string",
|
|
18614
|
-
"value": "skills."
|
|
18615
|
-
},
|
|
18616
|
-
"right": {
|
|
18617
|
-
"type": "name",
|
|
18618
|
-
"path": [
|
|
18619
|
-
"params",
|
|
18620
|
-
"skill"
|
|
18621
|
-
]
|
|
18622
|
-
}
|
|
18623
|
-
},
|
|
18624
|
-
"right": {
|
|
18625
|
-
"type": "string",
|
|
18626
|
-
"value": ".base"
|
|
18627
|
-
}
|
|
18628
|
-
}
|
|
18629
|
-
},
|
|
18630
|
-
"'skills.' + params.skill + '.credit'": {
|
|
18631
|
-
"text": "'skills.' + params.skill + '.credit'",
|
|
18632
|
-
"tree": {
|
|
18633
|
-
"type": "binary",
|
|
18634
|
-
"op": "+",
|
|
18635
|
-
"left": {
|
|
18636
|
-
"type": "binary",
|
|
18637
|
-
"op": "+",
|
|
18638
|
-
"left": {
|
|
18639
|
-
"type": "string",
|
|
18640
|
-
"value": "skills."
|
|
18641
|
-
},
|
|
18642
|
-
"right": {
|
|
18643
|
-
"type": "name",
|
|
18644
|
-
"path": [
|
|
18645
|
-
"params",
|
|
18646
|
-
"skill"
|
|
18647
|
-
]
|
|
18648
|
-
}
|
|
18649
|
-
},
|
|
18650
|
-
"right": {
|
|
18651
|
-
"type": "string",
|
|
18652
|
-
"value": ".credit"
|
|
18653
|
-
}
|
|
18654
|
-
}
|
|
18655
|
-
},
|
|
18656
18907
|
"'skills.cast.level'": {
|
|
18657
18908
|
"text": "'skills.cast.level'",
|
|
18658
18909
|
"tree": {
|
|
@@ -18685,6 +18936,13 @@
|
|
|
18685
18936
|
}
|
|
18686
18937
|
}
|
|
18687
18938
|
},
|
|
18939
|
+
"'summoned'": {
|
|
18940
|
+
"text": "'summoned'",
|
|
18941
|
+
"tree": {
|
|
18942
|
+
"type": "string",
|
|
18943
|
+
"value": "summoned"
|
|
18944
|
+
}
|
|
18945
|
+
},
|
|
18688
18946
|
"'take'": {
|
|
18689
18947
|
"text": "'take'",
|
|
18690
18948
|
"tree": {
|
|
@@ -18757,6 +19015,13 @@
|
|
|
18757
19015
|
}
|
|
18758
19016
|
}
|
|
18759
19017
|
},
|
|
19018
|
+
"'triggered'": {
|
|
19019
|
+
"text": "'triggered'",
|
|
19020
|
+
"tree": {
|
|
19021
|
+
"type": "string",
|
|
19022
|
+
"value": "triggered"
|
|
19023
|
+
}
|
|
19024
|
+
},
|
|
18760
19025
|
"'unarmed' in item.tags": {
|
|
18761
19026
|
"text": "'unarmed' in item.tags",
|
|
18762
19027
|
"tree": {
|
|
@@ -18906,8 +19171,8 @@
|
|
|
18906
19171
|
"value": "weapon"
|
|
18907
19172
|
}
|
|
18908
19173
|
},
|
|
18909
|
-
"('repeatable' in item.tags || !(item.id in edges.taken))\n && (!item.magic || (campaign.magic && params.choice != 'underdog-edge'\n && params.choice != 'edge-5'))\n && !('not-underdog' in item.tags && (underdog || params.choice == 'underdog-edge'))\n && !('brings-cyber' in item.tags\n && (magic.graced || countCopies(
|
|
18910
|
-
"text": "('repeatable' in item.tags || !(item.id in edges.taken)) && (!item.magic || campaign.magic && params.choice != 'underdog-edge' && params.choice != 'edge-5') && !('not-underdog' in item.tags && (underdog || params.choice == 'underdog-edge')) && !('brings-cyber' in item.tags && (magic.graced || countCopies(
|
|
19174
|
+
"('repeatable' in item.tags || !(item.id in edges.taken))\n && (!item.magic || (campaign.magic && params.choice != 'underdog-edge'\n && params.choice != 'edge-5'))\n && !('not-underdog' in item.tags && (underdog || params.choice == 'underdog-edge'))\n && !('brings-cyber' in item.tags\n && (magic.graced || countCopies('bars-cyber' in copy.tags) > 0))": {
|
|
19175
|
+
"text": "('repeatable' in item.tags || !(item.id in edges.taken)) && (!item.magic || campaign.magic && params.choice != 'underdog-edge' && params.choice != 'edge-5') && !('not-underdog' in item.tags && (underdog || params.choice == 'underdog-edge')) && !('brings-cyber' in item.tags && (magic.graced || countCopies('bars-cyber' in copy.tags) > 0))",
|
|
18911
19176
|
"tree": {
|
|
18912
19177
|
"type": "binary",
|
|
18913
19178
|
"op": "&&",
|
|
@@ -19108,17 +19373,17 @@
|
|
|
19108
19373
|
"args": [
|
|
19109
19374
|
{
|
|
19110
19375
|
"type": "binary",
|
|
19111
|
-
"op": "
|
|
19376
|
+
"op": "in",
|
|
19112
19377
|
"left": {
|
|
19378
|
+
"type": "string",
|
|
19379
|
+
"value": "bars-cyber"
|
|
19380
|
+
},
|
|
19381
|
+
"right": {
|
|
19113
19382
|
"type": "name",
|
|
19114
19383
|
"path": [
|
|
19115
19384
|
"copy",
|
|
19116
|
-
"
|
|
19385
|
+
"tags"
|
|
19117
19386
|
]
|
|
19118
|
-
},
|
|
19119
|
-
"right": {
|
|
19120
|
-
"type": "ref",
|
|
19121
|
-
"id": "foci.all-natural"
|
|
19122
19387
|
}
|
|
19123
19388
|
}
|
|
19124
19389
|
]
|
|
@@ -19133,8 +19398,8 @@
|
|
|
19133
19398
|
}
|
|
19134
19399
|
}
|
|
19135
19400
|
},
|
|
19136
|
-
"('repeatable' in item.tags || countCopies(copy.item == item.id) == 0)\n && !('brings-cyber' in item.tags\n && (magic.graced || countCopies(
|
|
19137
|
-
"text": "('repeatable' in item.tags || countCopies(copy.item == item.id) == 0) && !('brings-cyber' in item.tags && (magic.graced || countCopies(
|
|
19401
|
+
"('repeatable' in item.tags || countCopies(copy.item == item.id) == 0)\n && !('brings-cyber' in item.tags\n && (magic.graced || countCopies('bars-cyber' in copy.tags) > 0))\n && !('bars-cyber' in item.tags && (underdog || magic.mage || magic.summoner\n || magic.graced || countCopies(copy.type == 'cyberware' && copy.fields.strain > 0) > 0))": {
|
|
19402
|
+
"text": "('repeatable' in item.tags || countCopies(copy.item == item.id) == 0) && !('brings-cyber' in item.tags && (magic.graced || countCopies('bars-cyber' in copy.tags) > 0)) && !('bars-cyber' in item.tags && (underdog || magic.mage || magic.summoner || magic.graced || countCopies(copy.type == 'cyberware' && copy.fields.strain > 0) > 0))",
|
|
19138
19403
|
"tree": {
|
|
19139
19404
|
"type": "binary",
|
|
19140
19405
|
"op": "&&",
|
|
@@ -19232,17 +19497,17 @@
|
|
|
19232
19497
|
"args": [
|
|
19233
19498
|
{
|
|
19234
19499
|
"type": "binary",
|
|
19235
|
-
"op": "
|
|
19500
|
+
"op": "in",
|
|
19236
19501
|
"left": {
|
|
19502
|
+
"type": "string",
|
|
19503
|
+
"value": "bars-cyber"
|
|
19504
|
+
},
|
|
19505
|
+
"right": {
|
|
19237
19506
|
"type": "name",
|
|
19238
19507
|
"path": [
|
|
19239
19508
|
"copy",
|
|
19240
|
-
"
|
|
19509
|
+
"tags"
|
|
19241
19510
|
]
|
|
19242
|
-
},
|
|
19243
|
-
"right": {
|
|
19244
|
-
"type": "ref",
|
|
19245
|
-
"id": "foci.all-natural"
|
|
19246
19511
|
}
|
|
19247
19512
|
}
|
|
19248
19513
|
]
|
|
@@ -19264,17 +19529,17 @@
|
|
|
19264
19529
|
"op": "&&",
|
|
19265
19530
|
"left": {
|
|
19266
19531
|
"type": "binary",
|
|
19267
|
-
"op": "
|
|
19532
|
+
"op": "in",
|
|
19268
19533
|
"left": {
|
|
19534
|
+
"type": "string",
|
|
19535
|
+
"value": "bars-cyber"
|
|
19536
|
+
},
|
|
19537
|
+
"right": {
|
|
19269
19538
|
"type": "name",
|
|
19270
19539
|
"path": [
|
|
19271
19540
|
"item",
|
|
19272
|
-
"
|
|
19541
|
+
"tags"
|
|
19273
19542
|
]
|
|
19274
|
-
},
|
|
19275
|
-
"right": {
|
|
19276
|
-
"type": "ref",
|
|
19277
|
-
"id": "foci.all-natural"
|
|
19278
19543
|
}
|
|
19279
19544
|
},
|
|
19280
19545
|
"right": {
|
|
@@ -19502,6 +19767,263 @@
|
|
|
19502
19767
|
}
|
|
19503
19768
|
}
|
|
19504
19769
|
},
|
|
19770
|
+
"(params.choice == 'edge-5' && level < 5) || (params.choice == 'underdog-edge' && !underdog)\n || (params.choice == 'edge-1' && size(picksOf('edge-1')) > 0)\n || (params.choice == 'edge-2' && size(picksOf('edge-2')) > 0)\n || (params.choice == 'edge-5' && size(picksOf('edge-5')) > 0)\n || (params.choice == 'underdog-edge' && size(picksOf('underdog-edge')) > 0)": {
|
|
19771
|
+
"text": "params.choice == 'edge-5' && level < 5 || params.choice == 'underdog-edge' && !underdog || params.choice == 'edge-1' && size(picksOf('edge-1')) > 0 || params.choice == 'edge-2' && size(picksOf('edge-2')) > 0 || params.choice == 'edge-5' && size(picksOf('edge-5')) > 0 || params.choice == 'underdog-edge' && size(picksOf('underdog-edge')) > 0",
|
|
19772
|
+
"tree": {
|
|
19773
|
+
"type": "binary",
|
|
19774
|
+
"op": "||",
|
|
19775
|
+
"left": {
|
|
19776
|
+
"type": "binary",
|
|
19777
|
+
"op": "||",
|
|
19778
|
+
"left": {
|
|
19779
|
+
"type": "binary",
|
|
19780
|
+
"op": "||",
|
|
19781
|
+
"left": {
|
|
19782
|
+
"type": "binary",
|
|
19783
|
+
"op": "||",
|
|
19784
|
+
"left": {
|
|
19785
|
+
"type": "binary",
|
|
19786
|
+
"op": "||",
|
|
19787
|
+
"left": {
|
|
19788
|
+
"type": "binary",
|
|
19789
|
+
"op": "&&",
|
|
19790
|
+
"left": {
|
|
19791
|
+
"type": "binary",
|
|
19792
|
+
"op": "==",
|
|
19793
|
+
"left": {
|
|
19794
|
+
"type": "name",
|
|
19795
|
+
"path": [
|
|
19796
|
+
"params",
|
|
19797
|
+
"choice"
|
|
19798
|
+
]
|
|
19799
|
+
},
|
|
19800
|
+
"right": {
|
|
19801
|
+
"type": "string",
|
|
19802
|
+
"value": "edge-5"
|
|
19803
|
+
}
|
|
19804
|
+
},
|
|
19805
|
+
"right": {
|
|
19806
|
+
"type": "binary",
|
|
19807
|
+
"op": "<",
|
|
19808
|
+
"left": {
|
|
19809
|
+
"type": "name",
|
|
19810
|
+
"path": [
|
|
19811
|
+
"level"
|
|
19812
|
+
]
|
|
19813
|
+
},
|
|
19814
|
+
"right": {
|
|
19815
|
+
"type": "int",
|
|
19816
|
+
"value": 5
|
|
19817
|
+
}
|
|
19818
|
+
}
|
|
19819
|
+
},
|
|
19820
|
+
"right": {
|
|
19821
|
+
"type": "binary",
|
|
19822
|
+
"op": "&&",
|
|
19823
|
+
"left": {
|
|
19824
|
+
"type": "binary",
|
|
19825
|
+
"op": "==",
|
|
19826
|
+
"left": {
|
|
19827
|
+
"type": "name",
|
|
19828
|
+
"path": [
|
|
19829
|
+
"params",
|
|
19830
|
+
"choice"
|
|
19831
|
+
]
|
|
19832
|
+
},
|
|
19833
|
+
"right": {
|
|
19834
|
+
"type": "string",
|
|
19835
|
+
"value": "underdog-edge"
|
|
19836
|
+
}
|
|
19837
|
+
},
|
|
19838
|
+
"right": {
|
|
19839
|
+
"type": "unary",
|
|
19840
|
+
"op": "!",
|
|
19841
|
+
"operand": {
|
|
19842
|
+
"type": "name",
|
|
19843
|
+
"path": [
|
|
19844
|
+
"underdog"
|
|
19845
|
+
]
|
|
19846
|
+
}
|
|
19847
|
+
}
|
|
19848
|
+
}
|
|
19849
|
+
},
|
|
19850
|
+
"right": {
|
|
19851
|
+
"type": "binary",
|
|
19852
|
+
"op": "&&",
|
|
19853
|
+
"left": {
|
|
19854
|
+
"type": "binary",
|
|
19855
|
+
"op": "==",
|
|
19856
|
+
"left": {
|
|
19857
|
+
"type": "name",
|
|
19858
|
+
"path": [
|
|
19859
|
+
"params",
|
|
19860
|
+
"choice"
|
|
19861
|
+
]
|
|
19862
|
+
},
|
|
19863
|
+
"right": {
|
|
19864
|
+
"type": "string",
|
|
19865
|
+
"value": "edge-1"
|
|
19866
|
+
}
|
|
19867
|
+
},
|
|
19868
|
+
"right": {
|
|
19869
|
+
"type": "binary",
|
|
19870
|
+
"op": ">",
|
|
19871
|
+
"left": {
|
|
19872
|
+
"type": "call",
|
|
19873
|
+
"fn": "size",
|
|
19874
|
+
"args": [
|
|
19875
|
+
{
|
|
19876
|
+
"type": "call",
|
|
19877
|
+
"fn": "picksOf",
|
|
19878
|
+
"args": [
|
|
19879
|
+
{
|
|
19880
|
+
"type": "string",
|
|
19881
|
+
"value": "edge-1"
|
|
19882
|
+
}
|
|
19883
|
+
]
|
|
19884
|
+
}
|
|
19885
|
+
]
|
|
19886
|
+
},
|
|
19887
|
+
"right": {
|
|
19888
|
+
"type": "int",
|
|
19889
|
+
"value": 0
|
|
19890
|
+
}
|
|
19891
|
+
}
|
|
19892
|
+
}
|
|
19893
|
+
},
|
|
19894
|
+
"right": {
|
|
19895
|
+
"type": "binary",
|
|
19896
|
+
"op": "&&",
|
|
19897
|
+
"left": {
|
|
19898
|
+
"type": "binary",
|
|
19899
|
+
"op": "==",
|
|
19900
|
+
"left": {
|
|
19901
|
+
"type": "name",
|
|
19902
|
+
"path": [
|
|
19903
|
+
"params",
|
|
19904
|
+
"choice"
|
|
19905
|
+
]
|
|
19906
|
+
},
|
|
19907
|
+
"right": {
|
|
19908
|
+
"type": "string",
|
|
19909
|
+
"value": "edge-2"
|
|
19910
|
+
}
|
|
19911
|
+
},
|
|
19912
|
+
"right": {
|
|
19913
|
+
"type": "binary",
|
|
19914
|
+
"op": ">",
|
|
19915
|
+
"left": {
|
|
19916
|
+
"type": "call",
|
|
19917
|
+
"fn": "size",
|
|
19918
|
+
"args": [
|
|
19919
|
+
{
|
|
19920
|
+
"type": "call",
|
|
19921
|
+
"fn": "picksOf",
|
|
19922
|
+
"args": [
|
|
19923
|
+
{
|
|
19924
|
+
"type": "string",
|
|
19925
|
+
"value": "edge-2"
|
|
19926
|
+
}
|
|
19927
|
+
]
|
|
19928
|
+
}
|
|
19929
|
+
]
|
|
19930
|
+
},
|
|
19931
|
+
"right": {
|
|
19932
|
+
"type": "int",
|
|
19933
|
+
"value": 0
|
|
19934
|
+
}
|
|
19935
|
+
}
|
|
19936
|
+
}
|
|
19937
|
+
},
|
|
19938
|
+
"right": {
|
|
19939
|
+
"type": "binary",
|
|
19940
|
+
"op": "&&",
|
|
19941
|
+
"left": {
|
|
19942
|
+
"type": "binary",
|
|
19943
|
+
"op": "==",
|
|
19944
|
+
"left": {
|
|
19945
|
+
"type": "name",
|
|
19946
|
+
"path": [
|
|
19947
|
+
"params",
|
|
19948
|
+
"choice"
|
|
19949
|
+
]
|
|
19950
|
+
},
|
|
19951
|
+
"right": {
|
|
19952
|
+
"type": "string",
|
|
19953
|
+
"value": "edge-5"
|
|
19954
|
+
}
|
|
19955
|
+
},
|
|
19956
|
+
"right": {
|
|
19957
|
+
"type": "binary",
|
|
19958
|
+
"op": ">",
|
|
19959
|
+
"left": {
|
|
19960
|
+
"type": "call",
|
|
19961
|
+
"fn": "size",
|
|
19962
|
+
"args": [
|
|
19963
|
+
{
|
|
19964
|
+
"type": "call",
|
|
19965
|
+
"fn": "picksOf",
|
|
19966
|
+
"args": [
|
|
19967
|
+
{
|
|
19968
|
+
"type": "string",
|
|
19969
|
+
"value": "edge-5"
|
|
19970
|
+
}
|
|
19971
|
+
]
|
|
19972
|
+
}
|
|
19973
|
+
]
|
|
19974
|
+
},
|
|
19975
|
+
"right": {
|
|
19976
|
+
"type": "int",
|
|
19977
|
+
"value": 0
|
|
19978
|
+
}
|
|
19979
|
+
}
|
|
19980
|
+
}
|
|
19981
|
+
},
|
|
19982
|
+
"right": {
|
|
19983
|
+
"type": "binary",
|
|
19984
|
+
"op": "&&",
|
|
19985
|
+
"left": {
|
|
19986
|
+
"type": "binary",
|
|
19987
|
+
"op": "==",
|
|
19988
|
+
"left": {
|
|
19989
|
+
"type": "name",
|
|
19990
|
+
"path": [
|
|
19991
|
+
"params",
|
|
19992
|
+
"choice"
|
|
19993
|
+
]
|
|
19994
|
+
},
|
|
19995
|
+
"right": {
|
|
19996
|
+
"type": "string",
|
|
19997
|
+
"value": "underdog-edge"
|
|
19998
|
+
}
|
|
19999
|
+
},
|
|
20000
|
+
"right": {
|
|
20001
|
+
"type": "binary",
|
|
20002
|
+
"op": ">",
|
|
20003
|
+
"left": {
|
|
20004
|
+
"type": "call",
|
|
20005
|
+
"fn": "size",
|
|
20006
|
+
"args": [
|
|
20007
|
+
{
|
|
20008
|
+
"type": "call",
|
|
20009
|
+
"fn": "picksOf",
|
|
20010
|
+
"args": [
|
|
20011
|
+
{
|
|
20012
|
+
"type": "string",
|
|
20013
|
+
"value": "underdog-edge"
|
|
20014
|
+
}
|
|
20015
|
+
]
|
|
20016
|
+
}
|
|
20017
|
+
]
|
|
20018
|
+
},
|
|
20019
|
+
"right": {
|
|
20020
|
+
"type": "int",
|
|
20021
|
+
"value": 0
|
|
20022
|
+
}
|
|
20023
|
+
}
|
|
20024
|
+
}
|
|
20025
|
+
}
|
|
20026
|
+
},
|
|
19505
20027
|
"(self.equipped || 'standard' in item.tags || 'implant' in item.tags)\n && !('trap' in item.tags) && (!has(item.magazine) || self.loaded >= 1)": {
|
|
19506
20028
|
"text": "(self.equipped || 'standard' in item.tags || 'implant' in item.tags) && !('trap' in item.tags) && (!has(item.magazine) || self.loaded >= 1)",
|
|
19507
20029
|
"tree": {
|
|
@@ -20984,6 +21506,25 @@
|
|
|
20984
21506
|
}
|
|
20985
21507
|
}
|
|
20986
21508
|
},
|
|
21509
|
+
"arts.bonusRolls.max > 0": {
|
|
21510
|
+
"text": "arts.bonusRolls.max > 0",
|
|
21511
|
+
"tree": {
|
|
21512
|
+
"type": "binary",
|
|
21513
|
+
"op": ">",
|
|
21514
|
+
"left": {
|
|
21515
|
+
"type": "name",
|
|
21516
|
+
"path": [
|
|
21517
|
+
"arts",
|
|
21518
|
+
"bonusRolls",
|
|
21519
|
+
"max"
|
|
21520
|
+
]
|
|
21521
|
+
},
|
|
21522
|
+
"right": {
|
|
21523
|
+
"type": "int",
|
|
21524
|
+
"value": 0
|
|
21525
|
+
}
|
|
21526
|
+
}
|
|
21527
|
+
},
|
|
20987
21528
|
"arts.points": {
|
|
20988
21529
|
"text": "arts.points",
|
|
20989
21530
|
"tree": {
|
|
@@ -21722,77 +22263,6 @@
|
|
|
21722
22263
|
}
|
|
21723
22264
|
}
|
|
21724
22265
|
},
|
|
21725
|
-
"attributes.str.mod + attributes.dex.mod + attributes.con.mod + attributes.int.mod\n + attributes.wis.mod + attributes.cha.mod": {
|
|
21726
|
-
"text": "attributes.str.mod + attributes.dex.mod + attributes.con.mod + attributes.int.mod + attributes.wis.mod + attributes.cha.mod",
|
|
21727
|
-
"tree": {
|
|
21728
|
-
"type": "binary",
|
|
21729
|
-
"op": "+",
|
|
21730
|
-
"left": {
|
|
21731
|
-
"type": "binary",
|
|
21732
|
-
"op": "+",
|
|
21733
|
-
"left": {
|
|
21734
|
-
"type": "binary",
|
|
21735
|
-
"op": "+",
|
|
21736
|
-
"left": {
|
|
21737
|
-
"type": "binary",
|
|
21738
|
-
"op": "+",
|
|
21739
|
-
"left": {
|
|
21740
|
-
"type": "binary",
|
|
21741
|
-
"op": "+",
|
|
21742
|
-
"left": {
|
|
21743
|
-
"type": "name",
|
|
21744
|
-
"path": [
|
|
21745
|
-
"attributes",
|
|
21746
|
-
"str",
|
|
21747
|
-
"mod"
|
|
21748
|
-
]
|
|
21749
|
-
},
|
|
21750
|
-
"right": {
|
|
21751
|
-
"type": "name",
|
|
21752
|
-
"path": [
|
|
21753
|
-
"attributes",
|
|
21754
|
-
"dex",
|
|
21755
|
-
"mod"
|
|
21756
|
-
]
|
|
21757
|
-
}
|
|
21758
|
-
},
|
|
21759
|
-
"right": {
|
|
21760
|
-
"type": "name",
|
|
21761
|
-
"path": [
|
|
21762
|
-
"attributes",
|
|
21763
|
-
"con",
|
|
21764
|
-
"mod"
|
|
21765
|
-
]
|
|
21766
|
-
}
|
|
21767
|
-
},
|
|
21768
|
-
"right": {
|
|
21769
|
-
"type": "name",
|
|
21770
|
-
"path": [
|
|
21771
|
-
"attributes",
|
|
21772
|
-
"int",
|
|
21773
|
-
"mod"
|
|
21774
|
-
]
|
|
21775
|
-
}
|
|
21776
|
-
},
|
|
21777
|
-
"right": {
|
|
21778
|
-
"type": "name",
|
|
21779
|
-
"path": [
|
|
21780
|
-
"attributes",
|
|
21781
|
-
"wis",
|
|
21782
|
-
"mod"
|
|
21783
|
-
]
|
|
21784
|
-
}
|
|
21785
|
-
},
|
|
21786
|
-
"right": {
|
|
21787
|
-
"type": "name",
|
|
21788
|
-
"path": [
|
|
21789
|
-
"attributes",
|
|
21790
|
-
"cha",
|
|
21791
|
-
"mod"
|
|
21792
|
-
]
|
|
21793
|
-
}
|
|
21794
|
-
}
|
|
21795
|
-
},
|
|
21796
22266
|
"attributes.str.score": {
|
|
21797
22267
|
"text": "attributes.str.score",
|
|
21798
22268
|
"tree": {
|
|
@@ -22884,6 +23354,86 @@
|
|
|
22884
23354
|
"value": false
|
|
22885
23355
|
}
|
|
22886
23356
|
},
|
|
23357
|
+
"fieldId('skills.{skill}.base', flags.skill)": {
|
|
23358
|
+
"text": "fieldId('skills.{skill}.base', flags.skill)",
|
|
23359
|
+
"tree": {
|
|
23360
|
+
"type": "call",
|
|
23361
|
+
"fn": "fieldId",
|
|
23362
|
+
"args": [
|
|
23363
|
+
{
|
|
23364
|
+
"type": "string",
|
|
23365
|
+
"value": "skills.{skill}.base"
|
|
23366
|
+
},
|
|
23367
|
+
{
|
|
23368
|
+
"type": "name",
|
|
23369
|
+
"path": [
|
|
23370
|
+
"flags",
|
|
23371
|
+
"skill"
|
|
23372
|
+
]
|
|
23373
|
+
}
|
|
23374
|
+
]
|
|
23375
|
+
}
|
|
23376
|
+
},
|
|
23377
|
+
"fieldId('skills.{skill}.base', params.skill)": {
|
|
23378
|
+
"text": "fieldId('skills.{skill}.base', params.skill)",
|
|
23379
|
+
"tree": {
|
|
23380
|
+
"type": "call",
|
|
23381
|
+
"fn": "fieldId",
|
|
23382
|
+
"args": [
|
|
23383
|
+
{
|
|
23384
|
+
"type": "string",
|
|
23385
|
+
"value": "skills.{skill}.base"
|
|
23386
|
+
},
|
|
23387
|
+
{
|
|
23388
|
+
"type": "name",
|
|
23389
|
+
"path": [
|
|
23390
|
+
"params",
|
|
23391
|
+
"skill"
|
|
23392
|
+
]
|
|
23393
|
+
}
|
|
23394
|
+
]
|
|
23395
|
+
}
|
|
23396
|
+
},
|
|
23397
|
+
"fieldId('skills.{skill}.credit', flags.skill)": {
|
|
23398
|
+
"text": "fieldId('skills.{skill}.credit', flags.skill)",
|
|
23399
|
+
"tree": {
|
|
23400
|
+
"type": "call",
|
|
23401
|
+
"fn": "fieldId",
|
|
23402
|
+
"args": [
|
|
23403
|
+
{
|
|
23404
|
+
"type": "string",
|
|
23405
|
+
"value": "skills.{skill}.credit"
|
|
23406
|
+
},
|
|
23407
|
+
{
|
|
23408
|
+
"type": "name",
|
|
23409
|
+
"path": [
|
|
23410
|
+
"flags",
|
|
23411
|
+
"skill"
|
|
23412
|
+
]
|
|
23413
|
+
}
|
|
23414
|
+
]
|
|
23415
|
+
}
|
|
23416
|
+
},
|
|
23417
|
+
"fieldId('skills.{skill}.credit', params.skill)": {
|
|
23418
|
+
"text": "fieldId('skills.{skill}.credit', params.skill)",
|
|
23419
|
+
"tree": {
|
|
23420
|
+
"type": "call",
|
|
23421
|
+
"fn": "fieldId",
|
|
23422
|
+
"args": [
|
|
23423
|
+
{
|
|
23424
|
+
"type": "string",
|
|
23425
|
+
"value": "skills.{skill}.credit"
|
|
23426
|
+
},
|
|
23427
|
+
{
|
|
23428
|
+
"type": "name",
|
|
23429
|
+
"path": [
|
|
23430
|
+
"params",
|
|
23431
|
+
"skill"
|
|
23432
|
+
]
|
|
23433
|
+
}
|
|
23434
|
+
]
|
|
23435
|
+
}
|
|
23436
|
+
},
|
|
22887
23437
|
"fieldOf('saves.{save}', params.save)": {
|
|
22888
23438
|
"text": "fieldOf('saves.{save}', params.save)",
|
|
22889
23439
|
"tree": {
|
|
@@ -24706,6 +25256,27 @@
|
|
|
24706
25256
|
]
|
|
24707
25257
|
}
|
|
24708
25258
|
},
|
|
25259
|
+
"foci.taken < foci.allowed": {
|
|
25260
|
+
"text": "foci.taken < foci.allowed",
|
|
25261
|
+
"tree": {
|
|
25262
|
+
"type": "binary",
|
|
25263
|
+
"op": "<",
|
|
25264
|
+
"left": {
|
|
25265
|
+
"type": "name",
|
|
25266
|
+
"path": [
|
|
25267
|
+
"foci",
|
|
25268
|
+
"taken"
|
|
25269
|
+
]
|
|
25270
|
+
},
|
|
25271
|
+
"right": {
|
|
25272
|
+
"type": "name",
|
|
25273
|
+
"path": [
|
|
25274
|
+
"foci",
|
|
25275
|
+
"allowed"
|
|
25276
|
+
]
|
|
25277
|
+
}
|
|
25278
|
+
}
|
|
25279
|
+
},
|
|
24709
25280
|
"foci.taken <= foci.allowed": {
|
|
24710
25281
|
"text": "foci.taken <= foci.allowed",
|
|
24711
25282
|
"tree": {
|
|
@@ -25933,6 +26504,37 @@
|
|
|
25933
26504
|
]
|
|
25934
26505
|
}
|
|
25935
26506
|
},
|
|
26507
|
+
"has(steps.heal) ? steps.heal.total : 0": {
|
|
26508
|
+
"text": "has(steps.heal) ? steps.heal.total : 0",
|
|
26509
|
+
"tree": {
|
|
26510
|
+
"type": "conditional",
|
|
26511
|
+
"test": {
|
|
26512
|
+
"type": "call",
|
|
26513
|
+
"fn": "has",
|
|
26514
|
+
"args": [
|
|
26515
|
+
{
|
|
26516
|
+
"type": "name",
|
|
26517
|
+
"path": [
|
|
26518
|
+
"steps",
|
|
26519
|
+
"heal"
|
|
26520
|
+
]
|
|
26521
|
+
}
|
|
26522
|
+
]
|
|
26523
|
+
},
|
|
26524
|
+
"then": {
|
|
26525
|
+
"type": "name",
|
|
26526
|
+
"path": [
|
|
26527
|
+
"steps",
|
|
26528
|
+
"heal",
|
|
26529
|
+
"total"
|
|
26530
|
+
]
|
|
26531
|
+
},
|
|
26532
|
+
"else": {
|
|
26533
|
+
"type": "int",
|
|
26534
|
+
"value": 0
|
|
26535
|
+
}
|
|
26536
|
+
}
|
|
26537
|
+
},
|
|
25936
26538
|
"has(steps.mode) ? steps.mode.picked : 'new'": {
|
|
25937
26539
|
"text": "has(steps.mode) ? steps.mode.picked : 'new'",
|
|
25938
26540
|
"tree": {
|
|
@@ -29592,8 +30194,8 @@
|
|
|
29592
30194
|
}
|
|
29593
30195
|
}
|
|
29594
30196
|
},
|
|
29595
|
-
"max(1,
|
|
29596
|
-
"text": "max(1,
|
|
30197
|
+
"max(1, (item.id == @spirits.spirit ? size(picksOf('powers')) : item.powerCount)\n - (self.ritual ? 1 : 0) - max(0, skills.summon.level))": {
|
|
30198
|
+
"text": "max(1, (item.id == @spirits.spirit ? size(picksOf('powers')) : item.powerCount) - (self.ritual ? 1 : 0) - max(0, skills.summon.level))",
|
|
29597
30199
|
"tree": {
|
|
29598
30200
|
"type": "call",
|
|
29599
30201
|
"fn": "max",
|
|
@@ -29606,68 +30208,48 @@
|
|
|
29606
30208
|
"type": "binary",
|
|
29607
30209
|
"op": "-",
|
|
29608
30210
|
"left": {
|
|
29609
|
-
"type": "
|
|
29610
|
-
"
|
|
29611
|
-
|
|
29612
|
-
"
|
|
29613
|
-
|
|
29614
|
-
},
|
|
29615
|
-
"right": {
|
|
29616
|
-
"type": "call",
|
|
29617
|
-
"fn": "ceil",
|
|
29618
|
-
"args": [
|
|
29619
|
-
{
|
|
30211
|
+
"type": "binary",
|
|
30212
|
+
"op": "-",
|
|
30213
|
+
"left": {
|
|
30214
|
+
"type": "conditional",
|
|
30215
|
+
"test": {
|
|
29620
30216
|
"type": "binary",
|
|
29621
|
-
"op": "
|
|
30217
|
+
"op": "==",
|
|
29622
30218
|
"left": {
|
|
29623
30219
|
"type": "name",
|
|
29624
30220
|
"path": [
|
|
29625
|
-
"
|
|
29626
|
-
"
|
|
30221
|
+
"item",
|
|
30222
|
+
"id"
|
|
29627
30223
|
]
|
|
29628
30224
|
},
|
|
29629
30225
|
"right": {
|
|
29630
|
-
"type": "
|
|
29631
|
-
"
|
|
30226
|
+
"type": "ref",
|
|
30227
|
+
"id": "spirits.spirit"
|
|
29632
30228
|
}
|
|
30229
|
+
},
|
|
30230
|
+
"then": {
|
|
30231
|
+
"type": "call",
|
|
30232
|
+
"fn": "size",
|
|
30233
|
+
"args": [
|
|
30234
|
+
{
|
|
30235
|
+
"type": "call",
|
|
30236
|
+
"fn": "picksOf",
|
|
30237
|
+
"args": [
|
|
30238
|
+
{
|
|
30239
|
+
"type": "string",
|
|
30240
|
+
"value": "powers"
|
|
30241
|
+
}
|
|
30242
|
+
]
|
|
30243
|
+
}
|
|
30244
|
+
]
|
|
30245
|
+
},
|
|
30246
|
+
"else": {
|
|
30247
|
+
"type": "name",
|
|
30248
|
+
"path": [
|
|
30249
|
+
"item",
|
|
30250
|
+
"powerCount"
|
|
30251
|
+
]
|
|
29633
30252
|
}
|
|
29634
|
-
]
|
|
29635
|
-
}
|
|
29636
|
-
}
|
|
29637
|
-
]
|
|
29638
|
-
}
|
|
29639
|
-
},
|
|
29640
|
-
"max(1, size(picksOf('powers')) - (self.ritual ? 1 : 0) - max(0, skills.summon.level))": {
|
|
29641
|
-
"text": "max(1, size(picksOf('powers')) - (self.ritual ? 1 : 0) - max(0, skills.summon.level))",
|
|
29642
|
-
"tree": {
|
|
29643
|
-
"type": "call",
|
|
29644
|
-
"fn": "max",
|
|
29645
|
-
"args": [
|
|
29646
|
-
{
|
|
29647
|
-
"type": "int",
|
|
29648
|
-
"value": 1
|
|
29649
|
-
},
|
|
29650
|
-
{
|
|
29651
|
-
"type": "binary",
|
|
29652
|
-
"op": "-",
|
|
29653
|
-
"left": {
|
|
29654
|
-
"type": "binary",
|
|
29655
|
-
"op": "-",
|
|
29656
|
-
"left": {
|
|
29657
|
-
"type": "call",
|
|
29658
|
-
"fn": "size",
|
|
29659
|
-
"args": [
|
|
29660
|
-
{
|
|
29661
|
-
"type": "call",
|
|
29662
|
-
"fn": "picksOf",
|
|
29663
|
-
"args": [
|
|
29664
|
-
{
|
|
29665
|
-
"type": "string",
|
|
29666
|
-
"value": "powers"
|
|
29667
|
-
}
|
|
29668
|
-
]
|
|
29669
|
-
}
|
|
29670
|
-
]
|
|
29671
30253
|
},
|
|
29672
30254
|
"right": {
|
|
29673
30255
|
"type": "conditional",
|
|
@@ -29710,6 +30292,51 @@
|
|
|
29710
30292
|
]
|
|
29711
30293
|
}
|
|
29712
30294
|
},
|
|
30295
|
+
"max(1, prior.hp - ceil(base.hp * 0.2))": {
|
|
30296
|
+
"text": "max(1, prior.hp - ceil(base.hp * 0.2))",
|
|
30297
|
+
"tree": {
|
|
30298
|
+
"type": "call",
|
|
30299
|
+
"fn": "max",
|
|
30300
|
+
"args": [
|
|
30301
|
+
{
|
|
30302
|
+
"type": "int",
|
|
30303
|
+
"value": 1
|
|
30304
|
+
},
|
|
30305
|
+
{
|
|
30306
|
+
"type": "binary",
|
|
30307
|
+
"op": "-",
|
|
30308
|
+
"left": {
|
|
30309
|
+
"type": "name",
|
|
30310
|
+
"path": [
|
|
30311
|
+
"prior",
|
|
30312
|
+
"hp"
|
|
30313
|
+
]
|
|
30314
|
+
},
|
|
30315
|
+
"right": {
|
|
30316
|
+
"type": "call",
|
|
30317
|
+
"fn": "ceil",
|
|
30318
|
+
"args": [
|
|
30319
|
+
{
|
|
30320
|
+
"type": "binary",
|
|
30321
|
+
"op": "*",
|
|
30322
|
+
"left": {
|
|
30323
|
+
"type": "name",
|
|
30324
|
+
"path": [
|
|
30325
|
+
"base",
|
|
30326
|
+
"hp"
|
|
30327
|
+
]
|
|
30328
|
+
},
|
|
30329
|
+
"right": {
|
|
30330
|
+
"type": "decimal",
|
|
30331
|
+
"value": 0.2
|
|
30332
|
+
}
|
|
30333
|
+
}
|
|
30334
|
+
]
|
|
30335
|
+
}
|
|
30336
|
+
}
|
|
30337
|
+
]
|
|
30338
|
+
}
|
|
30339
|
+
},
|
|
29713
30340
|
"max(1, skills.punch.level, skills.shoot.level, skills.stab.level)": {
|
|
29714
30341
|
"text": "max(1, skills.punch.level, skills.shoot.level, skills.stab.level)",
|
|
29715
30342
|
"tree": {
|
|
@@ -33976,6 +34603,145 @@
|
|
|
33976
34603
|
}
|
|
33977
34604
|
}
|
|
33978
34605
|
},
|
|
34606
|
+
"size(picksOf('edge-1')) == 0 || size(picksOf('edge-2')) == 0\n || (level >= 5 && size(picksOf('edge-5')) == 0)\n || (underdog && size(picksOf('underdog-edge')) == 0)": {
|
|
34607
|
+
"text": "size(picksOf('edge-1')) == 0 || size(picksOf('edge-2')) == 0 || level >= 5 && size(picksOf('edge-5')) == 0 || underdog && size(picksOf('underdog-edge')) == 0",
|
|
34608
|
+
"tree": {
|
|
34609
|
+
"type": "binary",
|
|
34610
|
+
"op": "||",
|
|
34611
|
+
"left": {
|
|
34612
|
+
"type": "binary",
|
|
34613
|
+
"op": "||",
|
|
34614
|
+
"left": {
|
|
34615
|
+
"type": "binary",
|
|
34616
|
+
"op": "||",
|
|
34617
|
+
"left": {
|
|
34618
|
+
"type": "binary",
|
|
34619
|
+
"op": "==",
|
|
34620
|
+
"left": {
|
|
34621
|
+
"type": "call",
|
|
34622
|
+
"fn": "size",
|
|
34623
|
+
"args": [
|
|
34624
|
+
{
|
|
34625
|
+
"type": "call",
|
|
34626
|
+
"fn": "picksOf",
|
|
34627
|
+
"args": [
|
|
34628
|
+
{
|
|
34629
|
+
"type": "string",
|
|
34630
|
+
"value": "edge-1"
|
|
34631
|
+
}
|
|
34632
|
+
]
|
|
34633
|
+
}
|
|
34634
|
+
]
|
|
34635
|
+
},
|
|
34636
|
+
"right": {
|
|
34637
|
+
"type": "int",
|
|
34638
|
+
"value": 0
|
|
34639
|
+
}
|
|
34640
|
+
},
|
|
34641
|
+
"right": {
|
|
34642
|
+
"type": "binary",
|
|
34643
|
+
"op": "==",
|
|
34644
|
+
"left": {
|
|
34645
|
+
"type": "call",
|
|
34646
|
+
"fn": "size",
|
|
34647
|
+
"args": [
|
|
34648
|
+
{
|
|
34649
|
+
"type": "call",
|
|
34650
|
+
"fn": "picksOf",
|
|
34651
|
+
"args": [
|
|
34652
|
+
{
|
|
34653
|
+
"type": "string",
|
|
34654
|
+
"value": "edge-2"
|
|
34655
|
+
}
|
|
34656
|
+
]
|
|
34657
|
+
}
|
|
34658
|
+
]
|
|
34659
|
+
},
|
|
34660
|
+
"right": {
|
|
34661
|
+
"type": "int",
|
|
34662
|
+
"value": 0
|
|
34663
|
+
}
|
|
34664
|
+
}
|
|
34665
|
+
},
|
|
34666
|
+
"right": {
|
|
34667
|
+
"type": "binary",
|
|
34668
|
+
"op": "&&",
|
|
34669
|
+
"left": {
|
|
34670
|
+
"type": "binary",
|
|
34671
|
+
"op": ">=",
|
|
34672
|
+
"left": {
|
|
34673
|
+
"type": "name",
|
|
34674
|
+
"path": [
|
|
34675
|
+
"level"
|
|
34676
|
+
]
|
|
34677
|
+
},
|
|
34678
|
+
"right": {
|
|
34679
|
+
"type": "int",
|
|
34680
|
+
"value": 5
|
|
34681
|
+
}
|
|
34682
|
+
},
|
|
34683
|
+
"right": {
|
|
34684
|
+
"type": "binary",
|
|
34685
|
+
"op": "==",
|
|
34686
|
+
"left": {
|
|
34687
|
+
"type": "call",
|
|
34688
|
+
"fn": "size",
|
|
34689
|
+
"args": [
|
|
34690
|
+
{
|
|
34691
|
+
"type": "call",
|
|
34692
|
+
"fn": "picksOf",
|
|
34693
|
+
"args": [
|
|
34694
|
+
{
|
|
34695
|
+
"type": "string",
|
|
34696
|
+
"value": "edge-5"
|
|
34697
|
+
}
|
|
34698
|
+
]
|
|
34699
|
+
}
|
|
34700
|
+
]
|
|
34701
|
+
},
|
|
34702
|
+
"right": {
|
|
34703
|
+
"type": "int",
|
|
34704
|
+
"value": 0
|
|
34705
|
+
}
|
|
34706
|
+
}
|
|
34707
|
+
}
|
|
34708
|
+
},
|
|
34709
|
+
"right": {
|
|
34710
|
+
"type": "binary",
|
|
34711
|
+
"op": "&&",
|
|
34712
|
+
"left": {
|
|
34713
|
+
"type": "name",
|
|
34714
|
+
"path": [
|
|
34715
|
+
"underdog"
|
|
34716
|
+
]
|
|
34717
|
+
},
|
|
34718
|
+
"right": {
|
|
34719
|
+
"type": "binary",
|
|
34720
|
+
"op": "==",
|
|
34721
|
+
"left": {
|
|
34722
|
+
"type": "call",
|
|
34723
|
+
"fn": "size",
|
|
34724
|
+
"args": [
|
|
34725
|
+
{
|
|
34726
|
+
"type": "call",
|
|
34727
|
+
"fn": "picksOf",
|
|
34728
|
+
"args": [
|
|
34729
|
+
{
|
|
34730
|
+
"type": "string",
|
|
34731
|
+
"value": "underdog-edge"
|
|
34732
|
+
}
|
|
34733
|
+
]
|
|
34734
|
+
}
|
|
34735
|
+
]
|
|
34736
|
+
},
|
|
34737
|
+
"right": {
|
|
34738
|
+
"type": "int",
|
|
34739
|
+
"value": 0
|
|
34740
|
+
}
|
|
34741
|
+
}
|
|
34742
|
+
}
|
|
34743
|
+
}
|
|
34744
|
+
},
|
|
33979
34745
|
"size(steps.edge.item.startingCyber) > 0\n && strain.total + steps.edge.item.startingCyberStrain <= strain.max && !magic.graced": {
|
|
33980
34746
|
"text": "size(steps.edge.item.startingCyber) > 0 && strain.total + steps.edge.item.startingCyberStrain <= strain.max && !magic.graced",
|
|
33981
34747
|
"tree": {
|
|
@@ -37317,6 +38083,180 @@
|
|
|
37317
38083
|
]
|
|
37318
38084
|
}
|
|
37319
38085
|
},
|
|
38086
|
+
"sumList(['str', 'dex', 'con', 'int', 'wis', 'cha'],\n fieldOf('attributes.{attribute}.base', x) >= 18 ? 2\n : fieldOf('attributes.{attribute}.base', x) >= 14 ? 1\n : fieldOf('attributes.{attribute}.base', x) >= 8 ? 0\n : fieldOf('attributes.{attribute}.base', x) >= 4 ? -1 : -2)": {
|
|
38087
|
+
"text": "sumList(['str', 'dex', 'con', 'int', 'wis', 'cha'], fieldOf('attributes.{attribute}.base', x) >= 18 ? 2 : fieldOf('attributes.{attribute}.base', x) >= 14 ? 1 : fieldOf('attributes.{attribute}.base', x) >= 8 ? 0 : fieldOf('attributes.{attribute}.base', x) >= 4 ? -1 : -2)",
|
|
38088
|
+
"tree": {
|
|
38089
|
+
"type": "call",
|
|
38090
|
+
"fn": "sumList",
|
|
38091
|
+
"args": [
|
|
38092
|
+
{
|
|
38093
|
+
"type": "list",
|
|
38094
|
+
"items": [
|
|
38095
|
+
{
|
|
38096
|
+
"type": "string",
|
|
38097
|
+
"value": "str"
|
|
38098
|
+
},
|
|
38099
|
+
{
|
|
38100
|
+
"type": "string",
|
|
38101
|
+
"value": "dex"
|
|
38102
|
+
},
|
|
38103
|
+
{
|
|
38104
|
+
"type": "string",
|
|
38105
|
+
"value": "con"
|
|
38106
|
+
},
|
|
38107
|
+
{
|
|
38108
|
+
"type": "string",
|
|
38109
|
+
"value": "int"
|
|
38110
|
+
},
|
|
38111
|
+
{
|
|
38112
|
+
"type": "string",
|
|
38113
|
+
"value": "wis"
|
|
38114
|
+
},
|
|
38115
|
+
{
|
|
38116
|
+
"type": "string",
|
|
38117
|
+
"value": "cha"
|
|
38118
|
+
}
|
|
38119
|
+
]
|
|
38120
|
+
},
|
|
38121
|
+
{
|
|
38122
|
+
"type": "conditional",
|
|
38123
|
+
"test": {
|
|
38124
|
+
"type": "binary",
|
|
38125
|
+
"op": ">=",
|
|
38126
|
+
"left": {
|
|
38127
|
+
"type": "call",
|
|
38128
|
+
"fn": "fieldOf",
|
|
38129
|
+
"args": [
|
|
38130
|
+
{
|
|
38131
|
+
"type": "string",
|
|
38132
|
+
"value": "attributes.{attribute}.base"
|
|
38133
|
+
},
|
|
38134
|
+
{
|
|
38135
|
+
"type": "name",
|
|
38136
|
+
"path": [
|
|
38137
|
+
"x"
|
|
38138
|
+
]
|
|
38139
|
+
}
|
|
38140
|
+
]
|
|
38141
|
+
},
|
|
38142
|
+
"right": {
|
|
38143
|
+
"type": "int",
|
|
38144
|
+
"value": 18
|
|
38145
|
+
}
|
|
38146
|
+
},
|
|
38147
|
+
"then": {
|
|
38148
|
+
"type": "int",
|
|
38149
|
+
"value": 2
|
|
38150
|
+
},
|
|
38151
|
+
"else": {
|
|
38152
|
+
"type": "conditional",
|
|
38153
|
+
"test": {
|
|
38154
|
+
"type": "binary",
|
|
38155
|
+
"op": ">=",
|
|
38156
|
+
"left": {
|
|
38157
|
+
"type": "call",
|
|
38158
|
+
"fn": "fieldOf",
|
|
38159
|
+
"args": [
|
|
38160
|
+
{
|
|
38161
|
+
"type": "string",
|
|
38162
|
+
"value": "attributes.{attribute}.base"
|
|
38163
|
+
},
|
|
38164
|
+
{
|
|
38165
|
+
"type": "name",
|
|
38166
|
+
"path": [
|
|
38167
|
+
"x"
|
|
38168
|
+
]
|
|
38169
|
+
}
|
|
38170
|
+
]
|
|
38171
|
+
},
|
|
38172
|
+
"right": {
|
|
38173
|
+
"type": "int",
|
|
38174
|
+
"value": 14
|
|
38175
|
+
}
|
|
38176
|
+
},
|
|
38177
|
+
"then": {
|
|
38178
|
+
"type": "int",
|
|
38179
|
+
"value": 1
|
|
38180
|
+
},
|
|
38181
|
+
"else": {
|
|
38182
|
+
"type": "conditional",
|
|
38183
|
+
"test": {
|
|
38184
|
+
"type": "binary",
|
|
38185
|
+
"op": ">=",
|
|
38186
|
+
"left": {
|
|
38187
|
+
"type": "call",
|
|
38188
|
+
"fn": "fieldOf",
|
|
38189
|
+
"args": [
|
|
38190
|
+
{
|
|
38191
|
+
"type": "string",
|
|
38192
|
+
"value": "attributes.{attribute}.base"
|
|
38193
|
+
},
|
|
38194
|
+
{
|
|
38195
|
+
"type": "name",
|
|
38196
|
+
"path": [
|
|
38197
|
+
"x"
|
|
38198
|
+
]
|
|
38199
|
+
}
|
|
38200
|
+
]
|
|
38201
|
+
},
|
|
38202
|
+
"right": {
|
|
38203
|
+
"type": "int",
|
|
38204
|
+
"value": 8
|
|
38205
|
+
}
|
|
38206
|
+
},
|
|
38207
|
+
"then": {
|
|
38208
|
+
"type": "int",
|
|
38209
|
+
"value": 0
|
|
38210
|
+
},
|
|
38211
|
+
"else": {
|
|
38212
|
+
"type": "conditional",
|
|
38213
|
+
"test": {
|
|
38214
|
+
"type": "binary",
|
|
38215
|
+
"op": ">=",
|
|
38216
|
+
"left": {
|
|
38217
|
+
"type": "call",
|
|
38218
|
+
"fn": "fieldOf",
|
|
38219
|
+
"args": [
|
|
38220
|
+
{
|
|
38221
|
+
"type": "string",
|
|
38222
|
+
"value": "attributes.{attribute}.base"
|
|
38223
|
+
},
|
|
38224
|
+
{
|
|
38225
|
+
"type": "name",
|
|
38226
|
+
"path": [
|
|
38227
|
+
"x"
|
|
38228
|
+
]
|
|
38229
|
+
}
|
|
38230
|
+
]
|
|
38231
|
+
},
|
|
38232
|
+
"right": {
|
|
38233
|
+
"type": "int",
|
|
38234
|
+
"value": 4
|
|
38235
|
+
}
|
|
38236
|
+
},
|
|
38237
|
+
"then": {
|
|
38238
|
+
"type": "unary",
|
|
38239
|
+
"op": "-",
|
|
38240
|
+
"operand": {
|
|
38241
|
+
"type": "int",
|
|
38242
|
+
"value": 1
|
|
38243
|
+
}
|
|
38244
|
+
},
|
|
38245
|
+
"else": {
|
|
38246
|
+
"type": "unary",
|
|
38247
|
+
"op": "-",
|
|
38248
|
+
"operand": {
|
|
38249
|
+
"type": "int",
|
|
38250
|
+
"value": 2
|
|
38251
|
+
}
|
|
38252
|
+
}
|
|
38253
|
+
}
|
|
38254
|
+
}
|
|
38255
|
+
}
|
|
38256
|
+
}
|
|
38257
|
+
]
|
|
38258
|
+
}
|
|
38259
|
+
},
|
|
37320
38260
|
"underdog": {
|
|
37321
38261
|
"text": "underdog",
|
|
37322
38262
|
"tree": {
|