Skip to content

Commit f9246fb

Browse files
SleeplessOne1917bagelbits
authored andcommitted
fix(saving throw): Add saving throw proficiencies to class proficiencies (#491)
1 parent 52c62e4 commit f9246fb

2 files changed

Lines changed: 142 additions & 1 deletion

File tree

src/5e-SRD-Classes.json

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@
6666
"index": "martial-weapons",
6767
"name": "Martial Weapons",
6868
"url": "/api/proficiencies/martial-weapons"
69+
},
70+
{
71+
"index": "saving-throw-str",
72+
"name": "Saving Throw: STR",
73+
"url": "/api/proficiencies/saving-throw-str"
74+
},
75+
{
76+
"index": "saving-throw-con",
77+
"name": "Saving Throw: CON",
78+
"url": "/api/proficiencies/saving-throw-con"
6979
}
7080
],
7181
"saving_throws": [
@@ -381,6 +391,16 @@
381391
"index": "hand-crossbows",
382392
"name": "Hand crossbows",
383393
"url": "/api/proficiencies/hand-crossbows"
394+
},
395+
{
396+
"index": "saving-throw-dex",
397+
"name": "Saving Throw: DEX",
398+
"url": "/api/proficiencies/saving-throw-dex"
399+
},
400+
{
401+
"index": "saving-throw-cha",
402+
"name": "Saving Throw: CHA",
403+
"url": "/api/proficiencies/saving-throw-cha"
384404
}
385405
],
386406
"saving_throws": [
@@ -792,6 +812,16 @@
792812
"index": "simple-weapons",
793813
"name": "Simple Weapons",
794814
"url": "/api/proficiencies/simple-weapons"
815+
},
816+
{
817+
"index": "saving-throw-wis",
818+
"name": "Saving Throw: WIS",
819+
"url": "/api/proficiencies/saving-throw-wis"
820+
},
821+
{
822+
"index": "saving-throw-cha",
823+
"name": "Saving Throw: CHA",
824+
"url": "/api/proficiencies/saving-throw-cha"
795825
}
796826
],
797827
"saving_throws": [
@@ -1167,6 +1197,16 @@
11671197
"index": "herbalism-kit",
11681198
"name": "Herbalism Kit",
11691199
"url": "/api/proficiencies/herbalism-kit"
1200+
},
1201+
{
1202+
"index": "saving-throw-int",
1203+
"name": "Saving Throw: INT",
1204+
"url": "/api/proficiencies/saving-throw-int"
1205+
},
1206+
{
1207+
"index": "saving-throw-wis",
1208+
"name": "Saving Throw: WIS",
1209+
"url": "/api/proficiencies/saving-throw-wis"
11701210
}
11711211
],
11721212
"saving_throws": [
@@ -1423,6 +1463,16 @@
14231463
"index": "martial-weapons",
14241464
"name": "Martial Weapons",
14251465
"url": "/api/proficiencies/martial-weapons"
1466+
},
1467+
{
1468+
"index": "saving-throw-str",
1469+
"name": "Saving Throw: STR",
1470+
"url": "/api/proficiencies/saving-throw-str"
1471+
},
1472+
{
1473+
"index": "saving-throw-con",
1474+
"name": "Saving Throw: CON",
1475+
"url": "/api/proficiencies/saving-throw-con"
14261476
}
14271477
],
14281478
"saving_throws": [
@@ -1846,6 +1896,16 @@
18461896
"index": "shortswords",
18471897
"name": "Shortswords",
18481898
"url": "/api/proficiencies/shortswords"
1899+
},
1900+
{
1901+
"index": "saving-throw-dex",
1902+
"name": "Saving Throw: DEX",
1903+
"url": "/api/proficiencies/saving-throw-dex"
1904+
},
1905+
{
1906+
"index": "saving-throw-str",
1907+
"name": "Saving Throw: STR",
1908+
"url": "/api/proficiencies/saving-throw-str"
18491909
}
18501910
],
18511911
"saving_throws": [
@@ -2025,6 +2085,16 @@
20252085
"index": "martial-weapons",
20262086
"name": "Martial Weapons",
20272087
"url": "/api/proficiencies/martial-weapons"
2088+
},
2089+
{
2090+
"index": "saving-throw-wis",
2091+
"name": "Saving Throw: WIS",
2092+
"url": "/api/proficiencies/saving-throw-wis"
2093+
},
2094+
{
2095+
"index": "saving-throw-cha",
2096+
"name": "Saving Throw: CHA",
2097+
"url": "/api/proficiencies/saving-throw-cha"
20282098
}
20292099
],
20302100
"saving_throws": [
@@ -2321,6 +2391,16 @@
23212391
"index": "martial-weapons",
23222392
"name": "Martial Weapons",
23232393
"url": "/api/proficiencies/martial-weapons"
2394+
},
2395+
{
2396+
"index": "saving-throw-dex",
2397+
"name": "Saving Throw: DEX",
2398+
"url": "/api/proficiencies/saving-throw-dex"
2399+
},
2400+
{
2401+
"index": "saving-throw-str",
2402+
"name": "Saving Throw: STR",
2403+
"url": "/api/proficiencies/saving-throw-str"
23242404
}
23252405
],
23262406
"saving_throws": [
@@ -2667,6 +2747,16 @@
26672747
"index": "thieves-tools",
26682748
"name": "Thieves' Tools",
26692749
"url": "/api/proficiencies/thieves-tools"
2750+
},
2751+
{
2752+
"index": "saving-throw-dex",
2753+
"name": "Saving Throw: DEX",
2754+
"url": "/api/proficiencies/saving-throw-dex"
2755+
},
2756+
{
2757+
"index": "saving-throw-int",
2758+
"name": "Saving Throw: INT",
2759+
"url": "/api/proficiencies/saving-throw-int"
26702760
}
26712761
],
26722762
"saving_throws": [
@@ -2952,6 +3042,21 @@
29523042
"index": "slings",
29533043
"name": "Slings",
29543044
"url": "/api/proficiencies/slings"
3045+
},
3046+
{
3047+
"index": "crossbows-light",
3048+
"name": "Crossbows, light",
3049+
"url": "/api/proficiencies/crossbows-light"
3050+
},
3051+
{
3052+
"index": "saving-throw-con",
3053+
"name": "Saving Throw: CON",
3054+
"url": "/api/proficiencies/saving-throw-con"
3055+
},
3056+
{
3057+
"index": "saving-throw-cha",
3058+
"name": "Saving Throw: CHA",
3059+
"url": "/api/proficiencies/saving-throw-cha"
29553060
}
29563061
],
29573062
"saving_throws": [
@@ -3190,6 +3295,16 @@
31903295
"index": "simple-weapons",
31913296
"name": "Simple Weapons",
31923297
"url": "/api/proficiencies/simple-weapons"
3298+
},
3299+
{
3300+
"index": "saving-throw-wis",
3301+
"name": "Saving Throw: WIS",
3302+
"url": "/api/proficiencies/saving-throw-wis"
3303+
},
3304+
{
3305+
"index": "saving-throw-cha",
3306+
"name": "Saving Throw: CHA",
3307+
"url": "/api/proficiencies/saving-throw-cha"
31933308
}
31943309
],
31953310
"saving_throws": [
@@ -3464,6 +3579,21 @@
34643579
"index": "slings",
34653580
"name": "Slings",
34663581
"url": "/api/proficiencies/slings"
3582+
},
3583+
{
3584+
"index": "crossbows-light",
3585+
"name": "Crossbows, light",
3586+
"url": "/api/proficiencies/crossbows-light"
3587+
},
3588+
{
3589+
"index": "saving-throw-int",
3590+
"name": "Saving Throw: INT",
3591+
"url": "/api/proficiencies/saving-throw-int"
3592+
},
3593+
{
3594+
"index": "saving-throw-wis",
3595+
"name": "Saving Throw: WIS",
3596+
"url": "/api/proficiencies/saving-throw-wis"
34673597
}
34683598
],
34693599
"saving_throws": [

src/5e-SRD-Proficiencies.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,18 @@
620620
"index": "crossbows-light",
621621
"type": "Weapons",
622622
"name": "Crossbows, light",
623-
"classes": [],
623+
"classes": [
624+
{
625+
"index": "sorcerer",
626+
"name": "Sorcerer",
627+
"url": "/api/classes/sorcerer"
628+
},
629+
{
630+
"index": "wizard",
631+
"name": "Wizard",
632+
"url": "/api/classes/wizard"
633+
}
634+
],
624635
"races": [],
625636
"url": "/api/proficiencies/crossbows-light",
626637
"reference": {

0 commit comments

Comments
 (0)