-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathCOM_5ePack_EK - Sidekicks.user
908 lines (883 loc) · 44 KB
/
COM_5ePack_EK - Sidekicks.user
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
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
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
<?xml version="1.0" encoding="UTF-8"?>
<document signature="Hero Lab Data">
<thing id="r5CSdkSpell" name="Sidekick" description="This is the base stat block for the Spellcaster Sidekick. It should only be used in conjunction with the Healer sidekick class." compset="Race">
<fieldval field="rHitDice" value="1"/>
<fieldval field="rHDSides" value="8"/>
<fieldval field="rHPStart" value="4"/>
<fieldval field="rDEX" value="2"/>
<fieldval field="rINT" value="5"/>
<fieldval field="rWIS" value="4"/>
<fieldval field="rCHA" value="3"/>
<fieldval field="rLanguages" value="1"/>
<usesource source="5CEKSKicks"/>
<tag group="ProfSave" tag="svWIS"/>
<tag group="ProfSkill" tag="skArcana"/>
<tag group="ProfSkill" tag="skInvestig"/>
<tag group="ProfSkill" tag="skReligion"/>
<tag group="ArmProfGrp" tag="ArmorLight"/>
<tag group="ArmProfGrp" tag="WepSimple"/>
<tag group="RaceType" tag="Normal"/>
<tag group="RaceSize" tag="Medium0"/>
<bootstrap thing="tpHumanoid"></bootstrap>
<bootstrap thing="lCommon"></bootstrap>
<pickreq thing="cHelpSkH" onlyonce="yes"/>
</thing>
<thing id="cHelpSkH" name="Healer" compset="Class" uniqueness="unique">
<fieldval field="cHDSides" value="8"/>
<fieldval field="cAbbr" value="SkH"/>
<fieldval field="StartWeap" value="Quarterstaff"/>
<fieldval field="StartArmor" value="Leather Armor"/>
<usesource source="5CEKSKicks"/>
<tag group="Classes" tag="SdkHeal" name="Sidekick Healer"/>
<tag group="CasterType" tag="SpontKnow"/>
<tag group="CasterSrc" tag="Divine"/>
<tag group="Helper" tag="FullCaster"/>
<bootstrap thing="spCureWoun">
<autotag group="BonusSplAt" tag="1"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spBless">
<autotag group="BonusSplAt" tag="2"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spShieFait">
<autotag group="BonusSplAt" tag="3"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spResistan">
<autotag group="BonusSplAt" tag="4"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spAid">
<autotag group="BonusSplAt" tag="5"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spLight">
<autotag group="BonusSplAt" tag="7"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spLessRest">
<autotag group="BonusSplAt" tag="7"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spProtEner">
<autotag group="BonusSplAt" tag="7"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spRevivify">
<autotag group="BonusSplAt" tag="7"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spDeatWard">
<autotag group="BonusSplAt" tag="7"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spBanishme">
<autotag group="BonusSplAt" tag="8"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spGreaRest">
<autotag group="BonusSplAt" tag="9"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spSparDyi">
<autotag group="BonusSplAt" tag="10"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spMassCure">
<autotag group="BonusSplAt" tag="10"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spHeal">
<autotag group="BonusSplAt" tag="11"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="cSkH5CASI1">
<autotag group="ClSpecWhen" tag="4"/>
</bootstrap>
<bootstrap thing="cSkH5CASI2">
<autotag group="ClSpecWhen" tag="8"/>
</bootstrap>
<bootstrap thing="cSkH5CASI3">
<autotag group="ClSpecWhen" tag="12"/>
</bootstrap>
<bootstrap thing="cSkH5CPtCnt">
<autotag group="ClSpecWhen" tag="6"/>
</bootstrap>
<bootstrap thing="cSkH5CEmSpl">
<autotag group="ClSpecWhen" tag="10"/>
</bootstrap>
<bootstrap thing="spGuidance">
<autotag group="BonusSplAt" tag="1"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<bootstrap thing="spSacrFlam">
<autotag group="BonusSplAt" tag="1"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkH"/>
</bootstrap>
<link linkage="castattr" thing="aWIS"/>
<eval phase="Final" priority="5005">if (herofield[tMaxCaster].value=2) then
hero.childfound[SlotHold1].field[MaxAllow].value -=1
elseif (herofield[tMaxCaster].value=3) then
hero.childfound[SlotHold1].field[MaxAllow].value -=1
hero.childfound[SlotHold2].field[MaxAllow].value -=2
elseif (herofield[tMaxCaster].value=4) then
hero.childfound[SlotHold1].field[MaxAllow].value -=1
hero.childfound[SlotHold2].field[MaxAllow].value -=3
elseif (herofield[tMaxCaster].value=5) then
hero.childfound[SlotHold2].field[MaxAllow].value -=1
hero.childfound[SlotHold3].field[MaxAllow].value -=2
elseif (herofield[tMaxCaster].value=6) then
hero.childfound[SlotHold2].field[MaxAllow].value -=1
hero.childfound[SlotHold3].field[MaxAllow].value -=3
endif</eval>
</thing>
<thing id="cSdkHeal" name="Healer" compset="ClassLevel" maxlimit="12">
<usesource source="5CEKSKicks"/>
<tag group="ClassType" tag="NPC"/>
<bootstrap thing="cHelpSkH"></bootstrap>
<link linkage="helper" thing="cHelpSkH"/>
<pickreq thing="r5CSdkSpell"/>
</thing>
<thing id="cSkH5CASI1" name="Ability Score Increase" description="The healer's Wisdom increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
<eval phase="PreLevel" priority="5000"><![CDATA[~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] <> 0)
if (#levelcount[SdkHeal] >= 12 ) then
hero.child[aWIS].field[aStartMod].value += 6
elseif (#levelcount[SdkHeal] >= 8 ) then
hero.child[aWIS].field[aStartMod].value += 4
elseif (#levelcount[SdkHeal] >= 4 ) then
hero.child[aWIS].field[aStartMod].value += 2
endif]]></eval>
</thing>
<thing id="cSkH5CASI2" name="Ability Score Increase" description="The healer's Wisdom increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="cSkM5CASI1" name="Ability Score Increase" description="The mage's Intelligence increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
<eval phase="PreLevel" priority="5000"><![CDATA[~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] <> 0)
if (#levelcount[SdkMage] >= 12 ) then
hero.child[aINT].field[aStartMod].value += 5
hero.child[aCHA].field[aStartMod].value += 1
elseif (#levelcount[SdkMage] >= 8 ) then
hero.child[aINT].field[aStartMod].value += 3
hero.child[aCHA].field[aStartMod].value += 1
elseif (#levelcount[SdkMage] >= 7 ) then
hero.child[aINT].field[aStartMod].value += 1
hero.child[aCHA].field[aStartMod].value += 1
elseif (#levelcount[SdkMage] >= 4 ) then
hero.child[aINT].field[aStartMod].value += 2
endif]]></eval>
</thing>
<thing id="cHelpSkM" name="Mage" compset="Class" uniqueness="unique">
<fieldval field="cHDSides" value="8"/>
<fieldval field="cAbbr" value="SkM"/>
<fieldval field="StartArmor" value="Leather Armor"/>
<fieldval field="StartWeap" value="Quarterstaff"/>
<usesource source="5CEKSKicks"/>
<tag group="Helper" tag="FullCaster"/>
<tag group="Classes" tag="SdkMage" name="Sidekick Mage"/>
<tag group="CasterSrc" tag="Arcane"/>
<tag group="CasterType" tag="SpontKnow"/>
<bootstrap thing="spSleep">
<autotag group="BonusSplAt" tag="1"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spBurnHand">
<autotag group="BonusSplAt" tag="2"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spShield">
<autotag group="BonusSplAt" tag="3"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spMageHand">
<autotag group="BonusSplAt" tag="4"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spInvisibi">
<autotag group="BonusSplAt" tag="5"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spMinoIllu">
<autotag group="BonusSplAt" tag="7"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spFlamSphe">
<autotag group="BonusSplAt" tag="7"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spFireball">
<autotag group="BonusSplAt" tag="7"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spFly">
<autotag group="BonusSplAt" tag="7"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spWallFire">
<autotag group="BonusSplAt" tag="7"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spPolymorp">
<autotag group="BonusSplAt" tag="8"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spConeCold">
<autotag group="BonusSplAt" tag="9"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spShocGras">
<autotag group="BonusSplAt" tag="10"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spHoldMons">
<autotag group="BonusSplAt" tag="10"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spChaiLigh">
<autotag group="BonusSplAt" tag="11"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="cSkM5CASI3">
<autotag group="ClSpecWhen" tag="12"/>
</bootstrap>
<bootstrap thing="cSkM5CASI2">
<autotag group="ClSpecWhen" tag="8"/>
</bootstrap>
<bootstrap thing="cSkM5CASI1">
<autotag group="ClSpecWhen" tag="4"/>
</bootstrap>
<bootstrap thing="cSkM5CASA">
<autotag group="ClSpecWhen" tag="7"/>
</bootstrap>
<bootstrap thing="cSkM5CEmSpl">
<autotag group="ClSpecWhen" tag="10"/>
</bootstrap>
<bootstrap thing="cSkM5CPtCnt">
<autotag group="ClSpecWhen" tag="6"/>
</bootstrap>
<bootstrap thing="sp5CFireBo">
<autotag group="BonusSplAt" tag="1"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<bootstrap thing="spLight">
<autotag group="BonusSplAt" tag="1"/>
<autotag group="Helper" tag="Free"/>
<autotag group="Helper" tag="Known"/>
<autotag group="Helper" tag="Memorized"/>
<autotag group="SpellType" tag="cHelpSkM"/>
</bootstrap>
<link linkage="castattr" thing="aINT"/>
<eval phase="Final" priority="5000">if (herofield[tMaxCaster].value=2) then
hero.childfound[SlotHold1].field[MaxAllow].value -=1
elseif (herofield[tMaxCaster].value=3) then
hero.childfound[SlotHold1].field[MaxAllow].value -=1
hero.childfound[SlotHold2].field[MaxAllow].value -=2
elseif (herofield[tMaxCaster].value=4) then
hero.childfound[SlotHold1].field[MaxAllow].value -=1
hero.childfound[SlotHold2].field[MaxAllow].value -=3
elseif (herofield[tMaxCaster].value=5) then
hero.childfound[SlotHold2].field[MaxAllow].value -=1
hero.childfound[SlotHold3].field[MaxAllow].value -=2
elseif (herofield[tMaxCaster].value=6) then
hero.childfound[SlotHold2].field[MaxAllow].value -=1
hero.childfound[SlotHold3].field[MaxAllow].value -=3
endif</eval>
</thing>
<thing id="cSdkMage" name="Mage" compset="ClassLevel" maxlimit="12">
<usesource source="5CEKSKicks"/>
<tag group="ClassType" tag="NPC"/>
<bootstrap thing="cHelpSkM"></bootstrap>
<link linkage="helper" thing="cHelpSkM"/>
<pickreq thing="r5CSdkMage"/>
</thing>
<thing id="cSkM5CASI2" name="Ability Score Increase" description="The mage's Intelligence increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="cSkW5CASI1" name="Ability Score Increase" description="The warrior's Strength increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
<eval phase="PreLevel" priority="5000"><![CDATA[~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] <> 0)
if (#levelcount[SdkWarrio] >= 12 ) then
hero.child[aSTR].field[aStartMod].value += 5
hero.child[aDEX].field[aStartMod].value += 1
elseif (#levelcount[SdkWarrio] >= 8 ) then
hero.child[aSTR].field[aStartMod].value += 3
hero.child[aDEX].field[aStartMod].value += 1
elseif (#levelcount[SdkWarrio] >= 7 ) then
hero.child[aSTR].field[aStartMod].value += 1
hero.child[aDEX].field[aStartMod].value += 1
elseif (#levelcount[SdkWarrio] >= 4 ) then
hero.child[aSTR].field[aStartMod].value += 2
endif]]></eval>
</thing>
<thing id="cSkE5CASI1" name="Ability Score Increase" description="The expert's Dexterity increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
<eval phase="PreLevel" priority="5000"><![CDATA[~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] <> 0)
if (#levelcount[SdkExpert] >= 12 ) then
hero.child[aDEX].field[aStartMod].value += 5
hero.child[aCHA].field[aStartMod].value += 2
hero.child[aINT].field[aStartMod].value += 1
elseif (#levelcount[SdkExpert] >= 10 ) then
hero.child[aDEX].field[aStartMod].value += 5
hero.child[aINT].field[aStartMod].value += 1
elseif (#levelcount[SdkExpert] >= 8 ) then
hero.child[aDEX].field[aStartMod].value += 3
hero.child[aINT].field[aStartMod].value += 1
elseif (#levelcount[SdkExpert] >= 7 ) then
hero.child[aDEX].field[aStartMod].value += 1
hero.child[aINT].field[aStartMod].value += 1
elseif (#levelcount[SdkExpert] >= 4 ) then
hero.child[aDEX].field[aStartMod].value += 2
endif]]></eval>
</thing>
<thing id="cSkE5CASI2" name="Ability Score Increase" description="The expert's Dexterity increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="cSkE5CASI4" name="Ability Score Increase" description="The expert's Charisma increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="cSkW5CASI2" name="Ability Score Increase" description="The warrior's Strength increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="r5CSdkWarri" name="Sidekick" description="This is the base stat block for the Warrior Sidekick. It should only be used in conjunction with the Warrior sidekick class." compset="Race">
<fieldval field="rHitDice" value="1"/>
<fieldval field="rHDSides" value="8"/>
<fieldval field="rHPStart" value="6"/>
<fieldval field="rDEX" value="3"/>
<fieldval field="rLanguages" value="1"/>
<fieldval field="rSTR" value="5"/>
<fieldval field="rCON" value="4"/>
<fieldval field="rWIS" value="2"/>
<usesource source="5CEKSKicks"/>
<tag group="RaceSize" tag="Medium0"/>
<tag group="ArmProfGrp" tag="ArmorHeavy"/>
<tag group="ArmProfGrp" tag="WepMartial"/>
<tag group="ArmProfGrp" tag="ArmorMed"/>
<tag group="ArmProfGrp" tag="WepRanged"/>
<tag group="ArmProfGrp" tag="Shields"/>
<tag group="RaceType" tag="Normal"/>
<tag group="ArmProfGrp" tag="ArmorLight"/>
<tag group="ArmProfGrp" tag="WepSimple"/>
<tag group="ProfSave" tag="svCON"/>
<tag group="ProfSkill" tag="skAthletic"/>
<tag group="ProfSkill" tag="skPercep"/>
<tag group="ProfSkill" tag="skSurvival"/>
<tag group="Helper" tag="NoAdvLeag"/>
<bootstrap thing="lCommon"></bootstrap>
<bootstrap thing="tpHumanoid"></bootstrap>
<pickreq thing="cHelpSkW"/>
</thing>
<thing id="r5CSdkExper" name="Sidekick" description="This is the base stat block for the Expert Sidekick. It should only be used in conjunction with the Expert sidekick class." compset="Race">
<fieldval field="rHitDice" value="1"/>
<fieldval field="rHDSides" value="8"/>
<fieldval field="rHPStart" value="5"/>
<fieldval field="rLanguages" value="1"/>
<fieldval field="rDEX" value="5"/>
<fieldval field="rCON" value="2"/>
<fieldval field="rINT" value="3"/>
<fieldval field="rCHA" value="4"/>
<usesource source="5CEKSKicks"/>
<tag group="RaceSize" tag="Medium0"/>
<tag group="ArmProfGrp" tag="ArmorLight"/>
<tag group="ArmProfGrp" tag="WepSimple"/>
<tag group="RaceType" tag="Normal"/>
<tag group="ProfSave" tag="svDEX"/>
<tag group="ProfSkill" tag="skAcrobat"/>
<tag group="ProfSkill" tag="skPerform"/>
<tag group="ProfSkill" tag="skPersuas"/>
<tag group="ProfSkill" tag="skSleight"/>
<tag group="ProfSkill" tag="skStealth"/>
<tag group="WepProf" tag="wRapier"/>
<tag group="WepProf" tag="wShortswor"/>
<bootstrap thing="tpHumanoid"></bootstrap>
<bootstrap thing="lCommon"></bootstrap>
</thing>
<thing id="cHelpSkW" name="Warrior" compset="Class" uniqueness="unique">
<fieldval field="cAbbr" value="SkW"/>
<fieldval field="cHDSides" value="8"/>
<fieldval field="StartArmor" value="Chain Shirt, Shield"/>
<fieldval field="StartWeap" value="Longbow, Longsword"/>
<fieldval field="cSpecSing" value="Role"/>
<arrayval field="cCustTot" index="0" value="1"/>
<usesource source="5CEKSKicks"/>
<tag group="Classes" tag="SdkWarrio" name="Sidekick Warrior"/>
<bootstrap thing="cSkW5CASI3">
<autotag group="ClSpecWhen" tag="12"/>
</bootstrap>
<bootstrap thing="cSkW5CASI2">
<autotag group="ClSpecWhen" tag="8"/>
</bootstrap>
<bootstrap thing="cSkW5CASI1">
<autotag group="ClSpecWhen" tag="4"/>
</bootstrap>
<bootstrap thing="cSkW5C2Wnd">
<autotag group="ClSpecWhen" tag="2"/>
</bootstrap>
<bootstrap thing="cSkW5CImCrt">
<autotag group="ClSpecWhen" tag="3"/>
</bootstrap>
<bootstrap thing="cSkW5CXAtk">
<autotag group="ClSpecWhen" tag="6"/>
</bootstrap>
<bootstrap thing="cSkW5CXAtk">
<autotag group="ClSpecWhen" tag="11"/>
</bootstrap>
<bootstrap thing="cSkW5CBtRdy">
<autotag group="ClSpecWhen" tag="7"/>
</bootstrap>
<bootstrap thing="cSkW5CIndm">
<autotag group="ClSpecWhen" tag="9"/>
</bootstrap>
<bootstrap thing="cSkW5CImpDf">
<autotag group="ClSpecWhen" tag="10"/>
</bootstrap>
<bootstrap thing="cSkW5CASA">
<autotag group="ClSpecWhen" tag="7"/>
</bootstrap>
</thing>
<thing id="cSdkWarrio" name="Warrior" compset="ClassLevel" maxlimit="12">
<usesource source="5CEKSKicks"/>
<tag group="ClassType" tag="NPC"/>
<bootstrap thing="cHelpSkW"></bootstrap>
<link linkage="helper" thing="cHelpSkW"/>
<pickreq thing="r5CSdkWarri"/>
</thing>
<thing id="cSkE5CASA" name="Ability Score Adjustment" description="The expert's Dexterity decreases by 1 and its Intelligence increases by 1." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="cSkW5CASA" name="Ability Score Adjustment" description="The warrior's Strength decreases by 1 and its Dexterity increases by 1." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="cSkM5CASA" name="Ability Score Adjustment" description="The mage's Intelligence decreases by 1 and its Charisma increases by 1." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="cSkE5CASI3" name="Ability Score Increase" description="The expert's Dexterity increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="cSkH5CASI3" name="Ability Score Increase" description="The healer's Wisdom increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="cSkM5CASI3" name="Ability Score Increase" description="The mage's Intelligence increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="cSkW5CASI3" name="Ability Score Increase" description="The warrior's Strength increases by 2." compset="ClSpecial">
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="MultiCopy"/>
</thing>
<thing id="cHelpSkE" name="Expert" compset="Class" uniqueness="unique">
<fieldval field="cAbbr" value="SkE"/>
<fieldval field="cHDSides" value="8"/>
<fieldval field="StartWeap" value="Shortsword, Dagger, Shortbow"/>
<fieldval field="StartArmor" value="Studden Leather Armor"/>
<fieldval field="StartGear" value="One musical instrument and one set of theives' tools"/>
<usesource source="5CEKSKicks"/>
<tag group="Classes" tag="SdkExpert" name="Sidekick Expert" abbrev="Sidekick Mage"/>
<bootstrap thing="cSkE5CASA">
<autotag group="ClSpecWhen" tag="7"/>
</bootstrap>
<bootstrap thing="cSkE5CASI4">
<autotag group="ClSpecWhen" tag="12"/>
</bootstrap>
<bootstrap thing="cSkE5CASI3">
<autotag group="ClSpecWhen" tag="10"/>
</bootstrap>
<bootstrap thing="cSkE5CASI2">
<autotag group="ClSpecWhen" tag="8"/>
</bootstrap>
<bootstrap thing="cSkE5CCngAc">
<autotag group="ClSpecWhen" tag="2"/>
</bootstrap>
<bootstrap thing="cSkE5CEvasi">
<autotag group="ClSpecWhen" tag="7"/>
</bootstrap>
<bootstrap thing="cSkE5CExpts">
<autotag group="ClSpecWhen" tag="3"/>
</bootstrap>
<bootstrap thing="cSkE5CHelp">
<autotag group="ClSpecWhen" tag="1"/>
</bootstrap>
<bootstrap thing="cSkE5CRlbTl">
<autotag group="ClSpecWhen" tag="11"/>
</bootstrap>
<bootstrap thing="cSkE5CXAtk">
<autotag group="ClSpecWhen" tag="6"/>
</bootstrap>
<bootstrap thing="cSkE5CASI1">
<autotag group="ClSpecWhen" tag="4"/>
</bootstrap>
</thing>
<thing id="cSdkExpert" name="Expert" compset="ClassLevel" maxlimit="12">
<usesource source="5CEKSKicks"/>
<tag group="ClassType" tag="NPC"/>
<bootstrap thing="cHelpSkE"></bootstrap>
<link linkage="helper" thing="cHelpSkE"/>
<pickreq thing="r5CSdkExper"/>
</thing>
<thing id="cSdW5CAttk" name="Attacker" description="The warrior has a +2 bonus to its attack rolls." compset="CustomSpec" summary="+2 to attack rolls." uniqueness="unique">
<fieldval field="abValue" value="2"/>
<tag group="Helper" tag="SpecUp" name="SpecUp" abbrev="SpecUp"/>
<tag group="abAction" tag="None" name="No action" abbrev="None"/>
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="Helper" tag="Primary" name="Primary" abbrev="Primary"/>
<tag group="SpecSource" tag="cHelpSkW"/>
<eval phase="PostLevel" priority="10000"><![CDATA[
doneif (tagis[Helper.Disable] <> 0)
hero.child[Attack].field[atmBonus].value += 2
hero.child[Attack].field[atrBonus].value += 2]]></eval>
</thing>
<thing id="cSkW5CDfnd" name="Defender" description="The warrior gains the Protection reaction to defend its allies." compset="CustomSpec" summary="The warrior can protect others." uniqueness="unique">
<fieldval field="abValue" value="2"/>
<tag group="abAction" tag="None" name="No action" abbrev="None"/>
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="Helper" tag="Primary" name="Primary" abbrev="Primary"/>
<tag group="SpecSource" tag="cHelpSkW"/>
<tag group="Helper" tag="SpecUp"/>
<bootstrap thing="cSkW5CDefProt">
<autotag group="ClSpecWhen" tag="1"/>
</bootstrap>
</thing>
<thing id="cSkW5CDefProt" name="Protection" description="If the warrior can see a creature within 5 feet attacking a creature other than the warrior, the warrior can impose disadvantage on the attack roll." compset="ClSpecial">
<fieldval field="abRange" value="5"/>
<tag group="abAction" tag="Reaction"/>
<tag group="FeatureTyp" tag="Reaction"/>
<tag group="abRange" tag="Feet"/>
</thing>
<thing id="cSkE5CHelp" name="Helpful (Bonus)" description="The expert can use a bonus action to take the Help action." compset="ClSpecial" summary="The expert can Help as a bonus action.">
<tag group="FeatureTyp" tag="Special"/>
<tag group="abAction" tag="Bonus"/>
</thing>
<thing id="cSkM5CPtCnt" name="Potent Cantrips" description="The mage can add its Intelligence ability modifier to the total damage of any of its harmful cantrips." compset="ClSpecial" summary="The mage adds its INT mod to damage from cantrips.">
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="FeatureTyp" tag="Special"/>
</thing>
<thing id="cSkH5CPtCnt" name="Potent Cantrips" description="The healer can add its Intelligence ability modifier to the total damage of any of its harmful cantrips." compset="ClSpecial" summary="The healer adds its WIS mod to damage from cantrips.">
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="FeatureTyp" tag="Special"/>
</thing>
<thing id="cSkM5CEmSpl" name="Empowered Spells" description="Choose a school of magic. Whenever the mage casts a spell of that school using a spell slot, it can add its Intelligence modifier to the spell's damage or healing roll, if any." compset="ClSpecial" summary="The mage adds its INT mod to spell damage and healing.">
<fieldval field="usrLabelAr" value="Magic School"/>
<arrayval field="usrArray" index="1" value="Conjuration"/>
<arrayval field="usrArray" index="2" value="Divination"/>
<arrayval field="usrArray" index="3" value="Enchantment"/>
<arrayval field="usrArray" index="4" value="Evocation"/>
<arrayval field="usrArray" index="5" value="Illusion"/>
<arrayval field="usrArray" index="6" value="Necromancy"/>
<arrayval field="usrArray" index="7" value="Transmutation"/>
<arrayval field="usrArray" index="0" value="Abjuration"/>
<tag group="FeatureTyp" tag="Special"/>
</thing>
<thing id="cSkH5CEmSpl" name="Empowered Spells" description="Choose a school of magic. Whenever the healer casts a spell of that school using a spell slot, it can add its Wisdom modifier to the spell's damage or healing roll, if any." compset="ClSpecial" summary="The healer adds its WIS mod to spell damage and healing.">
<fieldval field="usrLabelAr" value="Magic School"/>
<arrayval field="usrArray" index="1" value="Conjuration"/>
<arrayval field="usrArray" index="2" value="Divination"/>
<arrayval field="usrArray" index="3" value="Enchantment"/>
<arrayval field="usrArray" index="4" value="Evocation"/>
<arrayval field="usrArray" index="5" value="Illusion"/>
<arrayval field="usrArray" index="6" value="Necromancy"/>
<arrayval field="usrArray" index="7" value="Transmutation"/>
<arrayval field="usrArray" index="0" value="Abjuration"/>
<tag group="FeatureTyp" tag="Special"/>
</thing>
<thing id="cSkW5C2Wnd" name="Second Wind" description="The warrior regains hit points equal to 1d10 + its level by using a bonus action on its turn. It can't do this again until it completes a short or long rest." compset="ClSpecial" summary="Bonus action to recover HP.">
<fieldval field="trkMax" value="1"/>
<tag group="Usage" tag="ShortRest" name="/short rest" abbrev="/short rest"/>
<tag group="User" tag="Tracker" name="tracker" abbrev="tracker"/>
<tag group="abAction" tag="Bonus" name="Bonus" abbrev="Bon"/>
<tag group="abDuration" tag="Instant" name="Instantaneous" abbrev="inst"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="LvNameApp" tag="AppText" name="Append "field[abText].text"" abbrev="Append "field[abText].text""/>
<tag group="FeatureTyp" tag="Special"/>
<eval phase="PostLevel" priority="10000"><![CDATA[
doneif (tagis[Helper.ShowSpec] = 0)
doneif (tagis[Helper.Disable] <> 0)
field[abValue].value += field[xAllLev].value
field[abText].text = "(recover 1d10" & signed(field[abValue].value) & " hp)"]]></eval>
</thing>
<thing id="cSkW5CImCrt" name="Improved Critical" description="The warrior's attacks rolls are critical hits on a 19 as well as a 20." compset="ClSpecial" summary="The warrior's weapon attacks score a critical hit on a roll of 19 or 20.">
<tag group="abAction" tag="None" name="No action" abbrev="None"/>
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="FeatureTyp" tag="Special"/>
</thing>
<thing id="cSkE5CXAtk" name="Extra Attack" description="The expert can make two attacks, instead of one, when using the Attack action on its turn." compset="ClSpecial" summary="The expert can make an extra attack when it takes the Attack action.">
<tag group="abAction" tag="None" name="No action" abbrev="None"/>
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="Helper" tag="UseOwnLev"/>
<tag group="FeatureTyp" tag="Special"/>
<eval phase="PostLevel" priority="600" name="Extra Attack"><![CDATA[
doneif (tagis[Helper.ShowSpec] = 0)
doneif (tagis[Helper.Disable] <> 0)
~If we're not already getting an extra attack, assign the extra attack tag
doneif (hero.tagis[Hero.ExtraAtt] <> 0)
perform hero.assign[Hero.ExtraAtt]]]>
<after name="Fighter extra attacks"/>
</eval>
</thing>
<thing id="cSkW5CXAtk" name="Extra Attack" description="The warrior can make two attacks, instead of one, when using the Attack action on its turn. The number of attacks increases to three when the warrior reaches 11th level." compset="ClSpecial" summary="The warrior can make extra attacks when it takes the Attack action.">
<tag group="abAction" tag="None" name="No action" abbrev="None"/>
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="FeatureTyp" tag="Special"/>
<eval phase="PostLevel" priority="500" name="Fighter extra attacks"><![CDATA[
~These calculations should only happen for the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
~Hide the standard extra attack option, because we're better than that
perform hero.childfound[cExtraAtt].assign[Helper.SpecUp]
field[abValue].value += field[xCount].value
if (field[abValue].value > 1) then
perform assign[LvNamePar.AppText]
field[abText].text = field[abValue].value & " attacks"
endif
~Assign extra attack tags
var i as number
for i = 1 to field[abValue].value
perform hero.assign[Hero.ExtraAtt]
next]]></eval>
<eval phase="Render" priority="10000" index="2"><![CDATA[
if (field[xIndex].value >= 2) then
field[listname].text = field[thingname].text & " (" & field[xIndex].value & ")"
endif]]></eval>
</thing>
<thing id="cSkW5CBtRdy" name="Battle Readiness" description="The warrior has advantage on its initiative rolls." compset="ClSpecial" summary="The warrior has advantage on its initiative rolls.">
<tag group="abAction" tag="None" name="No action" abbrev="None"/>
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="FeatureTyp" tag="Special"/>
<eval phase="PostLevel" priority="10000"><![CDATA[
doneif (tagis[Helper.ShowSpec] = 0)
doneif (tagis[Helper.Disable] <> 0)
perform hero.childfound[Initiative].assign[Helper.Advantage]
#situational[hero.child[Initiative], "Advantage on initiative rolls", field[thingname].text]]]></eval>
</thing>
<thing id="cSkW5CIndm" name="Indomitable" description="If it fails a saving throw, the warrior can reroll it but must use the new roll." compset="ClSpecial" summary="Reroll a saving throw if the warrior fails.">
<tag group="Usage" tag="Day"/>
<tag group="User" tag="Tracker" name="tracker" abbrev="tracker"/>
<tag group="abAction" tag="Free" name="Free" abbrev="Free"/>
<tag group="abDuration" tag="Instant" name="Instantaneous" abbrev="inst"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="FeatureTyp" tag="Special"/>
<eval phase="PostLevel" priority="10000">field[trkMax].value += field[xCount].value</eval>
<eval phase="Render" priority="10000" index="2"><![CDATA[
if (field[xIndex].value >= 5) then
field[listname].text = field[thingname].text & " (five uses)"
elseif (field[xIndex].value >= 4) then
field[listname].text = field[thingname].text & " (four uses)"
elseif (field[xIndex].value >= 3) then
field[listname].text = field[thingname].text & " (three uses)"
elseif (field[xIndex].value >= 2) then
field[listname].text = field[thingname].text & " (two uses)"
else
field[listname].text = field[thingname].text & " (one use)"
endif]]></eval>
</thing>
<thing id="cSkW5CImpDf" name="Improved Defense" description="The warrior's gains a +1 bonus to its AC." compset="ClSpecial" summary="+1 AC.">
<eval phase="PreLevel" priority="5000"><![CDATA[~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] <> 0)
if (#levelcount[SdkWarrio] >= 10 ) then
hero.childfound[ArmorClass].field[Bonus].value += 1
endif]]></eval>
</thing>
<thing id="cSkE5CCngAc" name="Cunning Action" description="On the expert's turn in combat, it can use a bonus action to take the Dash, Disengage, or Hide actions." compset="ClSpecial" summary="Bonus action to Dash, Disengage, or Hide on its turn.">
<tag group="abAction" tag="None" name="No action" abbrev="None"/>
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="FeatureTyp" tag="Special"/>
</thing>
<thing id="cSkE5CExpts" name="Expertise" description="The proficiency bonus of two of the expert's skill proficiencies is doubled for any ability check the expert makes with them." compset="ClSpecial" summary="Double proficiency bonus with selected skills.">
<tag group="ChooseSrc1" tag="Thing" name="All Things" abbrev="All Things"/>
<tag group="ChooseSrc2" tag="Thing" name="All Things" abbrev="All Things"/>
<tag group="Helper" tag="SpecUp" name="SpecUp" abbrev="SpecUp"/>
<tag group="User" tag="NoAutoName" name="NoAutoName" abbrev="NoAutoName"/>
<tag group="abAction" tag="None" name="No action" abbrev="None"/>
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<eval phase="PostLevel" priority="10000"><![CDATA[
doneif (tagis[Helper.ShowSpec] = 0)
doneif (tagis[Helper.Disable] <> 0)
var tagexpr as string
if (field[usrChosen1].ischosen <> 0) then
tagexpr = field[usrChosen1].chosen.tagids[ProfSkill.?," | "]
foreach pick in hero from BaseSkill where tagexpr
perform eachpick.assign[Helper.ProfDouble]
nexteach
endif
if (field[usrChosen2].ischosen <> 0) then
tagexpr = field[usrChosen2].chosen.tagids[ProfSkill.?," | "]
foreach pick in hero from BaseSkill where tagexpr
perform eachpick.assign[Helper.ProfDouble]
nexteach
endif]]>
<before name="Calc skProfBon"/>
</eval>
<eval phase="Final" priority="999999" index="2"><![CDATA[
var tagexpr as string
foreach pick in hero from BaseSkill where "Helper.Proficient"
perform eachpick.pulltags[ProfSkill.?]
nexteach
if (tagis[ProfSkill.?] <> 0) then
tagexpr = "(component.BaseSkill & (" & tagids[ProfSkill.?, " | "] & "))"
endif
field[usrCandid1].text = tagexpr
field[usrCandid2].text = tagexpr]]></eval>
</thing>
<thing id="cSkE5CEvasi" name="Evasion" description="If the expert has to make a Dexterity saving throw to take only half damage from an effect, it takes no damage on a successful save and only half damage on a failure. It does not get this benefit while it is incapacitated." compset="ClSpecial" summary="If the Expert succeeds on a Dex save for half damage, it takes none instead.">
<tag group="abAction" tag="None" name="No action" abbrev="None"/>
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="FeatureTyp" tag="Special"/>
</thing>
<thing id="cSkE5CRlbTl" name="Reliable Talent" description="When the expert makes an ability check that benefits from its full proficiency bonus, any d20 rolls for the check lower than a 10 can be treated as a 10." compset="ClSpecial" summary="When making proficient ability check, treats roll of 9 or lower as 10.">
<tag group="abAction" tag="None" name="No action" abbrev="None"/>
<tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/>
<tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
<tag group="FeatureTyp" tag="Special"/>
</thing>
<thing id="r5CSdkMage" name="Sidekick" description="This is the base stat block for the Spellcaster Sidekick. It should only be used in conjunction with the Mage sidekick class." compset="Race">
<fieldval field="rHitDice" value="1"/>
<fieldval field="rHDSides" value="8"/>
<fieldval field="rHPStart" value="4"/>
<fieldval field="rDEX" value="2"/>
<fieldval field="rINT" value="5"/>
<fieldval field="rWIS" value="4"/>
<fieldval field="rCHA" value="3"/>
<fieldval field="rLanguages" value="1"/>
<usesource source="5CEKSKicks"/>
<tag group="ProfSave" tag="svWIS"/>
<tag group="ProfSkill" tag="skArcana"/>
<tag group="ProfSkill" tag="skInvestig"/>
<tag group="ProfSkill" tag="skReligion"/>
<tag group="ArmProfGrp" tag="ArmorLight"/>
<tag group="ArmProfGrp" tag="WepSimple"/>
<tag group="RaceType" tag="Normal"/>
<tag group="RaceSize" tag="Medium0"/>
<bootstrap thing="tpHumanoid"></bootstrap>
<bootstrap thing="lCommon"></bootstrap>
<pickreq thing="cHelpSkM" onlyonce="yes"/>
</thing>
</document>