-
Notifications
You must be signed in to change notification settings - Fork 1
/
status_condition.html
191 lines (181 loc) · 7.62 KB
/
status_condition.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
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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Pokemon D&D Resources - Damage Calculator</title>
<meta name="description" content="">
<meta name="author" content="">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="topSection">
<h1>Status Condition Calculator</h1>
<div class="mainTools">
<div class="toolItem">
<a href="index.html">Pokemon Generator</a>
</div>
<div class="toolItem">
<a href="encounter.html">Encounter Generator</a>
</div>
<div class="toolItem">
<a href="items.html">Item Generator</a>
</div>
<div class="toolItem">
<a href="dmg.html">Damage Calculator</a>
</div>
</div>
<hr />
<div class="secondaryTools">
<div class="toll Item">
<a href="dmg.html">On Hit Damage Calculator</a>
</div>
<div class="toolItem">
<a href="dmg2.html">Dual Type Damage Calculator</a>
</div>
<div class="toolItem">
<a href="status_condition.html">Status Condition Calculator</a>
</div>
<div class="toolItem">
<a href="dice.html">Dice Roller</a>
</div>
</div>
</div>
</div>
<div class="mainSection">
<div class="leftSection">
<div class="inputSection">
<div class="initialInput">
<h3>Chance of Inflicting:</h3>
<select id="statusChance">
<option value="10">
10%
</option>
<option value="20">
20%
</option>
<option value="30">
30%
</option>
<option value="40">
40%
</option>
<option value="50">
50%
</option>
<option value="60">
60%
</option>
<option value="70">
70%
</option>
<option value="80">
80%
</option>
<option value="90">
90%
</option>
<option value="100">
100%
</option>
</select>
<br />
<h3>Status Condition</h3>
<input type="radio" name="statusType" value="poison">Poison</input>
<br>
<input type="radio" name="statusType" value="badPoison">Bad Poison</input>
<br>
<input type="radio" name="statusType" value="paral">Paralysis</input>
<br>
<input type="radio" name="statusType" value="sleep">Sleep</input>
<br>
<input type="radio" name="statusType" value="freeze">Frozen</input>
<br>
<input type="radio" name="statusType" value="burn">Burn</input>
<br>
<input type="radio" name="statusType" value="infat">Infatuation</input>
<br>
<input type="radio" name="statusType" value="confusion">Confusion</input>
<br>
<!-- <input type="radio" name="statusType" value="flinch" onclick="showFlinch()">Flinch</input> -->
<br />
<button id="statusCalc"onclick="statusCalc()">Calculate!</button>
<div class="hide" id="flinchStatus">
<h3>Flinch Item:</h3>
<select id="flinchItem">
<option value="None">
-- None --
</option>
<option value="King's Rock">
King's Rock
</option>
<option value="Razor Fang">
Razor Fang
</option>
</select>
<br />
<button onclick="flinchChance()">Calculate!</button>
</div>
</div>
<div class="secondaryInput">
</div>
</div>
</div>
<div class="rightSection">
<div class="statusSection hide" id="poisonStatus">
<h4>Poisoned! Use the below to calculate poison damage!</h4>
<br />
<input id="poiMaxHP" placeholder="Max HP" />
<input id="poiCurrHP" placeholder="Current HP" />
<button onclick="poiDmg()">Next Turn</button>
<h5>Turn Count: </h5>
<h5>Current HP: </h5>
</div>
<div class="statusSection hide" id="badPoisonStatus">
<h4>Badly Poisoned! Use the below to calculate bad poison damage!</h4>
<br />
<input id="badPoiMaxHP" placeholder="Max HP" />
<input id="badPoiCurrHP" placeholder="Current HP" />
<button onclick="badPoiTurn()">Next Turn</button>
<h5>Turn Count: </h5>
<h5>Current HP: </h5>
</div>
<div class="statusSection hide" id="paralysisStatus">
<h4>Paralysed! Use the button whenever you attack!</h4>
<button onclick="paralTurn()">Attack!</button>
</div>
<div class="statusSection hide" id="sleepStatus">
<h4>Fell Asleep! Use the button whenever you attack!</h4>
<button onclick="sleepTurn()">Next Turn</button>
<h5>Turn Count: </h5>
</div>
<div class="statusSection hide" id="freezeStatus">
<h4>Frozen! Use the button whenever you attack!</h4>
<button onclick="freezeTurn()">Next Turn</button>
<h5>Turn Count: </h5>
</div>
<div class="statusSection hide" id="burnStatus">
<h4>Burned! Use the below to calculate burn damage!</h4>
<input id="burnMaxHP" placeholder="Max HP" />
<input id="burnCurrHP" placeholder="Current HP" />
<button onclick="burnTurn()">Next Turn</button>
<h5>Turn Count: </h5>
<h5>Current HP: </h5>
</div>
<div class="statusSection hide" id="infatStatus">
<h4>Infatuated! Use the Button whenever you attack!</h4>
<button onclick="infatTurn()">Next Turn</button>
</div>
<div class="statusSection hide" id="confStatus">
<h4>Confused! Use the below whenever you attack!</h4>
<input id="confCurrHP" placeholder="Current HP"/>
<button onclick="confusionTurn()">Next Turn</button>
<h5>Turn Count: </h5>
<h5>Current HP: </h5>
</div>
</div>
</div>
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="js/data.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>