-
Notifications
You must be signed in to change notification settings - Fork 1
/
NewRotation.html
332 lines (298 loc) · 15.4 KB
/
NewRotation.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
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
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css">
<link rel="stylesheet" href="style/bootstrap.min.css">
<script src="js/wowhead.js"></script>
<link rel="stylesheet" href="style/screen.css">
<script src="js/script.js"></script>
<script>var whTooltips = {colorLinks: true, iconizeLinks: true, renameLinks: true};</script>
<script src="//wow.zamimg.com/widgets/power.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
</head>
<body>
<nav class="navbar navbar-toggleable-md navbar-light bg-faded">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="index.html">Home</a>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Subtlety
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="guide_basics.html">Basics</a></li>
<li><a class="dropdown-item" href="guide_equipment.html">Equipment</a></li>
<li><a class="dropdown-item" href="NewRotation.html">Dynamic Gamplay</a></li>
<li><a class="dropdown-item" href="guide_dfa.html">Gameplay - DfA</a></li>
<li><a class="dropdown-item" href="guide_non_dfa.html">Gameplay - Non DfA</a></li>
<li><a class="dropdown-item" href="guide_interface.html">Interface</a></li>
<!--<li role="separator" class="divider"></li>-->
<!--<li class="dropdown-header">In-Depth mecanics</li>-->
<!--<li><a class="dropdown-item disabled crossed" href="#">Extra legendary insite</a> </li>-->
<!--<li><a class="dropdown-item disabled crossed" href="#">Shadow Technique</a></li>-->
</ul>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#">About</a>
</li>
</ul>
</div>
</nav>
<div class="main_content2">
<div class="row">
<div class="col-md-12">
<h1 class="display-1 text-primary">Subtlety Guide</h1>
<h1 class="text-primary">Gameplay</h1>
</div>
</div>
<div class="">
<p class="lead">
This part of the guide covers the gameplay aspect of the the specification. <br>
This is displayed dynamicly, below this there is Talent / Legendary who impact the rotation, select the
ones you have and the right information in function of you're case will be displayed.
</p>
</div>
<div class="row">
<!--============= Talents selection==========-->
<div class="col-md-8 talentcontainer">
<h2 class="title2">Taltents :</h2>
<div class="row">
<div class="col-md-12">
<div class="col-md-12">
<table class="table">
<tbody class="talent_section">
<tr>
<td class="rowparent1">15</td>
<td class="rowt row-1" id="MasterofSubtlety"><a href="#" rel="spell=31223"> [Master of Subtlety]</a></td>
<td class="rowt row-1" id="Weaponmaster"><a href="#" rel="spell=193537"> [Weaponmaster]</a></td>
<td class="rowt row-1" id="Gloomblade"><a href="#" rel="spell=200758"> [Gloomblade]</a></td>
</tr>
<tr>
<td class="rowparent2">30</td>
<td class="rowt row-2" id="Nightstalker"><a href="#" rel="spell=14062"> [Nightstalker]</a></td>
<td class="rowt row-2" id="Subterfuge"><a href="#" rel="spell=108208"> [Subterfuge]</a></td>
<td class="rowt row-2" id="ShadowFocus"><a href="#" rel="spell=108209">[Shadow Focus]</a></td>
</tr>
<tr>
<td class="rowparent3">45</td>
<td class="rowt row-3" id="DeeperStratagem"><a href="#" rel="spell=193531"> [Deeper Stratagem]</a></td>
<td class="rowt row-3" id="Anticipation"><a href="#" rel="spell=114015"> [Anticipation]</a></td>
<td class="rowt row-3" id="Vigor"><a href="#" rel="spell=14983">[Vigor]</a></td>
</tr>
<tr>
<td class="rowparent4">60</td>
<td class="rowt row-4" id="SoothingDarkness"><a href="#" rel="spell=200759"> [Soothing Darkness]</a></td>
<td class="rowt row-4" id="Elusiveness"><a href="#" rel="spell=79008"> [Elusiveness]</a></td>
<td class="rowt row-4" id="CheatDeath"><a href="#" rel="spell=31230"> [Cheat Death]</a></td>
</tr>
<tr>
<td class="rowparent5">75</td>
<td class="rowt row-5" id="StrikefromtheShadows"><a href="#" rel="spell=196951"> [Strike from the Shadows]</a></td>
<td class="rowt row-5" id="PreyontheWeak"><a href="#" rel="spell=131511"> [Prey on the Weak]</a></td>
<td class="rowt row-5" id="TangledShadow"><a href="#" rel="spell=200778"> [Tangled Shadow]</a></td>
</tr>
<tr>
<td class="rowparent6">90</td>
<td class="rowt row-6" id="DarkShadow"><a href="#" rel="spell=245687"> [Dark Shadow]</a></td>
<td class="rowt row-6" id="Alacrity"><a href="#" rel="spell=193539"> [Alacrity]</a></td>
<td class="rowt row-6" id="EnvelopingShadows"><a href="#" rel="spell=238104"> [Enveloping Shadows]</a></td>
</tr>
<tr>
<td class="rowparent7">100</td>
<td class="rowt row-7" id="MasterofShadows"><a href="#" rel="spell=196976"> [Master of Shadows]</a></td>
<td class="rowt row-7" id="MarkedforDeath"><a href="#" rel="spell=137619"> [Marked for Death]</a></td>
<td class="rowt row-7" id="DeathfromAbove"><a href="#" rel="spell=152150"> [Death from Above]</a></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!--========== Legendaries selection ========-->
<div class="col-md-4 select-box">
<h2 class="title2">Legendary :</h2>
<div class="form-group">
<div>
<label class="checkbox-inline label-profil">
<input type="checkbox" class="input-profil" name="optradio" id="gloves">
<a href="#" rel="item=151818">[The First of the Dead]</a>
</label>
<br>
<label class="checkbox-inline label-profil">
<input type="checkbox" class="input-profil" name="optradio" id="wrist">
<a href="#" rel="item=137100">[Denial of the Half-Giants]</a> <br>
</label>
<br>
<label class="checkbox-inline label-profil">
<input type="checkbox" class="input-profil" name="optradio" id="shoulders">
<a href="#" rel="item=144236">[Mantle of the Master Assassin]</a>
</label>
<br>
<label class="checkbox-inline label-profil">
<input type="checkbox" class="input-profil" name="optradio" id="vigorring">
<a href="#" rel="item=150936">[Soul of the Shadowblade]</a>
</label>
<br>
<label class="checkbox-inline label-profil">
<input type="checkbox" class="input-profil" name="optradio" id="boots">
<a href="#" rel="item=137032">[Shadow Satyr's Walk]</a>
</label>
<br>
<label class="checkbox-inline label-profil">
<input type="checkbox" class="input-profil" name="optradio" id="cloak">
<a href="#" rel="item=137021">[The Dreadlord's Deceit]</a>
</label>
<br>
<label class="checkbox-inline label-profil">
<input type="checkbox" class="input-profil" name="optradio" id="belt">
<a href="#" rel="item=133976">[Cinidaria, the Symbiote]</a>
</label>
<br>
<label class="checkbox-inline label-profil" for="insigna">
<input type="checkbox" class="input-profil" name="optradio" id="insigna">
<a href="#" rel="item=137049">[Insignia of Ravenholdt]</a>
</label>
</div>
</div>
</div>
</div>
<h1>1- Legendary</h1>
<div class="legendary_container">
<p class="legendaries legendaries_visible">Select two legendaries !</p>
<div class="legendaries shoulders">
<p>This is for shoulders
<br>
<br>
aze
</p>
</div>
<div class="legendaries gloves">
<p>This is for GLOVES
<br>
<br>
aze
</p>
</div>
<div class="legendaries wrist">
<p>This is for Wrist
<br>
<br>
aze
</p>
</div>
<div class="legendaries cloak">
<p>This is for Cloak
<br>
<br>
aze
</p>
</div>
<div class="legendaries insigna">
<p>This is for insigna
<br>
<br>
aze
</p>
</div>
<div class="legendaries boots">
<p>This is for Boots
<br>
<br>
aze
</p>
</div>
<div class="legendaries vigorring">
<p>This is for Vigor Ring
<br>
<br>
aze
</p>
</div>
<div class="legendaries belt">
<p>This is for Belt
<br>
<br>
aze
</p>
</div>
</div>
<h2>2- Opener</h2>
<h2 >3- Gameplay</h2>
</div>
</body>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js"></script>
<script src="https://pingendo.com/assets/bootstrap/bootstrap-4.0.0-alpha.6.min.js"></script>
<script >
var alllegendary = document.querySelectorAll(".input-profil");
var legendary_info = document.querySelectorAll(".legendaries");
var display= [];
for (let i=0 ; i<alllegendary.length ; i++){
alllegendary[i].addEventListener('click', function () {
if (alllegendary[i].checked === true && display.length < 2 ){
display.push(alllegendary[i].id);
} else if (alllegendary[i].checked === false){
var x = display.indexOf(alllegendary[i].id);
if(x != -1) {
display.splice(x, 1);
}
} else {
alllegendary[i].checked = false
}
RemoveAll();
DisplayLegendary(display);
console.log(display);
});
}
function DisplayLegendary(display) {
for( let i = 0; i<legendary_info.length; i++){
for (let f=0; f<display.length; f++){
if (legendary_info[i].classList.contains(display[f])){
legendary_info[i].classList.add("legendaries_visible")
}
}
}
}
function RemoveAll() {
for( let i = 0; i<legendary_info.length; i++){
legendary_info[i].classList.remove("legendaries_visible")
}
}
//============Talents============
var alltalents = document.querySelectorAll(".rowt");
var alltalent_container = [];
var newarray =[];
for (let i=0; i<alltalents.length; i++){
alltalents[i].addEventListener('click', function () {
var parent = this.parentNode;
var childs= parent.children;
for (let j=0; j<childs.length; j++){
if (childs[j].classList.contains("selected")){
childs[j].classList.remove('selected');
alltalents[i].classList.add('selected');
} else {
this.classList.add('selected');
}
}
SelectedOnes()
})
}
function SelectedOnes() {
alltalent_container = [];
for (let i=0; i<alltalents.length; i++) {
if(alltalents[i].classList.contains('selected') ){
alltalent_container.push(alltalents[i].id);
if (alltalent_container.length > 6){
console.log(alltalent_container)
}
}
}
}
</script>
</html>