/
COM_3PPPack_UltimatePsionics - Classes (Wilder).user
844 lines (765 loc) · 70.8 KB
/
COM_3PPPack_UltimatePsionics - Classes (Wilder).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
<?xml version="1.0" encoding="UTF-8"?>
<document signature="Hero Lab Data">
<thing id="cHelpWld" name="Wilder" compset="Class" uniqueness="unique">
<fieldval field="cAbbr" value="Wld"/>
<fieldval field="srcBookInf" value="Ultimate Psionics"/>
<fieldval field="srcPageNum" value="75"/>
<fieldval field="cHDSides" value="8"/>
<fieldval field="cSkills" value="4"/>
<fieldval field="cPsiSPowMa" value="1"/>
<fieldval field="cSCRNumDce" value="4"/>
<fieldval field="cSCRDceSiz" value="4"/>
<fieldval field="cSCRMult" value="10"/>
<fieldval field="cSpecSing" value="Surge Type"/>
<fieldval field="cPsiSPowNm" value="Talent"/>
<arrayval field="cPsiLevTot" index="8" value="4"/>
<arrayval field="cPsiLevTot" index="9" value="5"/>
<arrayval field="cPsiLevTot" index="10" value="5"/>
<arrayval field="cPsiLevTot" index="11" value="6"/>
<arrayval field="cPsiLevTot" index="12" value="6"/>
<arrayval field="cPsiLevTot" index="13" value="7"/>
<arrayval field="cPsiLevTot" index="14" value="7"/>
<arrayval field="cPsiLevTot" index="15" value="8"/>
<arrayval field="cPsiLevTot" index="16" value="8"/>
<arrayval field="cPsiLevTot" index="17" value="9"/>
<arrayval field="cPsiLevTot" index="18" value="9"/>
<arrayval field="cPsiLevTot" index="19" value="9"/>
<arrayval field="cPsiPPTot" index="0" value="2"/>
<arrayval field="cPsiPPTot" index="1" value="6"/>
<arrayval field="cPsiPPTot" index="2" value="11"/>
<arrayval field="cPsiPPTot" index="3" value="17"/>
<arrayval field="cPsiPPTot" index="4" value="25"/>
<arrayval field="cPsiPPTot" index="5" value="35"/>
<arrayval field="cPsiPPTot" index="6" value="46"/>
<arrayval field="cPsiPPTot" index="7" value="58"/>
<arrayval field="cPsiPPTot" index="8" value="72"/>
<arrayval field="cPsiPPTot" index="9" value="88"/>
<arrayval field="cPsiPPTot" index="10" value="106"/>
<arrayval field="cPsiPPTot" index="11" value="126"/>
<arrayval field="cPsiPPTot" index="12" value="147"/>
<arrayval field="cPsiPPTot" index="13" value="170"/>
<arrayval field="cPsiPPTot" index="14" value="195"/>
<arrayval field="cPsiPPTot" index="15" value="221"/>
<arrayval field="cPsiPPTot" index="16" value="250"/>
<arrayval field="cPsiPPTot" index="17" value="280"/>
<arrayval field="cPsiPPTot" index="18" value="311"/>
<arrayval field="cPsiPPTot" index="19" value="343"/>
<arrayval field="cPsiPowTot" index="0" value="1"/>
<arrayval field="cPsiPowTot" index="1" value="2"/>
<arrayval field="cPsiPowTot" index="2" value="2"/>
<arrayval field="cPsiPowTot" index="3" value="3"/>
<arrayval field="cPsiPowTot" index="4" value="3"/>
<arrayval field="cPsiPowTot" index="5" value="4"/>
<arrayval field="cPsiPowTot" index="6" value="4"/>
<arrayval field="cPsiPowTot" index="7" value="5"/>
<arrayval field="cPsiPowTot" index="8" value="5"/>
<arrayval field="cPsiPowTot" index="9" value="6"/>
<arrayval field="cPsiPowTot" index="10" value="6"/>
<arrayval field="cPsiPowTot" index="11" value="7"/>
<arrayval field="cPsiPowTot" index="12" value="7"/>
<arrayval field="cPsiPowTot" index="13" value="8"/>
<arrayval field="cPsiPowTot" index="14" value="8"/>
<arrayval field="cPsiPowTot" index="15" value="9"/>
<arrayval field="cPsiPowTot" index="16" value="9"/>
<arrayval field="cPsiPowTot" index="17" value="10"/>
<arrayval field="cPsiPowTot" index="18" value="10"/>
<arrayval field="cPsiPowTot" index="19" value="11"/>
<arrayval field="cPsiLevTot" index="0" value="1"/>
<arrayval field="cPsiLevTot" index="1" value="1"/>
<arrayval field="cPsiLevTot" index="2" value="1"/>
<arrayval field="cCustTot" index="0" value="1"/>
<arrayval field="cPsiLevTot" index="3" value="2"/>
<arrayval field="cPsiLevTot" index="4" value="2"/>
<arrayval field="cPsiLevTot" index="5" value="3"/>
<arrayval field="cPsiLevTot" index="6" value="3"/>
<arrayval field="cPsiLevTot" index="7" value="4"/>
<usesource source="pPsiUn"/>
<tag group="AgeColumn" tag="1"/>
<tag group="cAttack" tag="Medium"/>
<tag group="cFort" tag="Poor"/>
<tag group="cWill" tag="Good"/>
<tag group="cRef" tag="Poor"/>
<tag group="ClassSkill" tag="skAcrobat"/>
<tag group="ClassSkill" tag="skPUAhypno"/>
<tag group="ClassSkill" tag="skBluff"/>
<tag group="ClassSkill" tag="skClimb"/>
<tag group="ClassSkill" tag="Craft"/>
<tag group="ClassSkill" tag="skDiplo"/>
<tag group="ClassSkill" tag="skEscape"/>
<tag group="ClassSkill" tag="skIntim"/>
<tag group="ClassSkill" tag="skPUKnwPsi"/>
<tag group="ClassSkill" tag="skPercep"/>
<tag group="ClassSkill" tag="Profession"/>
<tag group="ClassSkill" tag="skSenseMot"/>
<tag group="ClassSkill" tag="skSpellcr"/>
<tag group="ClassSkill" tag="skSwim"/>
<tag group="ClassSkill" tag="skUseMagic"/>
<tag group="ProductId" tag="HLCommunit"/>
<tag group="Classes" tag="Wilder" name="Wilder" abbrev="Wizard"/>
<bootstrap thing="fArmShield"></bootstrap>
<bootstrap thing="fSimple"></bootstrap>
<bootstrap thing="cWldPsyEne">
<autotag group="ClSpecWhen" tag="1"/>
</bootstrap>
<bootstrap thing="cWldWildSu">
<autotag group="ClSpecWhen" tag="1"/>
</bootstrap>
<bootstrap thing="cWldSurBnd">
<autotag group="ClSpecWhen" tag="1"/>
</bootstrap>
<bootstrap thing="cWldSurBla">
<autotag group="ClSpecWhen" tag="1"/>
</bootstrap>
<bootstrap thing="cWldElude">
<autotag group="ClSpecWhen" tag="2"/>
</bootstrap>
<bootstrap thing="cWldWildSu">
<autotag group="ClSpecWhen" tag="3"/>
</bootstrap>
<bootstrap thing="cWldSurEup">
<autotag group="ClSpecWhen" tag="4"/>
</bootstrap>
<bootstrap thing="cWldImpSur">
<autotag group="ClSpecWhen" tag="5"/>
</bootstrap>
<bootstrap thing="cWldElude">
<autotag group="ClSpecWhen" tag="6"/>
</bootstrap>
<bootstrap thing="cWldWildSu">
<autotag group="ClSpecWhen" tag="7"/>
</bootstrap>
<bootstrap thing="cWldImpSur">
<autotag group="ClSpecWhen" tag="9"/>
</bootstrap>
<bootstrap thing="cWldElude">
<autotag group="ClSpecWhen" tag="10"/>
</bootstrap>
<bootstrap thing="cWldWildSu">
<autotag group="ClSpecWhen" tag="11"/>
</bootstrap>
<bootstrap thing="cWldSurEup">
<autotag group="ClSpecWhen" tag="12"/>
</bootstrap>
<bootstrap thing="cWldImpSur">
<autotag group="ClSpecWhen" tag="13"/>
</bootstrap>
<bootstrap thing="cWldElude">
<autotag group="ClSpecWhen" tag="14"/>
</bootstrap>
<bootstrap thing="cWldWildSu">
<autotag group="ClSpecWhen" tag="15"/>
</bootstrap>
<bootstrap thing="cWldImpSur">
<autotag group="ClSpecWhen" tag="17"/>
</bootstrap>
<bootstrap thing="cWldElude">
<autotag group="ClSpecWhen" tag="18"/>
</bootstrap>
<bootstrap thing="cWldWildSu">
<autotag group="ClSpecWhen" tag="19"/>
</bootstrap>
<bootstrap thing="cWldPerSur">
<autotag group="ClSpecWhen" tag="20"/>
</bootstrap>
<bootstrap thing="cWldSurEup">
<autotag group="ClSpecWhen" tag="20"/>
</bootstrap>
<bootstrap thing="fArmLight"></bootstrap>
<link linkage="psiattr" thing="aCHA"/>
</thing>
<thing id="cWilder" name="Wilder" description="Unlike the psion, who studies his psionic ability and potential to unlock its secrets, or the psychic warrior, who uses his psionic ability to enhance his physical form, the wilder taps into her emotions to unlock and unleash her innate psionic power. By channeling her emotions in such a fashion, the wilder greatly enhances her psionic powers, but runs the risk of suffering backlash, as emotions are unstable.\n\n{b}Role{/b}: The wilder traditionally fills the role of dealing large amounts of damage, while running the risk of suffering backlash. Depending on the path a wilder chooses, she can also give her nearby allies a boost in efficiency.\n\n{b}Alignment{/b}: Any" compset="ClassLevel" maxlimit="20">
<usesource source="pPsiUn"/>
<tag group="ClassType" tag="Normal"/>
<tag group="ProductId" tag="HLCommunit"/>
<bootstrap thing="cHelpWld"></bootstrap>
<link linkage="helper" thing="cHelpWld"/>
</thing>
<thing id="cWldWildSu" name="Wild Surge" description="A wilder can let her passion and emotion rise to the surface in a wild surge when she manifests a power. During a wild surge, a wilder gains phenomenal psionic strength, but may harm herself by the reckless use of her power (see Psychic Enervation, below).\n\nA wilder can choose to invoke a wild surge whenever she manifests a power. When she does so, she gains +1 to her manifester level with that manifestation of the power. The manifester level boost gives her the ability to augment her powers to a higher degree than she otherwise could; however, she pays no extra power point for this wild surge. Instead, the additional 1 power point that would normally be required to augment the power is effectively supplied by the wild surge.\n\nLevel-dependent power effects are also improved, depending on the power a wilder manifests with her wild surge.\n\nThis improvement in manifester level does not grant her any other benefits outside of the manifestation (she gains no higher-level class abilities, for instance).\n\nShe cannot use the Overchannel psionic feat and invoke her wild surge at the same time.\n\nAt 3rd level, a wilder boosts her manifester level by two instead of one. At 7th level, she boosts her manifester level by three; at 11th level, by four; at 15th level, by five; and at 19th level, by six. The wilder always wild surges for the maximum amount possible, for unleashing emotions in the fashion of a wild surge does not lend itself to using finesse.\n\nIn all cases, the wild surge effectively pays the extra power point cost that is normally required to augment the power by this additional amount; only the standard power point cost is subtracted from the wilder's power point reserve. For example, if Alrik the 8th level wilder were to invoke his wild surge when manifesting a power, he would spend between 1 and 8 power points as normal, but the power would manifest at 11th manifester level and behave as if he had spent 3 more on it than normal.\n\nThe wilder can expend her psionic focus to manifest a psionic power without expending any power points, powering the manifestation with only her wild surge. She manifests this power as if all power points were paid by her wild surge ability. This results in the power being manifested as if the base power point cost of the power was paid, along with augmentation equal to her wild surge amount, but she may not augment the power beyond the amount of her wild surge, and when checking for psychic enervation, the chance to be overcome doubles to 30%. A wilder must wait 10 minutes after wild surging in this fashion before she can do so again." compset="ClSpecial" summary="You can gain a boost to your psychic power.">
<tag group="AbilType" tag="Super"/>
<tag group="LvNameApp" tag="AppValue"/>
<tag group="LvNameApp" tag="SignAppVal"/>
<tag group="ProductId" tag="HLCommunit"/>
<eval phase="PostLevel" priority="10000" name="PU Set Wildsurge Value"><![CDATA[
~Set the list name
field[listname].text = field[thingname].text & " " & signed(field[xIndex].value)
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
field[abValue].value += field[xCount].value]]></eval>
</thing>
<thing id="cWldPsyEne" name="Psychic Enervation" description="Pushing oneself by invoking a wild surge is dangerous. Immediately following each wild surge, a wilder may be overcome by the strain of her effort, the effect of which is detailed in the specific surge type below. The chance of suffering psychic enervation is 15%." compset="ClSpecial" summary="Percentage chance to suffer a psychic enervation.">
<fieldval field="abValue" value="15"/>
<tag group="AbilType" tag="Extra"/>
<tag group="ProductId" tag="HLCommunit"/>
<eval phase="Final" priority="50000"><![CDATA[
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
field[livename].text = field[thingname].text & " " & field[abValue].value & "%"]]></eval>
</thing>
<thing id="cWldSurBla" name="Surge Blast" description="A wilder can channel her emotions into a blast of uncontrolled phrenic energy. As a standard action and by expending psionic focus, the wilder can make a ranged touch attack (range 30ft) that deals 1d6 points of force damage for every +1 to her wild surge. Example: Amonai, a 15th level wilder has wild surge +5, and thus deals 5d6 with his surge blast. Surge blasts do not trigger psychic enervation." compset="ClSpecial" summary="Standard Action ranged touch attack of 30ft.">
<fieldval field="abRange" value="30"/>
<tag group="ProductId" tag="HLCommunit"/>
<tag group="abAction" tag="PUExpFocus"/>
<tag group="AbilType" tag="Super"/>
<tag group="abRange" tag="Feet"/>
<tag group="abAction" tag="Standard"/>
<tag group="Helper" tag="WeaponSpec"/>
<tag group="Helper" tag="SingleAtt"/>
<tag group="wCategory" tag="TouchRange"/>
<tag group="IsWeapon" tag="wRay"/>
<tag group="Helper" tag="NoSelect"/>
<tag group="wMain" tag="1d6"/>
<tag group="Helper" tag="NoAttrDam"/>
<tag group="wType" tag="Force"/>
<tag group="wCritMin" tag="20"/>
<tag group="wCritMult" tag="2"/>
<tag group="wCategory" tag="RangeProj"/>
<eval phase="Final" priority="50000"><![CDATA[
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ If we've been Disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Dice is equal to Wild Surge bonus
field[abValue].value += #value[cWldWildSu]
~ Override the number of dice
field[wMMainDNum].value = field[abValue].value
field[wRMainDNum].value = field[abValue].value
~field[livename].text = field[name].text & " " & field[abValue].value & "d6 " & field[abRange].value & "ft"
field[abSumm].text = tagnames[abAction.?] & " & expending focus " & field[abRange].value & "ft ranged touch attack of " & field[abValue].value & "d6 force damage."]]>
<after name="PU Set Wildsurge Value"/>
</eval>
</thing>
<thing id="cWldSurBnd" name="Surge Bond" description="The wilder's choice of emotional surge, as defined in psychic enervation, grants the wilder additional benefits through a surge bond. The wilder gains a unique benefit depending on the type of surge selected." compset="ClSpecial" summary="You gain a unique benefit depending on the type of surge selected.">
<tag group="ProductId" tag="HLCommunit"/>
<eval phase="Final" priority="50000" name="PU Set Surge Bond"><![CDATA[
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ The following should only happen once on the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ If we have special ability text then display in live name
If (field[abText].isempty = 0) Then
field[livename].text = field[thingname].text & " (" & field[abText].text & ")"
Endif]]></eval>
</thing>
<thing id="cWldElude" name="Elude Attack" description="Starting at 2nd level, a wilder's intuition supersedes her intellect, alerting her to danger from attacks. She gains a +1 dodge bonus to her Armor Class. This bonus increases by 1 every 4 levels thereafter (+2 at 6th level, +3 at 10th level, etc)." compset="ClSpecial">
<tag group="ProductId" tag="HLCommunit"/>
<tag group="AbilType" tag="Extra"/>
<eval phase="PostLevel" priority="10000"><![CDATA[
~ Set the list name
field[listname].text = field[thingname].text & " " & signed(field[xIndex].value)
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
field[abValue].value += field[xCount].value
field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
field[abSumm].text = "You gain a " & signed(field[abValue].value) & " dodge bonus to your Armor Class."
~ The following should only happen once on the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ Give a Dodge Bonus to AC
#applybonus[tACDodge,hero.child[ArmorClass],field[abValue].value]]]></eval>
</thing>
<thing id="cWldSurEup" name="Surging Euphoria" description="Starting at 4th level, when a wilder uses her wild surge ability, she gains a +1 morale bonus on attack rolls, damage rolls, and saving throws for a number of rounds equal to the intensity of her wild surge.{br}{br}If a wilder is overcome by psychic enervation following her wild surge, she does not gain the morale bonus for this use of her wild surge ability.{br}{br}At 12th level, the morale bonus on a wilder's attack rolls, damage rolls, and saving throws increases to +2. At 20th level, the bonus increases to +3." compset="ClSpecial">
<fieldval field="actName" value="Used Wild Surge"/>
<tag group="ProductId" tag="HLCommunit"/>
<tag group="AbilType" tag="Extra"/>
<tag group="Usage" tag="Round"/>
<tag group="User" tag="Tracker"/>
<tag group="User" tag="Activation"/>
<bootstrap thing="thpPUHarBo">
<containerreq phase="First" priority="1000"><![CDATA[count:Classes.Wilder >= 5 & Ability.cWldWarSur]]></containerreq>
</bootstrap>
<eval phase="PostLevel" priority="10050"><![CDATA[
~ Set the list name
field[listname].text = field[thingname].text & " " & signed(field[xIndex].value)
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
field[abValue].value += field[xCount].value
field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
field[abSumm].text = "Gain " & signed(field[abValue].value) & " morale bonus on attack, damage, and saving throws for " & #value[cWldWildSu] & " rounds."
~ The following should only happen once on the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ Set number of rounds in tracker
field[trkMax].value += #value[cWldWildSu]]]>
<after name="PU Set Wildsurge Value"/>
</eval>
<eval phase="PostLevel" priority="20000" index="2"><![CDATA[
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ If not activated get out now!
doneif (field[abilActive].value <> 1)
~ Give bonus to hit
#applybonus[BonMorale,hero.child[Attack],field[abValue].value]
~ Give bonus to dmg
#applybonus[BonMorale,hero.child[Damage],field[abValue].value]
~ Give bonus to saves
#applybonus[BonMorale,hero.child[svAll],field[abValue].value]]]></eval>
</thing>
<thing id="cWldImpSur" name="Improved Surge Bond" description="At 5th level, the wilder's surge bond grants additional special abilities depending on the type of wilder." compset="ClSpecial" summary="You gain additional special abilities based on Surge Type.">
<tag group="ProductId" tag="HLCommunit"/>
<tag group="AbilType" tag="Extra"/>
<eval phase="Final" priority="50000" name="PU Set Improved Surge Bond"><![CDATA[
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ The following should only happen once on the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ If we have special ability text then display in live name
If (field[abText].isempty = 0) Then
field[livename].text = field[thingname].text & " (" & field[abText].text & ")"
Endif]]></eval>
</thing>
<thing id="cWldPerSur" name="Perfect Surge" description="The wilder has mastered the untamable and can now use a blindingly powerful version of wild surge, albeit at great cost. Once per day, the wilder may add +10 to her manifester level on one manifestation as if through wild surge. In addition to this increase, the manifestation also receives +3 to its save DC, +3 to any attack rolls involved, and is treated as a power five levels higher for the purposes of leveldependent effects (such as {i}minor globe of invulnerability{/i}).\n\nA power manifested with a perfect surge has the radius and intensity of its associated displays doubled; such displays cannot be hidden normally.\n\nThe wilder exudes light as if she is the subject of the daylight spell while using a perfect surge, and anyone who makes physical contact with her before the start of her next turn takes 1d4 points of fire damage.\n\nHowever, this extreme example of wild surging has its price. The wilder is struck by psychic enervation afterwards without fail, except she suffers her associated condition (dazed, staggered, etc.) for 1d4 rounds and loses a number of power points or hit points (dependant on path) equal to her manifester level +10. The wilder also takes 2 points of ability burn to every ability score.\n\nThe wilder cannot use wild surge or Overchannel on the same manifestation as a perfect surge." compset="ClSpecial" summary="Add +10 to ML, +3 DC, +3 attack rolls, and is treated as 5 levels higher.">
<fieldval field="trkMax" value="1"/>
<tag group="ProductId" tag="HLCommunit"/>
<tag group="User" tag="Tracker"/>
<tag group="AbilType" tag="Super"/>
<tag group="Usage" tag="Day"/>
</thing>
<thing id="cWldArtSur" name="Artificer's Surge" description="{b}Wild Surge and Psychic Enervation:{/b} The artificer wilder learns to channel her emotions into psionic items, allowing her to increase the power of items as well as her own powers. The artificer wilder may wild surge while manifesting a power from a power completion or power trigger item and treat the power being manifested as if it was augmented by her wild surge. The wilder must be capable of activating the item normally to apply her wild surge to the item. The item surged must make a Fortitude save (DC 10 + the wild surge bonus added) or lose one charge if a charged item, lose an additional daily use if an item restricted by daily uses, or its psionic power is suppressed for 24 hours if it is not restricted by charged or daily uses, and the artificer wilder suffers a 30% chance of psychic enervation. This method of wild surging functions in all other ways identically to a standard wild surge. An artificer wilder overcome by psychic enervation is dazed until the end of her next turn and loses a number of power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost).{br}{br}{b}Surge Bond:{/b} You gain one Item Creation feat as a bonus feat. You must still meet the prerequisites of the feat.{br}{br}{b}Improved Surge Bond:{/b} At 5th level, the artificer wilder gain one Item Creation feat as a bonus feat at 5th level and every four levels thereafter (9th, 13th, etc). She must still meet the prerequisites of the feat." compset="CustomSpec" summary="Gain Item Creation bonus feats. You must still meet the prerequisites of the feats." uniqueness="useronce">
<fieldval field="abText" value="You gain one Item Creation feat as a bonus feat. You must still meet the prerequisites of the feat."/>
<fieldval field="abText2" value="At 5th level, the artificer wilder gain one Item Creation feat as a bonus feat at 5th level and every four levels thereafter (9th, 13th, etc). She must still meet the prerequisites of the feat."/>
<fieldval field="abText3" value="An artificer wilder overcome by psychic enervation is dazed until the end of her next turn and loses a number of power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost)."/>
<usesource source="pPsiUn"/>
<tag group="SpecSource" tag="cHelpWld"/>
<tag group="ProductId" tag="HLCommunit"/>
<eval phase="First" priority="10000"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set type of Bonus Feats allowed
perform linkage[table].assign[fCategory.ItemCreate]
~ Set the bonus feat levels
linkage[table].field[cBonFtTot].arrayvalue[0] = 1
linkage[table].field[cBonFtTot].arrayvalue[4] = 2
linkage[table].field[cBonFtTot].arrayvalue[8] = 3
linkage[table].field[cBonFtTot].arrayvalue[12] = 4
linkage[table].field[cBonFtTot].arrayvalue[16] = 5
~ Set Surge and Improved surge text
Call PUSurgeTxt]]></eval>
</thing>
<thing id="cWldPUChSu" name="Chaotic Surge" description="{b}Wild Surge and Psychic Enervation{/b}: The chaotic wilder unlocks ways to increase her manifester level beyond the dreams of most wilders, but doing so is even more dangerous. When the chaotic wilder invokes a wild surge, she rolls a d4. If the result is a 1, the chaotic wilder's power manifests at one manifester level lower than normal. If this would result in a manifester level too low to manifest the power, the wilder is shaken until the start of her next turn and the power fails, although the chaotic wilder does not spend any power points. If the result is a 2 or 3, the chaotic wilder's manifester level is improved by 1. If the result is a 4, the chaotic wilder's manifester level is improved by 2. When the chaotic wilder's wild surge improves (3rd, 7th, 11th, 15th, and 19th levels) or when using perfect surge, treat each bonus the same way. For example, at 7th level, a result of 1 would mean the manifester level is reduced by 3, a result of 2-3 would mean the manifester level is increased by 3, while a result of 4 would mean the manifester level is increased by 6. Because the chaotic wilder has less control over her wild surge than most wilders, she has a 25% chance of triggering psychic enervation. When the chaotic wilder triggers psychic enervation, she is affected based upon her wild surge roll. On a 1, she is dazed until the start of her next turn. On a 2-3, she is dazed until the end of her next turn and loses a number of power points equal to her manifester level. On a 4, she is dazed until the end of her next turn and loses a number of power points equal to twice her manifester level. The increase in manifester level from her wild surge does not increase the number of power points lost.\n\n{b}Surge Bond{/b}: The chaotic wilder gains Endowed Mind as a bonus feat.\n\n{b}Improved Surge Bond{/b}: A chaotic wilder of 5th level or higher that is targeted by a mind-affecting power can expend her psionic focus to gain a bonus to the Will save equal to 1d3-1 (minimum 0). At 9th level and every four levels thereafter, the wilder gains an additional 1d3-1 (minimum 0) to the Will save." compset="CustomSpec" summary="Your surge is ruled by power of all emotions." uniqueness="useronce">
<fieldval field="abText" value="The chaotic wilder gains Endowed Mind as a bonus feat."/>
<fieldval field="abText2" value="A chaotic wilder of 5th level or higher that is targeted by a mind-affecting power can expend her psionic focus to gain a bonus to the Will save equal to 1d3-1 (minimum 0). At 9th level and every four levels thereafter, the wilder gains an additional 1d3-1 (minimum 0) to the Will save."/>
<fieldval field="abText3" value="When triggering psychic enervation, she is affected based upon her wild surge roll. On a 1, she is dazed until the start of her next turn. On a 2-3, she is dazed until the end of her next turn and loses a number of power points equal to her manifester level. On a 4, she is dazed until the end of her next turn and loses a number of power points equal to twice her manifester level. The increase in manifester level from her wild surge does not increase the number of power points lost."/>
<usesource source="pPsiUn"/>
<tag group="SpecSource" tag="cHelpWld"/>
<tag group="ProductId" tag="HLCommunit"/>
<bootstrap thing="fPUEndMind">
<autotag group="thing" tag="skipprereq"/>
</bootstrap>
<eval phase="PostLevel" priority="10000"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set Surge and Improved surge text
Call PUSurgeTxt
~ Set pointer to the Fist Copy of Improved Surge Bond
perform hero.findchild[BaseClSpec,"Ability.cWldImpSur & Helper.FirstCopy"].setfocus
doneif (state.isfocus = 0)
~ Set Improved Surge Bond text fields
focus.field[abSumm].text = "A random bonus to will saves."
focus.field[abValue].value += focus.field[xCount].value
focus.field[abText].text = focus.field[abValue].value & "d3-" & focus.field[abValue].value]]></eval>
</thing>
<thing id="cWldPUEfSu" name="Efficient Surge" description="{b}Wild Surge and Psychic Enervation{/b}: An efficient wilder has learned to control her emotions and use the surge of energy in a more efficient manner, rather than as a huge blast of power. When an efficient wilder invokes a wild surge, she instead reduces the cost of the power manifested by the level of the wild surge (to a minimum cost of 0) instead of increasing her manifester level and adding power points to augment the power. This reduction in cost does not stack with other similar effects, such as that by a {i}torc of power preservation.{/i} The power is still treated as having spent the full amount of power points when determining the number of power points the wilder can spend on manifesting it. When an efficient wilder suffers psychic enervation, she loses a number of power points equal to her manifester level and is staggered until the end of her next turn.\n\n{b}Surge Bond{/b}: The efficient wilder gains Enervation Fortitude as a bonus feat at 1st level.\n\n{b}Improved Surge Bond{/b}: At 5th level, when the efficient wilder expends her psionic focus to manifest a power without having to spend any power points, the chance for enervation is reduced by 5%. In addition, the time until she can expend her psionic focus to manifest a power without having to spend any power points is reduced by 1 minute. Every 5 levels thereafter (10th, 15th, and 20th), the time between uses is reduced by an additional minute and the chance to enervate is reduced by an additional 5%." compset="CustomSpec" summary="Your surge is ruled by power of all emotions." uniqueness="useronce">
<fieldval field="abText" value="The efficient wilder gains Enervation Fortitude as a bonus feat at 1st level."/>
<fieldval field="abText2" value="At 5th level, when the efficient wilder expends her psionic focus to manifest a power without having to spend any power points, the chance for enervation is reduced by 5%. In addition, the time until she can expend her psionic focus to manifest a power without having to spend any power points is reduced by 1 minute. Every 5 levels thereafter (10th, 15th, and 20th), the time between uses is reduced by an additional minute and the chance to enervate is reduced by an additional 5%."/>
<fieldval field="abText3" value="When an efficient wilder suffers psychic enervation, she loses a number of power points equal to her manifester level and is staggered until the end of her next turn."/>
<usesource source="pPsiUn"/>
<tag group="SpecSource" tag="cHelpWld"/>
<tag group="ProductId" tag="HLCommunit"/>
<bootstrap thing="fPUEneFort">
<autotag group="thing" tag="skipprereq"/>
</bootstrap>
<eval phase="First" priority="500"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ The improved surge bonuses are gained at 10, 15 & 20 instead of 9, 13, 17
foreach pick in hero from BaseClSpec where "Ability.cWldImpSur"
If (eachpick.tagis[ClSpecWhen.9] = 1) Then
perform eachpick.tagreplace[ClSpecWhen.9,ClSpecWhen.10]
ElseIf (eachpick.tagis[ClSpecWhen.13] = 1) Then
perform eachpick.tagreplace[ClSpecWhen.13,ClSpecWhen.15]
ElseIf (eachpick.tagis[ClSpecWhen.17] = 1) Then
perform eachpick.tagreplace[ClSpecWhen.17,ClSpecWhen.20]
Endif
nexteach]]></eval>
<eval phase="PostLevel" priority="10000" index="2"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set Surge and Improved surge text
Call PUSurgeTxt
~ Set pointer to the Fist Copy of Improved Surge Bond
perform hero.findchild[BaseClSpec,"Ability.cWldImpSur & Helper.FirstCopy"].setfocus
doneif (state.isfocus = 0)
~ Set Improved Surge Bond text fields
focus.field[abSumm].text = "Lower psychic enervation."
focus.field[abValue].value += focus.field[xCount].value * -5
focus.field[abText].text = signed(focus.field[abValue].value) & "%"
#value[cWldPsyEne] += focus.field[abValue].value]]></eval>
</thing>
<thing id="cWldFreSur" name="Free Surge" description="{b}Wild Surge and Psychic Enervation{/b}: The free wilder rides every emotion, taking them to heights unbelievable by others and finding her power in the moment of each encounter. Regardless of the emotion, embracing them to such a degree can sometimes be draining and cause her to be lost inside the experience. A free wilder overcome by psychic enervation is dazed until the end of her next turn and loses a number of power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost).\n\n{b}Surge Bond{/b}: The free wilder gains the Psionic Talent feat as a bonus feat.\n\n{b}Improved Surge Bond{/b}: At 5th level, the free wilder gains the Volatile Mind ability." compset="CustomSpec" summary="Your surge is ruled by power of all emotions." uniqueness="useronce">
<fieldval field="abText" value="The free wilder gains the Psionic Talent* feat as a bonus feat."/>
<fieldval field="abText2" value="At 5th level, the free wilder gains the Volatile Mind ability."/>
<fieldval field="abText3" value="A free wilder overcome by psychic enervation is dazed until the end of her next turn and loses a number of power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost)."/>
<usesource source="pPsiUn"/>
<tag group="SpecSource" tag="cHelpWld"/>
<bootstrap thing="cWldVolMnd">
<autotag group="ClSpecWhen" tag="5"/>
</bootstrap>
<bootstrap thing="fPUPsiTal">
<autotag group="thing" tag="skipprereq"/>
</bootstrap>
<eval phase="First" priority="10000"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set Surge and Improved surge text
Call PUSurgeTxt]]></eval>
</thing>
<thing id="cWldVolMnd" name="Volatile Mind" description="A free wilder's temperamental mind is hard to affect with telepathy or enchantment. Beginning at 5th level, the wilder gains a +1 bonus to saving throws against telepathy powers or enchantment spells. Every four levels beyond 5th (9th, 13th, and 17th level), this bonus improves by +1.\n\nWhenever any telepathy power is manifested or any enchantment spell is cast on a wilder of 17th level or higher, the wilder receives a Will save to negate the effect in addition to any save the effect may allow; if the spell or power already allows a Will save to negate, the wilder makes a second one, and would need to fail both to be affected." compset="ClSpecial" summary="A free wilder's temperamental mind is hard to affect with telepathy or enchantment.">
<tag group="ProductId" tag="HLCommunit"/>
<tag group="AbilType" tag="Extra"/>
<eval phase="PostLevel" priority="10000"><![CDATA[
~ If the improved surge ability is disabled then we are disabled.
If (hero.child[cWldImpSur].tagis[Helper.SpcDisable] = 1) Then
perform assign[Helper.SpcDisable]
Endif
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set the list name
field[listname].text = field[thingname].text & " " & signed(field[xIndex].value)
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
field[abValue].value += field[xCount].value
field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
~ The following should only happen once on the first copy
doneif (tagis[Helper.FirstCopy] = 0)
#situational[hero.child[svAll],signed(field[abValue].value) & " bonus to saving throws against telepathy powers or enchantment spells.",field[name].text]]]></eval>
</thing>
<thing id="cWldPUHeSu" name="Healing Surge" description="{b}Wild Surge and Psychic Enervation:{/b} A healing wilder utilizes empathy and compassion to boost her psionic power. When the healing wilder suffers psychic enervation, she is sickened for one round per point of wild surge, and if the power manifested with the wild surge healed another creature, that creature must make a Fortitude save (DC 10 + 1/2 wilder level + wilder's Charisma modifier) or also be sickened for one round. She also loses power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost).{br}{br}{b}Surge Bond:{/b} Any power the healing wilder manifests of the Healing subdiscipline heals any ally within 15 ft. of her for a number of hit points equal to the wild surge. In addition, she adds {i}natural healing{/i} to her list of powers known. This does not count against her limit of powers known and cannot be changed with effects such as {i}psychic reformation{/i}.{br}{br}{b}Improved Surge Bond:{/b} At 5th, 9th, 13th and 17th level the healing wilder gains her choice of either the Expanded Knowledge or Extra Power Known feat, but must choose a power of the Healing subdiscipline." compset="CustomSpec" summary="A healing wilder utilizes empathy and compassion to boost her psionic power." uniqueness="useronce">
<fieldval field="abText" value="Any power the healing wilder manifests of the Healing subdiscipline heals any ally within 15 ft. of her for a number of hit points equal to the wild surge. In addition, she adds {i}natural healing{/i} to her list of powers known. This does not count against her limit of powers known and cannot be changed with effects such as {i}psychic reformation{/i}."/>
<fieldval field="abText2" value="At 5th, 9th, 13th and 17th level the healing wilder gains her choice of either the Expanded Knowledge or Extra Power Known feat, but must choose a power of the Healing subdiscipline."/>
<fieldval field="abText3" value="When suffering psychic enervation, you are sickened for one round per point of wild surge, and if the power manifested with the wild surge healed another creature, that creature must make a Fortitude save or also be sickened for one round. You also loses power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost)."/>
<usesource source="pPsiUn"/>
<tag group="SpecSource" tag="cHelpWld"/>
<tag group="ProductId" tag="HLCommunit"/>
<bootstrap thing="puNatHeal1">
<autotag group="SpellSort" tag="cHelpWld"/>
<autotag group="SpellType" tag="cHelpWld"/>
<autotag group="Helper" tag="Free"/>
</bootstrap>
<eval phase="First" priority="10000"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set type of Bonus Feats allowed
perform linkage[table].assign[fInclude.fPUExpKn]
perform linkage[table].assign[fInclude.fPUExtPwrK]
~ Set the bonus feat levels
linkage[table].field[cBonFtTot].arrayvalue[4] = 1
linkage[table].field[cBonFtTot].arrayvalue[8] = 2
linkage[table].field[cBonFtTot].arrayvalue[12] = 3
linkage[table].field[cBonFtTot].arrayvalue[16] = 4
~ Expanded Knowledge list of powers should be Healing Subdiscipline only
foreach pick in hero from BaseFeat where "Ability.fPUExpKn & BonusFeat.cHelpWld"
eachpick.field[usrCandid2].text &= " & psiSubdisc.psdPUHeali"
nexteach
~ Set Surge and Improved surge text
Call PUSurgeTxt]]></eval>
</thing>
<thing id="cWldLeaSur" name="Leader's Surge" description="{b}Wild Surge and Psychic Enervation:{/b} For the leader wilder, the rush of emotions is at its highest when amongst allies and friends. From their camaraderie, she draws renewed strength and in combat, their danger drives her emotions to almost paralyzing heights, sometimes spilling over into her aura. A leader wilder overcome by psychic enervation is shaken for a number of rounds equal to the level of wild surge used and loses a number of power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost), and each ally inside her aura (see Bond Benefit, below) must make a Will save (DC 10 + ½ wilder level + wilder's Charisma modifier) or be shaken until the end of their next turn. If the leader wilder suffers psychic enervation again while still suffering from a previous psychic enervation, the penalties do not stack, but the duration resets.{br}{br}{b}Surge Bond:{/b} The leader wilder gains the Surging Aura* feat as a bonus feat.{br}{br}{b}Improved Surge Bond:{/b} A leader wilder's ability to share her surging power with her allies reaches a new and profound level of understanding and as she surges, so do her allies. Beginning at 5th level, the wilder increases her surging aura radius by 5' and whenever she gains the benefits of her surging euphoria, all allies within her surging aura radius also gain the benefits of surging euphoria. Every four levels beyond 5th (9th, 13th, and 17th level), the range of her surging aura radius increases by 5' (to 20' at 9th level, etc.)." compset="CustomSpec" summary="For the leader wilder, the rush of emotions is at its highest when amongst allies and friends." uniqueness="useronce">
<fieldval field="abText" value="The leader wilder gains the Surging Aura* feat as a bonus feat."/>
<fieldval field="abText2" value="A leader wilder's ability to share her surging power with her allies reaches a new and profound level of understanding and as she surges, so do her allies. Beginning at 5th level, the wilder increases her surging aura radius by 5' and whenever she gains the benefits of her surging euphoria, all allies within her surging aura radius also gain the benefits of surging euphoria."/>
<fieldval field="abText3" value="When overcome by psychic enervation your shaken for a number of rounds equal to the level of wild surge used and loses a number of power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost), and each ally inside her aura (see Bond Benefit, below) must make a Will save or be shaken until the end of their next turn."/>
<usesource source="pPsiUn"/>
<tag group="ProductId" tag="HLCommunit"/>
<tag group="SpecSource" tag="cHelpWld"/>
<bootstrap thing="fPUSurAur">
<autotag group="thing" tag="skipprereq"/>
</bootstrap>
<eval phase="PostLevel" priority="10000"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set Surge and Improved surge text
Call PUSurgeTxt
~ Set pointer to the Fist Copy of Improved Surge Bond
perform hero.findchild[BaseClSpec,"Ability.cWldImpSur & Helper.FirstCopy"].setfocus
doneif (state.isfocus = 0)
~ Set Improved Surge Bond text fields
focus.field[abSumm].text = "Lower psychic enervation."
focus.field[abValue].value += focus.field[xCount].value * 5
focus.field[abText].text = signed(focus.field[abValue].value) & "%"
If (focus.field[abValue].value <> 0) Then
#appenddesc[fPUSurAur,"{b}Improved Surge Bond:{/b} The wilder increases her surging aura radius and whenever she gains the benefits of her surging euphoria, all allies within her surging aura radius also gain the benefits of surging euphoria."]
#value[fPUSurAur] += focus.field[abValue].value
Endif]]></eval>
</thing>
<thing id="cWldPUPaSu" name="Pain Surge" description="{b}Wild Surge and Psychic Enervation{/b}: The pain wilder draws strength from pain, but can only wild surge if she is experiencing physical pain. The pain wilder must have suffered hit point damage within a number of rounds equal to the number of points in her wild surge. If the wilder is injured while manifesting a power, such as by an attack of opportunity, she may use that damage to qualify to activate the wild surge on the power being manifested, as long as she makes a successful concentration check as normal. Because a pain wilder embraces pain, it acts as a focus for her manifesting ability, not as a distraction. If the pain wilder is injured while manifesting a power, the number of points of damage are halved to determine the DC of the concentration check. If a pain wilder is taking continuous damage, she does not need to make a concentration check for the continuous damage. When a pain wilder suffers psychic enervation, she is sickened until the end of her next turn and loses a number of power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost).\n\n{b}Surge Bond{/b}: The pain wilder gains the {i}Precise Harm{/i} ability.\n\n{b}Improved Surge Bond{/b}: At 5th level, the pain wilder gains the Diehard feat as a bonus feat; at 9th level, she also gains the Body Fuel feat as a bonus feat, at 13th level she gains the Fight On feat as a bonus feat and at 17th level she gains the Mind Over Body feat as a bonus feat. The pain wilder gains the benefits of these feats even if she does not meet the prerequisites." compset="CustomSpec" uniqueness="useronce">
<fieldval field="abText" value="The pain wilder gains the {i}Precise Harm{/i} ability."/>
<fieldval field="abText2" value="At 5th level, the pain wilder gains the Diehard feat as a bonus feat; at 9th level, she also gains the Body Fuel feat as a bonus feat, at 13th level she gains the Fight On feat as a bonus feat and at 17th level she gains the Mind Over Body feat as a bonus feat. The pain wilder gains the benefits of these feats even if she does not meet the prerequisites."/>
<fieldval field="abText3" value="When a pain wilder suffers psychic enervation, she is sickened until the end of her next turn and loses a number of power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost)."/>
<usesource source="pPsiUn"/>
<tag group="SpecSource" tag="cHelpWld"/>
<bootstrap thing="cWldPUPrHa">
<autotag group="ClSpecWhen" tag="1"/>
</bootstrap>
<bootstrap thing="fDiehard">
<containerreq phase="First" priority="500"><![CDATA[count:Classes.Wilder >= 5]]></containerreq>
<autotag group="thing" tag="skipprereq"/>
</bootstrap>
<bootstrap thing="fPUBdyFuel">
<containerreq phase="First" priority="500"><![CDATA[count:Classes.Wilder >= 9]]></containerreq>
<autotag group="thing" tag="skipprereq"/>
</bootstrap>
<bootstrap thing="fFightOn">
<containerreq phase="First" priority="500"><![CDATA[count:Classes.Wilder >= 13]]></containerreq>
<autotag group="thing" tag="skipprereq"/>
</bootstrap>
<bootstrap thing="fPUMindBod">
<containerreq phase="First" priority="500"><![CDATA[count:Classes.Wilder >= 17]]></containerreq>
<autotag group="thing" tag="skipprereq"/>
</bootstrap>
<eval phase="First" priority="10000"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set Surge and Improved surge text
Call PUSurgeTxt]]></eval>
</thing>
<thing id="cWldPUPrHa" name="Precise Harm" description="The pain wilder can determine exactly how much damage she wishes to inflict on a willing or helpless subject. This ability cannot be used on creatures that are unwilling or not helpless. Whenever they have a minimum to maximum amount of damage to inflict - such as with a weapon - they can choose the amount of damage they deliver within those limits, including foregoing Strength or other bonuses to damage.\n\nFor example, if a pain wilder with a Strength of 12 and a dagger wishes to inflict damage on a target that is willing or helpless, she could inflict any amount of damage between 1 hit point and 5 hit points.\n\nThis can make the pain wilder an expert surgeon or an expert torturer. As such, Heal is added as a class skill for pain wilders, and they gain a +4 competence bonus on any use of the skill that involves surgery. Likewise, if a pain wilder makes any use of Intimidate that involves inflicting pain on the target, she also gains a +4 competence bonus on the check. The pain wilder's ability to choose how much damage is inflicted applies in these circumstances.\n\nFor example, a pain wilder attempting to remove a barbed sting that will inflict 1d6 damage on withdrawal would gain a +4 advantage to her Heal check to withdraw it, and could choose how much damage to inflict if successful or not." compset="ClSpecial" summary="Determine exactly how much damage to inflict on a willing or helpless subject.">
<fieldval field="abValue" value="4"/>
<fieldval field="abValue2" value="4"/>
<tag group="ProductId" tag="HLCommunit"/>
<tag group="AbilType" tag="Extra"/>
<eval phase="PostLevel" priority="10000"><![CDATA[
~ If the improved surge ability is disabled then we are disabled.
If (hero.child[cWldImpSur].tagis[Helper.SpcDisable] = 1) Then
perform assign[Helper.SpcDisable]
Endif
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
#makeclassskill[skHeal]
#situational[hero.childfound[skHeal],signed(field[abValue].value) & " competence bonus on any use of the skill that involves surgery.",field[name].text]
#situational[hero.childfound[skIntim],signed(field[abValue2].value) & " competence bonus when inflicting pain on the target.",field[name].text]]]></eval>
</thing>
<thing id="cWldPURaSu" name="Raging Surge" description="{b}Wild Surge and Psychic Enervation{/b}: A raging wilder unleashes pure, raw rage to boost her psionic power. A raging wilder cannot invoke wild surge unless in a rage, but any time a raging wilder manifests a power and uses wild surge, that round does not count toward her number of rounds per day she may rage. When the raging wilder suffers psychic enervation, she loses hit points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of hit points lost).\n\n{b}Surge Bond{/b}: You gain the rage class feature, as the barbarian, except as follows: the number of rounds per day you may rage is equal to 3 + your Charisma modifier, +1 per level of wilder you possess. If you have levels of barbarian, you do not stack your total rounds of rage together; instead you may add your Charisma bonus and your wilder level to the total number of rounds of rage available to you through barbarian. In addition, you gain the ability to manifest while in a rage, unlike other manifesters.\n\n{b}Improved Surge Bond{/b}: At 5th, 9th, 13th and 17th level the raging wilder gains a rage power as if a barbarian of the same level. If you have levels of barbarian, add your wilder levels to your barbarian level to determine which rage power you can select." compset="CustomSpec" uniqueness="useronce">
<fieldval field="abText" value="You gain the rage class feature, as the barbarian, except as follows: the number of rounds per day you may rage is equal to 3+Cha, +1 per lvl of wilder you possess. If you have levels of barbarian, you do not stack your total rounds of rage together; instead you may add your Charisma bonus and your wilder level to the total number of rounds of rage available to you through barbarian. In addition, you gain the ability to manifest while in a rage, unlike other manifesters."/>
<fieldval field="abText2" value="At 5th, 9th, 13th and 17th level the raging wilder gains a rage power as if a barbarian of the same level. If you have levels of barbarian, add your wilder levels to your barbarian level to determine which rage power you can select."/>
<fieldval field="abText3" value="When the raging wilder suffers psychic enervation, she loses hit points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of hit points lost)."/>
<usesource source="pPsiUn"/>
<tag group="SpecSource" tag="cHelpWld"/>
<bootstrap thing="cWldPURage">
<autotag group="ClSpecWhen" tag="1"/>
</bootstrap>
<eval phase="First" priority="10000"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set the rage power levels & values
perform linkage[table].assign[PreReqCaP1.BbnRagePow]
linkage[table].field[cSpec2ndSi].text = "Rage Power"
linkage[table].field[cCustScTot].arrayvalue[4] = 1
linkage[table].field[cCustScTot].arrayvalue[8] = 2
linkage[table].field[cCustScTot].arrayvalue[12] = 3
linkage[table].field[cCustScTot].arrayvalue[16] = 4
~ Set Surge and Improved surge text
Call PUSurgeTxt
~ Check to see if we have Barbarian rage
perform hero.findchild[BaseClSpec,"Ability.cBbnRage|Ability.cBbnRageUn"].setfocus
If (state.isfocus = 1) Then
perform hero.child[cWldPURage].assign[Helper.SpcDisable]
perform hero.child[cWldPURage].assign[Hide.Special]
perform assign[ChargeAttr.aCHA]
perform assign[ChargeCalc.LevelFull]
perform assign[ChargeCalc.LevelX1]
Endif]]></eval>
<eval phase="Final" priority="99999999" index="2"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set 2nd custom table expression to barbarian rage powers
linkage[table].field[cCstS2Expr].text = "abCategory.BbnRagePow & !Helper.Obsolete & !Helper.Helper"
~ If don't have barbarian rage ability get out now!
doneif (tagis[ChargeAttr.?] = 0)
~ Set pointer to Barbarian rage and add Wilder level + Cha bonus to usage
perform hero.findchild[BaseClSpec,"Ability.cBbnRage|Ability.cBbnRageUn"].setfocus
If (state.isfocus = 1) Then
focus.field[trkMax].value += field[trkMax].value
Endif]]></eval>
</thing>
<thing id="cWldPURage" name="Rage" description="A wilder can call upon inner reserves of strength and ferocity, granting her additional combat prowess. Starting at 1st level, a wilder can rage for a number of rounds per day equal to 4 + her Constitution modifier. At each level after 1st, she can rage for 2 additional rounds. Temporary increases to Constitution, such as those gained from rage and spells like {i}bear's endurance{/i}, do not increase the total number of rounds that a wilder can rage per day. A wilder can enter rage as a free action. The total number of rounds of rage per day is renewed after resting for 8 hours, although these hours do not need to be consecutive.{br}{br}While in rage, a wilder gains a +4 morale bonus to her Strength and Constitution, as well as a +2 morale bonus on Will saves. In addition, she takes a -2 penalty to Armor Class. The increase to Constitution grants the wilder 2 hit points per Hit Dice, but these disappear when the rage ends and are not lost first like temporary hit points. While in rage, a wilder cannot use any Charisma-, Dexterity-, or Intelligence-based skills (except Acrobatics, Fly, Intimidate, and Ride) or any ability that requires patience or concentration.{br}{br}A wilder can end her rage as a free action and is fatigued after rage for a number of rounds equal to 2 times the number of rounds spent in the rage. A wilder cannot enter a new rage while fatigued or exhausted but can otherwise enter rage multiple times during a single encounter or combat. If a wilder falls unconscious, her rage immediately ends, placing her in peril of death." compset="ClSpecial" summary="+4 Str, +4 Con, +2 to Will saves, -2 to AC when enraged.">
<fieldval field="abValue" value="4"/>
<fieldval field="abValue2" value="2"/>
<fieldval field="abValue3" value="4"/>
<fieldval field="abValue4" value="-2"/>
<fieldval field="actName" value="Raging"/>
<fieldval field="actName2" value="Fatigued"/>
<fieldval field="trkMax" value="3"/>
<tag group="ProductId" tag="HLCommunit"/>
<tag group="SpecType" tag="Attack"/>
<tag group="Usage" tag="DayRound"/>
<tag group="User" tag="Activation"/>
<tag group="User" tag="Tracker"/>
<tag group="abAction" tag="Free"/>
<tag group="AbilType" tag="Extra"/>
<tag group="ChargeAttr" tag="aCHA"/>
<tag group="ChargeCalc" tag="LevelFull"/>
<tag group="ChargeCalc" tag="LevelX1"/>
<tag group="Helper" tag="ClExLose"/>
<tag group="LGClSpcAss" tag="Rage"/>
<tag group="SpecGroup" tag="ExRageTarg"/>
<bootstrap thing="aaRage"></bootstrap>
<eval phase="First" priority="450"><![CDATA[
~if we're curently raging, forward a tag to the hero.
~note the timing is just before First/500, which is when the containerreqs on the rage powers will look for this tag
var rageactive as number
rageactive = field[abilActive].value
call RageActive]]></eval>
<eval phase="PostLevel" priority="5000" name="Calculate rage bonuses">~ We used to calculate abValue (Str bonus), abValue2 (Will bonus), and
~ abValue3 (Con bonus) here based on xAllLev. But now the base bonuses are
~ in just set, then the greater and mighty rage abilities add to those
~ fields on this pick.
~ The script for Con bonus from the feat Raging Vitality has been sublimated into
~ the procedure RageEff called at PostLevel/10000</eval>
<eval phase="PostLevel" priority="10000" name="Apply rage effects"><![CDATA[
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
var ragestr as number
var ragecon as number
var ragewill as number
var ragename as string
var rageac as number
var rageactive as number
ragestr = field[abValue].value
ragewill = field[abValue2].value
ragecon = field[abValue3].value
rageac = field[abValue4].value
rageactive = field[abilActive].value
~ Apply rage effects
call RageEff]]></eval>
<eval phase="PostLevel" priority="10000" name="Rage applies Fatigue Condition"><![CDATA[
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
var ragename2 as string
var rageact2 as number
ragename2 = field[actName2].text
rageact2 = field[abilAct2].value
call RageFatig]]></eval>
<eval phase="Render" priority="10000" index="5"><![CDATA[
call RageText
field[CustDesc].text &= " In addition, you gain the ability to manifest while in a rage, unlike other manifesters."
if (field[xAllLev].value < 17) then
field[CustDesc].text = field[CustDesc].text & " At the end of the rage, the wilder becomes fatigued (-2 Str, -2 Dex, can't charge or run) for a number of rounds equal to twice the number of rounds spent raging."
endif]]></eval>
</thing>
<thing id="cWldStuSur" name="Student's Surge" description="{b}Wild Surge and Psychic Enervation:{/b} A student wilder has received some formal training in psionics, but still uses raw emotions to empower her abilities. The student wilder uses any emotion much like a free wilder, but with more focus and control. A student wilder overcome by psychic enervation is dazzled for a number of rounds equal to the level of wild surge used and loses a number of power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost). If the student wilder suffers psychic enervation again while still suffering from a previous psychic enervation, the penalties stack (-1 to attack rolls and sight-based Perception checks) and the duration resets.\n\n{b}Surge Bond:{/b} The student wilder gains the Psicrystal Affinity* feat as a bonus feat.\n\n{b}Improved Surge Bond:{/b} A student wilder gains the Expanded Knowledge feat as a bonus feat at 5th level and every four levels thereafter (9th, 13th, etc)." compset="CustomSpec" summary="A student wilder has received some formal training in psionics, but still uses raw emotions to empower her abilities." uniqueness="useronce">
<fieldval field="abText" value="The student wilder gains the Psicrystal Affinity* feat as a bonus feat.{br}{br}{b}Note:{/b} The Psicrystal is added on the 'Other' tab."/>
<fieldval field="abText2" value="A student wilder gains the Expanded Knowledge feat as a bonus feat at 5th level and every four levels thereafter (9th, 13th, etc)."/>
<fieldval field="abText3" value="A student wilder overcome by psychic enervation is dazzled for a number of rounds equal to the level of wild surge used and loses a number of power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost)."/>
<usesource source="pPsiUn"/>
<tag group="ProductId" tag="HLCommunit"/>
<tag group="SpecSource" tag="cHelpWld"/>
<bootstrap thing="fPUPsicry">
<autotag group="thing" tag="skipprereq"/>
</bootstrap>
<eval phase="First" priority="10000">~ Set type of Bonus Feats allowed
perform linkage[table].assign[fInclude.fPUExpKn]
~ Set the bonus levels
linkage[table].field[cBonFtTot].arrayvalue[4] = 1
linkage[table].field[cBonFtTot].arrayvalue[8] = 2
linkage[table].field[cBonFtTot].arrayvalue[12] = 3
linkage[table].field[cBonFtTot].arrayvalue[16] = 4
~ Set Surge and Improved surge text
Call PUSurgeTxt</eval>
</thing>
<thing id="cWldPUWaSu" name="Warping Surge" description="{b}Wild Surge and Psychic Enervation{/b}: A warping wilder channels her emotions into an aura of energy that shifts the flow of psionics around her. When the warping wilder suffers psychic enervation, she is sickened for one round per point of wild surge. She also loses power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost).\n\n{b}Surge Bond{/b}: After a warping wilder has invoked a wild surge, all creatures within a 5 ft. radius are affected by a warping effect. Allies of the warping wilder can choose to treat their manifester level as one higher for all powers manifested while in the warped area. This does not supply any additional power points to augment the power, but does allow the manifester to spend more power points if he so chooses. All enemies of the warping wilder treat their manifester level as one lower for all powers manifested while in the warped area. If this would reduce the manifester level lower than that required to manifest the power, the effect fails and the enemy wastes the action used, but no power points are spent. Spellcasters are affected in a similar fashion. All affected creatures, both allies who choose the manifester level boost and all enemies, suffer a 30% risk of psychic enervation when manifesting powers or casting spells and suffer the same psychic enervation effects as the warping wilder would. This warping effect lasts for one round per point of the wild surge that invoked the warping effect and does not stack with effects such as Overchannel or wild surge.\n\n{b}Improved Surge Bond{/b}: At 5th level, the radius of the warping effect increases by 5 ft. and the increase in manifester level for allies and the penalty to manifester level for enemies increases by 1. Every four levels thereafter (9th, 13th, and 17th), the radius extends by an additional 5 ft. and the bonus and penalty improve by 1." compset="CustomSpec" summary="Your surge is ruled by power of all emotions." uniqueness="useronce">
<fieldval field="abText" value="After a warping wilder has invoked a wild surge, all creatures within a radius are affected. Allies can choose to treat their ML as one higher for all powers manifested. All enemies treat their manifester level as one lower for all powers manifested while in the warped area. All affected creatures suffer a 30% risk of psychic enervation when manifesting powers or casting spells."/>
<fieldval field="abText2" value="At 5th level, the radius of the warping effect increases by 5 ft. and the increase in manifester level for allies and the penalty to manifester level for enemies increases by 1. Every four levels thereafter (9th, 13th, and 17th), the radius extends by an additional 5 ft. and the bonus and penalty improve by 1."/>
<fieldval field="abText3" value="When the warping wilder suffers psychic enervation, she is sickened for one round per point of wild surge. She also loses power points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of power points lost)."/>
<usesource source="pPsiUn"/>
<tag group="SpecSource" tag="cHelpWld"/>
<tag group="ProductId" tag="HLCommunit"/>
<eval phase="PostLevel" priority="10000"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set Surge and Improved surge text
Call PUSurgeTxt
~ Set pointer to the Fist Copy of Improved Surge Bond
perform hero.findchild[BaseClSpec,"Ability.cWldImpSur & Helper.FirstCopy"].setfocus
doneif (state.isfocus = 0)
~ Set Improved Surge Bond text fields
focus.field[abSumm].text = "Increase radius and manifester level."
focus.field[abValue].value += (focus.field[xCount].value +1) * 5
focus.field[abValue2].value += focus.field[xCount].value +1
hero.child[cWldSurBnd].field[abText].text = focus.field[abValue].value & " ft; 30%; " & signed(focus.field[abValue2].value) & " ML"]]></eval>
</thing>
<thing id="cWldWarSur" name="Warrior's Surge" description="{b}Wild Surge and Psychic Enervation:{/b} A warrior wilder embraces the surge of adrenaline, the rush of combat and melee and thus her connection to her body is far more intense. When she rides the wave of her combat-driven emotions, rage and fear foremost, the strain can sometimes be too high for her body to bear. A warrior wilder overcome by psychic enervation is staggered until the end of her next turn and loses a number of hit points equal to her normal manifester level (the increase in manifester level from her wild surge does not increase the number of hit points lost).{br}{br}The warrior wilder may expend her psionic focus as a free action when she would suffer psychic enervation to convert this damage into power point loss, although she is still staggered as normal.{br}{br}{b}Surge Bond:{/b} The warrior wilder gains the Toughness feat as a bonus feat.{br}{br}{b}Improved Surge Bond:{/b} At 5th level, the warrior wilder gains the Hardened Body ability." compset="CustomSpec" summary="A warrior wilder embraces the surge of adrenaline, the rush of combat and melee and thus her connection to her body is far more intense." uniqueness="useronce">
<usesource source="pPsiUn"/>
<tag group="SpecSource" tag="cHelpWld"/>
<tag group="ProductId" tag="HLCommunit"/>
<tag group="abAction" tag="PUExpFocus"/>
<bootstrap thing="cWldHarBod">
<autotag group="ClSpecWhen" tag="5"/>
</bootstrap>
<bootstrap thing="cWldHarBod">
<autotag group="ClSpecWhen" tag="9"/>
</bootstrap>
<bootstrap thing="cWldHarBod">
<autotag group="ClSpecWhen" tag="13"/>
</bootstrap>
<bootstrap thing="cWldHarBod">
<autotag group="ClSpecWhen" tag="17"/>
</bootstrap>
<bootstrap thing="fToughness">
<autotag group="thing" tag="skipprereq"/>
</bootstrap>
<eval phase="First" priority="900"><![CDATA[
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set Surge and Improved surge text
Call PUSurgeTxt
perform hero.pushtags[Ability.?]]]></eval>
</thing>
<thing id="cWldHarBod" name="Hardened Body" description="A warrior wilder's deep and intense connection to her body means that when her mind surges with power, her body grows more powerful. Beginning at 5th level, the wilder gains 5 temporary hit points whenever they gain the benefits of surging euphoria. These temporary hit points last for the duration of the warrior wilder's surging euphoria. Every four levels beyond 5th (9th, 13th, and 17th level), these temporary hit points increase by 5 (to 10 at 9th level, etc.)." compset="ClSpecial" summary="A warrior wilder's deep and intense connection to her body means that when her mind surges with power, her body grows more powerful.">
<tag group="AbilType" tag="Extra"/>
<tag group="ProductId" tag="HLCommunit"/>
<eval phase="PostLevel" priority="10000"><![CDATA[
~ If the improved surge ability is disabled then we disabled.
If (hero.child[cWldImpSur].tagis[Helper.SpcDisable] = 1) Then
perform assign[Helper.SpcDisable]
Endif
var bonus as number
bonus = field[xIndex].value * 5
~ Set the list name
field[listname].text = field[thingname].text & " (" & signed(bonus) & " Temp HP)"
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
field[abValue].value += field[xCount].value * 5
~ The following should only happen once on the first copy
doneif (tagis[Helper.FirstCopy] = 0)
hero.childfound[thpPUHarBo].field[thpMaxAllw].value = field[abValue].value
hero.childfound[thpPUHarBo].field[thpMinAllw].value = field[abValue].value]]></eval>
</thing>
<thing id="thpPUHarBo" name="Hardened Body" description="Beginning at 5th level, the wilder gains 5 temporary hit points whenever they gain the benefits of surging euphoria. These temporary hit points last for the duration of the warrior wilder&apos;s surging euphoria. Every four levels beyond 5th (9th, 13th, and 17th level), these temporary hit points increase by 5 (to 10 at 9th level, etc.)." compset="TempHpPool" uniqueness="unique">
<usesource source="pPsiUn"/>
<tag group="ProductId" tag="HLCommunit"/>
<eval phase="Final" priority="9999999">perform delete[User.NeedDomain]</eval>
</thing>
</document>