-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpathfinder.html
149 lines (138 loc) · 7.05 KB
/
pathfinder.html
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
<!doctype html>
<html>
<head>
<title>RMtools // Pathfinder RPG</title>
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'>
<meta name='source' content='http://mkahvi.github.io/pathfinder.html' />
<meta name='description' content='Random Pathfinder RPG math tools' />
<meta name='keywords' content='Pathfinder, Pathfinder RPG, travel' />
<link rel='stylesheet' href='style.css' />
</head>
<body>
<div id='top' class='header'>
<p><span class='huge'>Pathfinder 1e RPG tools</span>
<br>Designed to be fully functional without internet access as long as the page has been loaded or saved to disk properly.<br>
If you give it malformed input, you might put the page into infinite loop.
</p>
</div>
<div class='content'>
<div class='chunk padding repel'>
<p><b><a id='travel' href='#travel'>Travel</a> optimizer</b> <sup>[<a href='#top'>top</a>]</sup>
<p>BUG: THIS CALCULATES THINGS WRONG CURRENTLY
<form id='travelform' method='post' action='#' onsubmit='return false;'>
<p>Days: <input type='text' name='days' id='tdays' width='2' size='2' maxlength='3' />
Hours: <input type='text' name='hours' id='thours' width='2' size='2' maxlength='2' />
HP: <input type='text' name='hp' id='thp' width='2' size='2' maxlength='3' />
HD: <input type='text' name='hd' id='thd' width='2' size='2' maxlength='2' />
<!-- Fast Healing: <input type='checkbox' name='fastheal' id='theal' /> -->
<input type='submit' value='Calculate' onclick='travelparse()' />
<div class='quote repel padding' style='visibility: hidden;' id='tresult'></div>
</form>
</div>
<div class='chunk padding repel'>
<p><b><a id='craft' href='#craft'>Craft</a> calculator</b> <sup>[<a href='#top'>top</a>]</sup>
<form id='craftform' method='post' action='#' onsubmit='return false;'>
<p>Craft check: <input type='text' name='check' size='3' maxlength='3'>
<input type='submit' value='Calculate' onclick='craftparse()'>
<p>Core crafting<br>
Cost (GP): <input type='text' name='cost' size='4' maxlength='8'>
DC: <input type='text' name='dc' size='3' maxlength='3'>
Limit: <input type='text' name='limit' size='4' maxlength='4'>
<p>
Making Craft Work (alternative rules)<br>
Complexity:
<select name='complexity'>
<option value='10'>Very complex</option>
<option value='8'>Complex</option>
<option value='4' selected>Moderate</option>
<option value='2'>Simple</option>
<option value='0'>Very simple</option>
</select>
Extra DC: <input type='text' name='gmdc' size='3' maxlength='3'>
Material:
<select name='material'>
<option value='0' selected>Ordinary</option>
<option value='2'>Darkwood</option>
<option value='2'>Alchemical silver</option>
<option value='2'>Cold iron</option>
<option value='4'>Mithral</option>
<option value='4'>Dragonhide</option>
<option value='6'>Adamantine</option>
</select>
Masterwork: <input type='checkbox' name='mw'>
<div class='quote repel padding' style='visibility: hidden;' id='cresult'></div>
<div class='repel padding'>
<p><b>Complexity:</b> (GM decides)<br>
Very complex – Complicated or intricate objects – e.g. clockworks, antitoxins, sunrods, vehicles, etc.<br>
Complex – Moving parts or decorative bits – e.g. crossbows, guns, most types of armor, locks, etc.<br>
Moderate – Diverse materials – e.g. most weapons, shields, simple locks, hide armor, etc.<br>
Simple – One material with specialized shape – e.g. clothing, backpack, simple weapons, etc.<br>
Very simple – One simple piece – e.g. staves, crowbars, etc.
<p>8 hour workday assumed.
</div>
</form>
</div>
<div class='chunk padding repel'>
<p><b><a id='dpr' href='#dpr'>Damage</a> per round</b> <sup>[<a href='#top'>top</a>]</sup>
<form id='dprform' method='post' action='#' onsubmit='return false;'>
<p>Base Attack: <input type='text' name='bab' id='tbab' width='3' size='3' maxlength='3' />
– Bonus: <input type='text' name='atkbonus' id='tatkbonus' width='3' size='3' maxlength='6' />
– Extra Attacks: <input type='text' name='xatk' id='txatk' width='2' size='2' maxlength='2' title="At full BAB" />
<br/>
Critical threat: <input type='text' name='criticalthreat' id='tthreat' width='3' size='3' maxlength='5' />
– Multiplier: <input type='text' name='criticalmult' id='tmult' width='3' size='3' maxlength='5' /><br/>
Base damage: <input type='text' name='damage' id='tdmg' width='4' size='4' maxlength='8' />
– Bonus: <input type='text' name='dmgbonus' id='tdmgbonus' width='4' size='4' maxlength='8' />
– Precision: <input type='text' name='precisiondmg' id='tprecision' width='4' size='4' maxlength='8' title="Not multiplied on crit."/><br/>
vs Armor: <input type='text' name='armor' id='tarmor' width='4' size='4' maxlength='6' />
vs DR: <input type='text' name='dr' id='tdr' width='4' size='4' maxlength='6' />
<input type='submit' value='Calculate' onclick='dprparse()' />
<div class='quote repel padding' style='visibility: hidden;' id='dresult'></div>
</form>
</div>
<div class='chunk padding repel'>
<p><b><a id='arithmancy' href='#arithmancy'>Arithmancy</a></b> (Occult Mysteries; PZO9269) <sup>[<a href='#top'>top</a>]</sup>
<form id='arithmancyform' method='post' action='#' onsubmit='return false'>
Level:
<select name='level'>
<option value='1' selected>1</option>
<option value='2'>2</option>
<option value='3'>3</option>
<option value='4'>4</option>
<option value='5'>5</option>
<option value='6'>6</option>
<option value='7'>7</option>
<option value='8'>8</option>
<option value='9'>9</option>
</select>
Name: <input type='name' name='name' />
<input type='submit' value='Calculate' onclick='arithmancy()' />
<div class='quote repel padding' style='visibility: hidden;' id='aresult'></div>
</form>
</div>
<div class='chunk padding repel'>
<p><b><a id='passiveperception' href='#passiveperception'>Passive Perception</a></b> (Custom) <sup>[<a href='#top'>top</a>]</sup>
<form id='perceptionform' method='post' action='#' onsubmit='return false;'>
Level: <input type='text' name='level' width='4' size='4' />
Ability (Wis): <input type='text' name='ability' width='4' size='4' />
Ranks: <input type='text' name='ranks' width='4' size='4' />
Class skill: <input type='checkbox' name='class' />
Bonuses: <input type='text' name='bonus' width='4' size='4' />
</form>
8 + Ability + (3 if Class Skill and at least 1 rank) + (1 if ranks > 0) + (ranks/5) + (level/4)
<br>One can assume this to range from about 8 to 18 with average around 10 to 13 for level <15 games.
</p>
<p>
For comparison D&D 5e passive perception is as follows:
<br>10 + Wisdom Modifier + Wisdom Proficiency Bonus + Bonuses
<p>One can assume this to range from 7 to 18 with average of about 10 to 14
</div>
</div>
<script src='pathfinder.js' async='false' defer='false'>
setup_pathfinder();
</script>
<div class='footer repel'>
<p class='tiny'>created by M.A., 2018–2019 (last update: 2019-03-31)
</div>
</body>
</html>