-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathCOM_5ePack_DMG - Supernatural Gifts.user
210 lines (202 loc) · 12.3 KB
/
COM_5ePack_DMG - Supernatural Gifts.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
<?xml version="1.0" encoding="UTF-8"?>
<document signature="Hero Lab Data">
<thing id="c5CSGBoH" name="Blessing of Health" description="Your Constitution score increases by 2. It's new maximum is 22." compset="CustomSpec" uniqueness="useronce">
<usesource source="5eDMGCP"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="Secondary"/>
<eval phase="PreAttr" priority="10000"><![CDATA[
~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] <> 0)
~ Set Maximum Constitution score to 22.
hero.child[aCON].field[aMaxValue].value = 22
~ Add 2 to Constitution score
hero.child[aCON].field[aStartMod].value += 2]]></eval>
</thing>
<thing id="c5CSGBoP" name="Blessing of Protection" description="You are granted a +1 bonus to your AC and saving throws." compset="CustomSpec" uniqueness="useronce">
<usesource source="5eDMGCP"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="Secondary"/>
<eval phase="PreLevel" priority="5000"><![CDATA[
~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] <> 0)
hero.child[ArmorClass].field[Bonus].value += 1
hero.child[svAll].field[Bonus].value += 1]]></eval>
</thing>
<thing id="c5CSGCoR" name="Charm of Restoration" description="This charm has 6 charges. You can use an action to expend 2 charges to cast {i}lesser restoration{/i} or 4 charges to cast {i}greater restoration{/i}. Once all charges have been spent, the charm vanishes." compset="CustomSpec" uniqueness="useronce">
<fieldval field="trkMax" value="6"/>
<usesource source="5eDMGCP"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Usage" tag="Charges"/>
<tag group="User" tag="Tracker"/>
<tag group="SpInfo" tag="spGreaRest"/>
<tag group="SpInfo" tag="spLessRest"/>
<tag group="Helper" tag="Tertiary"/>
</thing>
<thing id="c5CSGBoMR" name="Blessing of Magic Resistance" description="Your saving throws versus spells and other magical effects are made with advantage." compset="CustomSpec" uniqueness="useronce">
<usesource source="5eDMGCP"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="Secondary"/>
<eval phase="Final" priority="10000"><![CDATA[
~if we've been replaced, get out now
doneif (tagis[Helper.Disable] <> 0)
#situational[hero.child[svAll],"Advantage vs. spells and other magical efffects",field[thingname].text]]]></eval>
</thing>
<thing id="c5CSGBoU" name="Blessing of Understanding" description="Your Wisdom score increases by 2. It's new maximum is 22." compset="CustomSpec" uniqueness="useronce">
<usesource source="5eDMGCP" parent="p5ePack" name="5e Dungeon Master's Guide"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Helper" tag="SpecUp"/>
<tag group="Helper" tag="Secondary"/>
<eval phase="PreAttr" priority="10000"><![CDATA[
~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] <> 0)
~ Set Maximum Wisdom score to 22.
hero.child[aWIS].field[aMaxValue].value = 22
~ Add 2 to Wisdom score
hero.child[aWIS].field[aStartMod].value += 2]]></eval>
</thing>
<thing id="c5CSGBoV" name="Blessing of Valhalla" description="You are granted the power to summon spirit warriors, as if you had blown a silver Horn of Valhalla. Once you used, this blessing cannot be used again for 7 days.\n\n{i}{b}Silver Horn of Valhalla{/b}\nYou can use an action to blow this horn, summoning 2d4+2 warrior spirits within 60 feet of you. They use the statistics of a berserker are friendly to you and your allies, follow your commands, and return to Valhalla after 1 hour or when they drop to 0 hit points.{/i}" compset="CustomSpec" uniqueness="useronce">
<fieldval field="trkMax" value="1"/>
<fieldval field="abDuration" value="1"/>
<usesource source="5eDMGCP"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Usage" tag="Week"/>
<tag group="User" tag="Tracker"/>
<tag group="abAction" tag="Action"/>
<tag group="FeatureTyp" tag="Action"/>
<tag group="abDuration" tag="Hour"/>
<tag group="Helper" tag="Secondary"/>
</thing>
<thing id="c5CSGBoWE" name="Blessing of Weapon Enhancement" description="One nonmagical weapon you have becomes a +1 weapon when you wield it." compset="CustomSpec" uniqueness="useronce">
<comment><![CDATA[~set our name based on the type of weapon chosen
field[livename].text = "+1 "
perform gizmo.findchild[BaseWep].setfocus
if (state.isfocus <> 0) then
field[livename].text &= titlecase(focus.field[name].text)
else
field[livename].text &= "Weapon"
endif
field[shortname].text = field[livename].text
field[sbName].text = field[livename].text]]></comment>
<fieldval field="usrCandid1" value="component.BaseWep & !Helper.EquipMag & !component.BaseNatWep"/>
<fieldval field="abValue" value="1"/>
<usesource source="5eDMGCP"/>
<tag group="abAction" tag="None"/>
<tag group="ChooseSrc1" tag="Hero"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Helper" tag="Secondary"/>
<eval phase="Render" priority="20000"><![CDATA[
~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] <> 0)
~if nothing's been chosen, get out now
doneif (field[usrChosen1].ischosen = 0)
field[usrChosen1].chosen.field[livename].text = field[usrChosen1].chosen.field[name].text & " +" & field[abValue].value]]></eval>
<eval phase="First" index="2"><![CDATA[
~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] <> 0)
~if nothing's been chosen, get out now
doneif (field[usrChosen1].ischosen = 0)
field[usrChosen1].chosen.field[Bonus].value = field[abValue].value]]></eval>
</thing>
<thing id="c5CSGBoWC" name="Blessing of Wound Closure" description="You are granted the benefits of a {i}{b}periapt of wound closure{/b}{/i}.\n\n{i}{b}Periapt of Wound Closure{/b}\nWhile wearing this pendant, you stabilize whenever you are dying at the beginning of your turn. Also, whenever you roll a Hit Die to regain hit points, you regain double the amount.{/i}" compset="CustomSpec" uniqueness="useronce">
<usesource source="5eDMGCP"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Helper" tag="Secondary"/>
</thing>
<thing id="c5CSGCoAC" name="Charm of Animal Conjuring" description="This charm allows you to cast {i}conjure animals{/i} at 3rd-level as an action. Once used three times, the charm vanishes." compset="CustomSpec" uniqueness="useronce">
<fieldval field="trkMax" value="3"/>
<usesource source="5eDMGCP"/>
<tag group="User" tag="Tracker"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Usage" tag="UsedUp"/>
<tag group="Helper" tag="Tertiary"/>
<bootstrap thing="spConjAnim">
<autotag group="Helper" tag="RaceSpell"/>
<autotag group="Usage" tag="UsedUp"/>
<assignval field="trkMax" value="3"/>
<assignval field="sNameMod" value="3rd-level"/>
</bootstrap>
</thing>
<thing id="c5CSGCoDv" name="Charm of Darkvision" description="This charm allows you to cast {i}darkvision{/i} action without any components. Once used three times, the charm vanishes." compset="CustomSpec" uniqueness="useronce">
<fieldval field="actName" value="Active"/>
<fieldval field="trkMax" value="3"/>
<usesource source="5eDMGCP"/>
<tag group="User" tag="Activation"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="User" tag="Tracker"/>
<tag group="SpInfo" tag="spDarkvisi"/>
<tag group="Usage" tag="UsedUp"/>
<tag group="Helper" tag="Tertiary"/>
<bootstrap thing="spDarkvisi">
<autotag group="Helper" tag="RaceSpell"/>
<autotag group="Usage" tag="UsedUp"/>
<assignval field="trkMax" value="3"/>
</bootstrap>
<bootstrap thing="raDarkVis">
<containerreq phase="First" priority="5000"><![CDATA[fieldval:abilActive <> 0]]></containerreq>
<autotag group="Value" tag="60"/>
</bootstrap>
</thing>
<thing id="c5CSGCoFf" name="Charm of Feather Falling" description="This charm the same benefits as a ring of feather falling for 10 days. After that time, the charm vanishes." compset="CustomSpec" uniqueness="useronce">
<fieldval field="trkMax" value="10"/>
<usesource source="5eDMGCP"/>
<tag group="Usage" tag="5cDays" name=" day(s)"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="SpInfo" tag="spFeatFall"/>
<tag group="User" tag="Tracker"/>
<tag group="Helper" tag="Tertiary"/>
<bootstrap thing="spFeatFall">
<autotag group="Helper" tag="RaceSpell"/>
</bootstrap>
</thing>
<thing id="c5CSGCoH" name="Charm of Heroism" description="This charm allows you to use an action to grant yourself the benefits of a potion of heroism. It disappears once used.\n\n{i}{b}Potion of Heroism{/b}\nYou gain 10 temporary hit points for 1 hour. For the same duration, you are under the effect of {i}bless{/i} without needing to concentrate on it.{/i}" compset="CustomSpec" uniqueness="useronce">
<fieldval field="trkMax" value="1"/>
<usesource source="5eDMGCP"/>
<tag group="User" tag="Tracker"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Usage" tag="UsedUp"/>
<tag group="Helper" tag="Tertiary"/>
</thing>
<thing id="c5CSGCotS" name="Charm of the Slayer" description="A single sword of yours becomes a dragon slayer or giant slayer (DM’s choice) for the next 9 days. After that time, the charm vanishes and the sword returns to normal." compset="CustomSpec" uniqueness="useronce">
<fieldval field="trkMax" value="9"/>
<fieldval field="usrCandid1" value="component.BaseWep & wGroup.Sword & !Helper.EquipMag"/>
<arrayval field="usrArray" index="0" value="Charm of Slayer"/>
<arrayval field="usrArray" index="1" value="Dragon Slayer "/>
<arrayval field="usrArray" index="2" value="Giant Slayer "/>
<usesource source="5eDMGCP"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Usage" tag="5cDays"/>
<tag group="User" tag="Tracker"/>
<tag group="Helper" tag="ActivMenu"/>
<tag group="Helper" tag="Tertiary"/>
<eval phase="First"><![CDATA[
~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] <> 0)
doneif (field[usrIndex].value = 0)
~if nothing's been chosen, get out now
doneif (field[usrChosen1].ischosen = 0)
field[usrChosen1].chosen.field[Bonus].value = 1
perform field[usrChosen1].chosen.assign[Helper.EquipMag]
var sText as string
if (field[usrIndex].value = 1) then
sText = "When you hit a dragon with this weapon, the dragon takes an extra 3d6 damage. For the purpose of this weapon, 'dragon' refers to any creature with the dragon type, including dragon turtles and wyverns."
field[usrChosen1].chosen.field[CustDesc].text &= sText
field[usrChosen1].chosen.field[livename].text = "Dragon Slayer " & field[usrChosen1].chosen.field[name].text
endif
if (field[usrIndex].value = 2) then
sText = "When you hit a giant with it, the giant takes an extra 2d6 damage of the weapon's type and must succeed on a DC 15 Strength saving throw or fall prone. For the purpose of this weapon, 'giant' refers to any creature with the giant type, including ettins and trolls."
field[usrChosen1].chosen.field[CustDesc].text &= sText
field[usrChosen1].chosen.field[livename].text = "Giant Slayer " & field[usrChosen1].chosen.field[name].text
endif]]></eval>
</thing>
<thing id="c5CSGCoV" name="Charm of Vitality" description="This charm allows you to use an action to grant yourself the benefits of a potion of vitality. It disappears once used.\n\n{i}{b}Potion of Vitality{/b}\nDrinking this potion removes any exhaustion you're suffering, and cures any diseases or poisons affecting you. For the next 24 hours, any Hit Die you spend to regain hit point are treated as if they rolled their maximum.{/i}" compset="CustomSpec" uniqueness="useronce">
<fieldval field="trkMax" value="1"/>
<usesource source="5eDMGCP"/>
<tag group="User" tag="Tracker"/>
<tag group="AllowRCust" tag="cfg5CSupGif"/>
<tag group="Usage" tag="UsedUp"/>
<tag group="Helper" tag="Tertiary"/>
</thing>
</document>