forked from touchandswipe/bravefrontier
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmaxwellcounter.html
More file actions
355 lines (323 loc) · 16.4 KB
/
maxwellcounter.html
File metadata and controls
355 lines (323 loc) · 16.4 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
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
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Brave Frontier - Maxwell Trial.3 Assistant - A community effort by Brave Frontier PROs" />
<meta name="author" content="Sam GreenPuck" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Brave Frontier - Maxwell Trial.3 Assistant - by Brave Frontier PROs</title>
<link rel="shortcut icon" href="https://googledrive.com/host/0B4hJr8BXxvFZZVVOZWswdnlnYTg/iconavatar128.png" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<!-- Custom CSS -->
<style type="text/css">
.clear {clear:both;}
.bd {
font-weight:bold;
background:#EEEEEE;
text-transform:uppercase;
}
.upper {
text-transform:uppercase;
}
.equal {
display: -webkit-flex;
display: flex;
flex:1 1 auto;
}
</style>
<!-- START JSON Code-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script type="text/javascript">
if (navigator.userAgent.match(/Android/i)
|| navigator.userAgent.match(/webOS/i)
|| navigator.userAgent.match(/iPhone/i)
|| navigator.userAgent.match(/iPad/i)
|| navigator.userAgent.match(/iPod/i)
|| navigator.userAgent.match(/BlackBerry/i)
|| navigator.userAgent.match(/Windows Phone/i))
document.write('<meta name="viewport" content="width=500, user-scalable=yes" />');
</script>
</head>
<!-- MAIN BODY CONTENT -->
<body>
<!-- Static navbar -->
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://bravefrontierpros.tumblr.com/"><img src="https://googledrive.com/host/0B4hJr8BXxvFZZVVOZWswdnlnYTg/iconavatar64.png" class="img-circle" style="max-width:64px; margin-top: -7px;" width="32"/> Brave Frontier PROs</a>
</div>
<!-- Collapse Nav-->
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="http://bravefrontierpros.tumblr.com/chatroomunified"><i class="fa fa-comments-o"></i> Chat</a></li>
<li><a href="unitsguide.html"><i class="fa fa-female"></i><i class="fa fa-male"></i> Units DB</a></li>
<li><a href="fusionxpcalculator.html"><i class="fa fa-cogs"></i> Fusion XP Calc</a></li>
<li><a href="http://bravefrontierpros.tumblr.com/mostwanted"><i class="fa fa-info"></i> Most wanted</a></li>
<li><a href="http://bravefrontierpros.tumblr.com/youtubechannel"><i class="fa fa-youtube"></i> YouTube</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<!-- Main Body Space-->
<div class="container-fluid">
<div style="min-height:55px;"></div>
<!-- Google Manual labnol.org responsive ads-->
<div class="text-center" style="margin-bottom:5px;">
<div id="google-ads-1"></div>
<script type="text/javascript">
/* Calculate the width of available ad space */
ad = document.getElementById('google-ads-1');
if (ad.getBoundingClientRect().width) {
adWidth = ad.getBoundingClientRect().width; // for modern browsers
} else {
adWidth = ad.offsetWidth; // for old IE
}
/* Replace ca-pub-XXX with your AdSense Publisher ID */
google_ad_client = "ca-pub-2145833818900192";
/* Replace 1234567890 with the AdSense Ad Slot ID */
google_ad_slot = "1402210464";
/* Do not change anything after this line */
if ( adWidth >= 728 )
google_ad_size = ["728", "90"]; /* Leaderboard 728x90 */
else if ( adWidth >= 468 )
google_ad_size = ["468", "60"]; /* Banner (468 x 60) */
else if ( adWidth >= 336 )
google_ad_size = ["336", "280"]; /* Large Rectangle (336 x 280) */
else if ( adWidth >= 300 )
google_ad_size = ["300", "250"]; /* Medium Rectangle (300 x 250) */
else if ( adWidth >= 250 )
google_ad_size = ["250", "250"]; /* Square (250 x 250) */
else if ( adWidth >= 200 )
google_ad_size = ["200", "200"]; /* Small Square (200 x 200) */
else if ( adWidth >= 180 )
google_ad_size = ["180", "150"]; /* Small Rectangle (180 x 150) */
else
google_ad_size = ["125", "125"]; /* Button (125 x 125) */
document.write (
'<ins class="adsbygoogle" style="display:inline-block;width:'
+ google_ad_size[0] + 'px;height:'
+ google_ad_size[1] + 'px" data-ad-client="'
+ google_ad_client + '" data-ad-slot="'
+ google_ad_slot + '"></ins>'
);
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- main stack code goes here -->
<h3><img src="https://googledrive.com/host/0B4hJr8BXxvFZZVVOZWswdnlnYTg/icon591.png" width="40"> Maxwell Trial No.3 Assistant / Counter V2 - Enhanced with tips.<br/>
<small class="text-danger"><i class="fa fa-exclamation-triangle"></i> Start counting from 1st turn with Juggernaut. Click <b>NEXT TURN</b> after each cycle of your turn + enemy's turn..</small><br/>
<small><i class="fa fa-wrench text-primary"></i> Use the NEW <a target="_blank" href="hpmarker">HP Marker Tool</a> if you need indicators on Enemy HP.</small>
</h3>
<!-- Other Tips -->
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<b>Juggernaut (Thunder)</b> - Mitigate DMG every 4 turns with Oulu or Darvanshel. Water units on guard.<br/>
<b>Abaddon (Dark)</b> - Mitigate DMG and ensure high/full HP approaching 50% and 30% health. Esp @ 30%, mitigate and defend all except for 1 or 2 units to bring him < 30% for best survival. Heal up in final turn killing Abaddon, and use mitigation if needed.<br/>
<b>Maxwell (Light)</b> - Mitigate DMG and ensure high/full HP approaching 20% health where Maxwell will use Endless. Defend all but 1-2 dmg dealer > 7.5k HP.<br/>
<b>Tips about Ailments</b> - Make sure to check weakness ailments on your units when fighting Maxwell. It is the reason why units get killed off with high HP. Remove Ailments and heal up is better than going through a tough round (Sacred Song or Destiny) with ailments.<br/>
<b><i class="fa fa-bomb text-success"></i></b> - Now indicates the optimal turn you should be killing Maxwell to break the Sacred Song Loop.
</div>
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-6">
<div id="counterSpace"></div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6">
<div class="row" style="margin-bottom:10px;">
<div class="col-xs-4 col-sm-4 col-md-4">
<button type="button" class="btn btn-default btn-lg btn-block" id="prevBtn"><small><i class="fa fa-arrow-left"></i> Prev Turn</small></button>
</div>
<div class="col-xs-4 col-sm-4 col-md-4"></div>
<div class="col-xs-4 col-sm-4 col-md-4">
<button type="button" class="btn btn-success btn-lg btn-block" id="nextBtn"><small>Next Turn <i class="fa fa-arrow-right"></i></small></button>
</div>
</div>
<div class="panel panel-warning">
<div class="panel-heading">Player guide</div>
<div class="panel-body" id="playerText"></div>
</div>
<div class="panel panel-danger">
<div class="panel-heading">What will Maxwell do?</div>
<div class="panel-body" id="maxwellText"></div>
</div>
<div>
<b>What does SS T1, SS T2, R mean?</b>
<ul>
<li><b>SS T1</b>: Sacred Song skill Turn 1</li>
<li><b>SS T2</b>: Sacred Song skill Turn 2</li>
<li><b>R</b>: Rune skill </li>
</ul>
</div>
</div>
</div>
<!-- main stack code ends -->
<!-- Google Manual labnol.org responsive ads-->
<div class="text-center" style="margin-bottom:5px;">
<div id="google-ads-2"></div>
<script type="text/javascript">
/* Calculate the width of available ad space */
ad = document.getElementById('google-ads-2');
if (ad.getBoundingClientRect().width) {
adWidth = ad.getBoundingClientRect().width; // for modern browsers
} else {
adWidth = ad.offsetWidth; // for old IE
}
/* Replace ca-pub-XXX with your AdSense Publisher ID */
google_ad_client = "ca-pub-2145833818900192";
/* Replace 1234567890 with the AdSense Ad Slot ID */
google_ad_slot = "1402210464";
/* Do not change anything after this line */
if ( adWidth >= 728 )
google_ad_size = ["728", "90"]; /* Leaderboard 728x90 */
else if ( adWidth >= 468 )
google_ad_size = ["468", "60"]; /* Banner (468 x 60) */
else if ( adWidth >= 336 )
google_ad_size = ["336", "280"]; /* Large Rectangle (336 x 280) */
else if ( adWidth >= 300 )
google_ad_size = ["300", "250"]; /* Medium Rectangle (300 x 250) */
else if ( adWidth >= 250 )
google_ad_size = ["250", "250"]; /* Square (250 x 250) */
else if ( adWidth >= 200 )
google_ad_size = ["200", "200"]; /* Small Square (200 x 200) */
else if ( adWidth >= 180 )
google_ad_size = ["180", "150"]; /* Small Rectangle (180 x 150) */
else
google_ad_size = ["125", "125"]; /* Button (125 x 125) */
document.write (
'<ins class="adsbygoogle" style="display:inline-block;width:'
+ google_ad_size[0] + 'px;height:'
+ google_ad_size[1] + 'px" data-ad-client="'
+ google_ad_client + '" data-ad-slot="'
+ google_ad_slot + '"></ins>'
);
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<!-- disqus discussion -->
<div id="disqus_thread" style="width:100%;margin:0 auto;">
<script type="text/javascript">
var disqus_shortname = 'bravefrontierpros';
var disqus_url = 'http://touchandswipe.github.io/bravefrontier/maxwellcounter.html';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
</div> <!-- /container -->
<script type="text/javascript">
turnEffect=[
{"ss":2,"des":0},
{"ss":0,"des":0},
{"ss":3,"des":0},
{"ss":1,"des":0},
{"ss":2,"des":1},
{"ss":0,"des":0},
{"ss":3,"des":0},
{"ss":1,"des":0},
{"ss":2,"des":0},
{"ss":0,"des":1},
{"ss":3,"des":0},
{"ss":1,"des":0},
{"ss":2,"des":0},
{"ss":3,"des":0},
{"ss":0,"des":1},
{"ss":1,"des":0},
{"ss":2,"des":0},
{"ss":0,"des":0},
{"ss":3,"des":0},
{"ss":1,"des":1}
];
currentStep=0;
function genSteps() {
var bHTML="";
for (i in turnEffect) {
if (i % 4==0)
bHTML+='<div class="row">';
bHTML+='<div class="col-xs-3 col-sm-3 col-md-3"><div class="panel panel-default turnCount"><div class="panel-heading"><small><b>Turn '+(parseInt(i)+1)+'</b></small></div>';
bSS=(turnEffect[i].ss==0) ? " " : (turnEffect[i].ss==1) ? "R+SS T1" : (turnEffect[i].ss==3) ? '<i class="fa fa-exclamation-circle text-warning"></i>' : '<i class="fa fa-bomb text-success"></i> SS T2';
bDES=(turnEffect[i].des==0) ? " " : "Destiny";
bConnect=(bDES!=" " && bSS!=" ") ? ", " : "";
bHTML+='<div class="panel-body equal"><small>'+bSS+bConnect+bDES+'</small></div></div></div>';
if (i % 4==3)
bHTML+='</div>';
}
$('#counterSpace').html(bHTML);
}
function updateGuide() {
pText="";
mText="";
if (turnEffect[currentStep].ss==1) {
mText+="<p>Maxwell will cast Sacred Song (3Turns ATK Buff, 2Turns Ignore DEF, Angel Idol) and Rune(Single TGT Light ATK, Removes all your buffs).</p>";
pText+="<p>Activate DMG Mitigation (e.g. Oulu / Darvanshel). Guard all others units, especially dark units.</p>";
}
if (turnEffect[currentStep].ss==2) {
mText+="<p>Maxwell's Sacred Song Turn 2 (Ignore DEF in effect).</p>";
pText+='<p>Activate DMG Mitigation (e.g. Oulu / Darvanshel) if you can and attack with units > 7.5k HP. Guard all others units, especially dark units. If you cannot mitigate, clear ailments and heal if needed and Guard everyone.</p><p><i class="fa fa-bomb text-success"></i> Kill Maxwell in this turn, when her HP is low so that she revives and giving you 3 turns to finish her off without Sacred Song\'s Angel Idol Skill.</p>';
}
if (turnEffect[currentStep].ss==3) {
mText+="<p>Maxwell will user her regular and random skills. Nothing special.</p>";
pText+='<p><b><i class="fa fa-exclamation-circle"></i>TIP</b> For Lilly Matah users, use your BB this turn so that your support units (Oulu / Darvanshel / Altri / Healers) will have greater success in filling up their BB going through Sacred Song cycles or Destiny next turn onwards.</p>';
}
if (turnEffect[currentStep].des==1) {
mText+="<p>Maxwell will cast Destiny (Single TGT Fixed 14k DMG).</p>";
if (pText=="")
pText+="<p>Activate DMG Mitigation (e.g. Oulu / Darvanshel). Attack with units > 7.5k HP. Guard all others units, especially dark units.</p>";
}
if (mText=="") {
mText+="<p>Random skills / attacks. Watch out when Maxwell's HP is at 70%, 30% and 20%.</p>";
pText+="<p>Attack with all units. Heal where necessary. Optional DMG Mitigation (e.g. Oulu / Darvanshel). Use when Maxwell is pushed through 70%, 30% and especially 20% HP.</p>";
}
$("#playerText").html(pText);
$("#maxwellText").html(mText);
}
$(document).ready( function(e) {
/*Init*/
genSteps();
$( ".turnCount" ).eq(currentStep).removeClass("panel-default");
$( ".turnCount" ).eq(currentStep).addClass("panel-primary");
updateGuide()
$(document).on("click", '#nextBtn', function(e){
$( ".turnCount" ).eq(currentStep).removeClass("panel-primary").addClass("panel-default");
currentStep+=1;
if (currentStep==20)
currentStep=0;
$( ".turnCount" ).eq(currentStep).removeClass("panel-default").addClass("panel-primary");
updateGuide();
})
$(document).on("click", '#prevBtn', function(e){
$( ".turnCount" ).eq(currentStep).removeClass("panel-primary").addClass("panel-default");
currentStep-=1;
if (currentStep==-1)
currentStep=19;
$( ".turnCount" ).eq(currentStep).removeClass("panel-default").addClass("panel-primary");
updateGuide();
})
}) /*End DocReady*/
</script>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-48617906-1', 'auto');
ga('send', 'pageview');
</script>
<!--Chatroom-->
<script id="sid0020000073204931169">(function() {function async_load(){s.id="cid0020000073204931169";s.src=(window.location.href.indexOf('file:///') > -1 ? 'http:' : '') + '//st.chatango.com/js/gz/emb.js';s.style.cssText="width:450px;height:550px;";s.async=true;s.text='{"handle":"bravefrontierpros","arch":"js","styles":{"a":"cc66cc","b":84,"c":"ffffff","d":"ffffff","e":"ffffff","f":93,"h":"ffffff","k":"cc66cc","l":"cc66cc","m":"cc66cc","o":84,"q":"cc66cc","r":84,"t":0,"pos":"br","cv":1,"cvfnt":"\'Helvetica Neue\', Helvetica, Arial, sans-serif, sans-serif","cvbg":"cc66cc","cvbga":84,"cvw":300,"cvh":30,"sbc":"33ff33","surl":0,"ticker":1}}';var ss = document.getElementsByTagName('script');for (var i=0, l=ss.length; i < l; i++){if (ss[i].id=='sid0020000073204931169'){ss[i].id +='_';ss[i].parentNode.insertBefore(s, ss[i]);break;}}}var s=document.createElement('script');if (s.async==undefined){if (window.addEventListener) {addEventListener('load',async_load,false);}else if (window.attachEvent) {attachEvent('onload',async_load);}}else {async_load();}})();</script>
</body>
</html>