forked from praxidicae/Alternative-Artificer
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinventor_weapons.js
More file actions
282 lines (255 loc) · 9.1 KB
/
inventor_weapons.js
File metadata and controls
282 lines (255 loc) · 9.1 KB
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
var iFileName = "Inventor - Weapons.js";
RequiredSheetVersion(13);
//Fleshsmith weapons and armor
// WeaponsList["extra fangs"] = {
// regExpSearch : /^(?=.*extra fangs).*$/i,
// name : "Extra Fangs",
// source : ["KT:AR"],
// ability : 2,
// type : "Natural",
// damage : [1, 6, "Piercing"],
// range : "melee",
// description : "",
// abilitytodamage : true,
// modifiers : ["Dex", ""],
// monkweapon : false,
// };
// WeaponsList["extra tentacle"] = {
// regExpSearch : /^(?=.*extra tentacle).*$/i,
// name : "Extra Tentacle",
// source : ["KT:AR"],
// ability : 1,
// type : "Natural",
// damage : [1, 4, "bludgeoning"],
// range : "melee",
// description : "has reach",
// abilitytodamage : true,
// modifiers : ["Str", ""],
// monkweapon : false,
// };
// WeaponsList["retractable claws"] = {
// regExpSearch : /^(?=.*retractable claws).*$/i,
// name : "Retractable Claws",
// source : ["KT:AR"],
// ability : 2,
// type : "Natural",
// damage : [1, 6, "slashing"],
// range : "melee",
// description : "",
// abilitytodamage : true,
// modifiers : ["Dex", ""],
// monkweapon : false,
// };
// ArmourList["subdermal plating"] = {
// regExpSearch : /^(?=.*subdermal plating).*$/i,
// name : "Subdermal Plating",
// source : ["KT:AR"],
// type : "natural",
// ac : 16,
// dex : 2
// };
// Thundersmith
WeaponsList["thunder cannon"] = {
regExpSearch : /^(?=.*thunder cannon).*$/i,
name : "Thunder Cannon",
source : ["KTI", 22],
ability : 2,
type: "AlwaysProf",
damage : [1, 12, "Piercing"],
range : "60/180 ft",
description : "Ammunition, Two-handed, Loud, Stormcharged",
abilitytodamage : true,
modifiers : ["Dex", ""],
weight : 15,
// isMagicWeapon: true,
list: "stormforged",
};
WeaponsList["hand cannon"] = {
regExpSearch : /^(?=.*hand cannon).*$/i,
name : "Hand Cannon",
source : ["KTI", 22],
ability : 2,
type: "AlwaysProf",
damage : [1, 10, "Piercing"],
range : "30/90 ft",
description : "Ammunition, Light, Loud, Stormcharged",
abilitytodamage : true,
modifiers : ["Dex", ""],
weight : 5,
// isMagicWeapon: true,
list: "stormforged",
};
WeaponsList["kinetic hammer"] = {
regExpSearch : /^(?=.*kinetic hammer).*$/i,
name : "Kinetic Hammer",
source : ["KTI", 22],
ability : 1,
type: "AlwaysProf",
damage : [1, 10, "bludgeoning"],
range : "Melee",
description : "+1d4 thunder; Two-handed, Heavy, Loud",
abilitytodamage : false,
modifiers : ["Str", ""],
weight : 10,
// isMagicWeapon: true,
list: "stormforged"
};
WeaponsList["charged blade"] = {
regExpSearch : /^(?=.*charged blade).*$/i,
name : "Charged Blade",
source : ["KTI", 22],
ability : 1,
type: "AlwaysProf",
damage : [1, 6, "slashing"],
range : "Melee",
description : "+1d4 lightning, Finesse, Loud",
abilitytodamage : true,
modifiers : ["Str", ""],
weight : 3,
// isMagicWeapon: true,
list: "stormforged",
};
WeaponsList["lightning pike"] = {
regExpSearch: /^(?=.*lightning pike).*$/i,
name: "Lightning Pike",
source: ["KTI", 22],
ability: 1,
type: "AlwaysProf",
damage: [1, 8, "piercing"],
range: "Melee",
description: "+1d4 lightning, Reach, Two-Handed, Loud",
abilitytodamage: true,
modifiers: ["Str", ""],
weight: 10,
// isMagicWeapon: true,
list: "stormforged",
};
WeaponsList["harpoon reel"] = {
regExpSearch: /^(?=.*harpoon reel).*$/i,
name: "Harpoon Reel",
source: ["KTI", 24],
ability: 2,
abilitytodamage: false,
type: "AlwaysProf",
damage: [1, 6, "piercing"],
range: "30/60 ft",
modifiers: ["Dex", ""],
description: "Attached to tgt by 60' cord; Tgt remove using action, 1d6 piercing"
};
MagicItemsList["stormforged weapon"] = {
name: "Stormforged Weapon",
source: ["KTI", 22],
type: "weapon",
rarity: "rare",
attunement: true,
prerequisite: "Requires Thundersmith or Inventor Cross Disciplinary Knowledge",
prereqeval: function(v) {
return classes.known.inventor.level >= 6 || (/thundersmith/i).test(classes.known.inventor.subclass);
},
allowDuplicates: true,
description: "I harness the power of thundering storms in a powerful weapon. I am proficient in it while attuned. This weapon can take the form of a Charged Blade, a Kinetic Hammer, a Lightning Pike, a Hand Cannon, or a Thunder Cannon. As I grow in power as an Inventor I can upgrade my Stormforged Weapon and create additional ones, though I can only attune to one at a time.",
descriptionLong: "Starting at 1st level, you harness the power of elemental power of thundering storms to create a powerful weapon. This weapon requires attunement and you are proficient with it while attuned. and you can only be attuned to one Stormforged Weapon at a time. If you have multiple Stormforged Weapons, you can change which one you are attuned to during a long rest. If you lose your Stormforged Weapon or wish to create additional ones, you can do so over the course of three days (eight hours each day) by expending 200 gold pieces worth of metal and other raw materials. When you make a new Stormforged Weapon, you can make the same or different type, and select the same or different upgrades.",
chooseGear: {
type: "weapon",
excludeCheck: function (inObjKey, inObj) {
return !((/(kinetic hammer)|(thunder cannon)|(charged blade)|(hand cannon)|(lightning pike)/i).test(inObjKey));
},
prefixOrSuffix: "brackets",
itemName1stPage: ["prefix", ""],
},
};
// Warsmith
WeaponsList["force blast"] = {
regExpSearch : /^(?=.*force blast).*$/i,
name : "Force Blast",
source : ["HB", 28],
ability : 4,
type : "Natural",
damage : [1, 8, "Force"],
range : "60 ft",
description : "Ranged spell attack, can be used in place of one attack.",
abilitytodamage : true,
monkweapon : false
};
WeaponsList["power fist"] = {
regExpSearch : /^(?=.*power fist).*$/i,
name : "Power Fist",
source : ["HB", 29],
ability : 1,
type : "Natural",
damage : [1, 8, "Bludegoning"],
range : "Melee",
description : "Light, Special: When you make an attack roll, you can choose to forgo adding your Proficiency modifier to the attack roll. If the attack hits, you can add double your Proficiency modifier to the damage roll.",
abilitytodamage : true,
monkweapon : false
};
ArmourList["warplate"] = {
regExpSearch : /^(?=.*warplate).*$/i,
name : "Warplate",
source : ["HB", 27],
type : "heavy",
ac: 18,
dex: 0,
stealthdis : true,
weight: 65,
carryingCapacity: 2,
scores: [2, 0, 0, 0, 0, 0],
scoresMaximum: [22, 0, 0, 0, 0, 0],
description : "While wearing your Warplate your Strength score increases by 2, and your maximum Strength score increase by the same amount. Additionally, you count as one size larger when determining the weight you can push, drag, or lift. A small creature wearing Warplate becomes a medium sized creature while wearing the Warplate."
};
ArmourList["warsuit"] = {
regExpSearch: /^(?=.*warsuit).*$/i,
name: "Warsuit",
source: ["HB", 27],
type: "medium",
ac: 14,
dex: 2,
stealthdis: false,
weight: 20,
carryingCapacity: 1,
scores: [2, 0, 0, 0, 0, 0],
scoresMaximum: [22, 0, 0, 0, 0, 0],
description: "While wearing your Warsuit your Strength score increases by 2, and your maximum Strength score increase by the same amount."
};
ArmourList["integrated armor"] = {
regExpSearch: /^(?=.*integrated).*$/i,
name: "Integrated Armor",
source: ["HB", 27],
type: "medium",
ac: 14,
dex: 2,
stealthdis: false,
weight: 0,
carryingCapacity: 2,
scores: [2, 0, 0, 0, 0, 0],
scoresMaximum: [22, 0, 0, 0, 0, 0],
description: "While \"wearing\" your Integrated Armor, your Strength score increases by 2, and your maximum Strength score increase by the same amount. Additionally, you count as one size larger when determining the weight you can push, drag, or lift."
};
// Gadgetsmith
WeaponsList["boomerang of hitting"] = {
regExpSearch : /^(?=.*boomerang of hitting).*$/i,
name : "Boomerang of Hitting",
source : ["HB", 0],
ability : 2,
type : "Natural",
damage : [1, 4, "Bludgeoning"],
range : "30/60 ft",
description : "Thrown. Finesse. Special: When this weapon is Thrown, you can make target up three seperate targets within 10 feet of each other, making a seperate attack roll against each target.",
abilitytodamage : true,
monkweapon : true
};
WeaponsList["grappling hook"] = {
regExpSearch : /^(?=.*grappling hook).*$/i,
name : "Grappling Hook",
source : ["KCCC", 14],
ability: 1,
type: "special",
damage: [0, 4, "Piercing"],
range : "20 ft",
list: "improvised",
description : "Tgt crea, obj, or surface. If tgt Small-, grapple check against it; pull towards me on success. Tgt Medium+, pull myself to it. Opp atks provoked by this movement at disadv.",
abilitytodamage: false,
};
// };
// // Infusionsmith
// // Potionsmith