-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.html
1077 lines (1065 loc) · 65.7 KB
/
index.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
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<meta charset="utf-8"/>
<html>
<head>
<title>FEH Mass Duel Simulator</title>
<meta name="description" content="A calculator for Fire Emblem Heroes that simulates lots of one-on-one duels at once. Pick your hero, pick your enemies, and see how you do!"/>
<link href="https://fonts.googleapis.com/css?family=Merriweather|Cousine" rel="stylesheet">
<link rel="shortcut icon" href="ui/favicon.ico" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!--<script src="https://unpkg.com/react@15/dist/react.js"></script>
<script src="https://unpkg.com/react-dom@15/dist/react-dom.js"></script>-->
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css" rel="stylesheet" />
<script src="select2/select2.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css?v=201811111343"/>
<script type="text/javascript" src="code.js?v=201811111343"></script>
</head>
<body>
<div id="frame_main">
<div id="header"><img src="ui/logo.png" style="margin-right:20px;"/><div style="display:inline-block;">Mass Duel Simulator!</div><div id="subtitle"></div></div>
<div id="frame_updatenotice" data-update="20170723">App now hosted in GitHub Pages for communal development. Nice!<br/>
You can help out <a href="https://github.com/Andu2/FEH-Mass-Simulator">here</a>!
<div id="update_icon">!</div>
<div class="button" id="button_closeupdatenotice" onclick="hideUpdateNotice();">x</div>
</div>
<div id="frame_options">
<div id="frame_challenger">
<div id="challenger_bar_top">
<div class="bar_top_title">Challenger
<div class="bar_top_title_right">
<div class="button button_copy" id="copy_challenger">Copy</div>
<div class="button button_importexport" id="import_challenger">Import</div>
<div class="button button_importexport" id="export_challenger">Export</div>
</div>
</div>
</div>
<div class="frame_hero_main">
<div class="bar_top_list">
<!--
<select id="challenger_list" data-var="options.challengerSelected"></select>
<div class="button bar_top_button reset_challenger" id="reset_challenger" onclick="addChallenger();">Add</div>
<div class="button bar_top_button reset_challenger" id="reset_challenger" onclick="deleteChallenger();">Delete</div>
<div class="bar_top_list_right">
<div class=" bar_top_list_right button bar_top_button reset_challenger" id="reset_challenger" onclick="removeAllChallengers();">Clear List</div>
</div>
-->
</div>
<div class="bar_top_options">
<select id="challenger_name" data-var="challenger.index"></select>
<div class="bar_top_options_right"><span class="bar_label">Rarity:</span><input id="challenger_rarity" data-var="challenger.rarity" type="number" class="rarityinput smallnuminput" value=5 min=1 max=5 /><span class="bar_label">Lvl 40+</span><input id="challenger_merge" data-var="challenger.merge" class="smallnuminput" type="number" value=0 min=0 max=10 /><div class="button reset_button" id="reset_challenger">Reset</div></div>
</div>
<div class="frame_hero_main_top">
<div class="frame_hero_picture"><img class="hero_picture" id="challenger_picture" src="heroes/nohero.png" onmouseover="showHeroTooltip('challenger');" onmouseout="hideTooltip();"/><img id="challenger_weapon_icon" class="weaponIcon" src="weapons/noweapon.png"/><img id="challenger_movement_icon" class="movementIcon" src="weapons/noweapon.png"/></div>
<div class="frame_stats">
<div class="bufflabel">Buff</div><div class="debufflabel">Debuff</div><div class="spurlabel">Spur</div>
<div class="stat_row">HP: <input id="challenger_hp" data-var="challenger.hp" class="stat_number smallnuminput" type="number" value=0 min=0 max=99 /><input id="challenger_hp_buff" data-var="challenger.buffs.hp" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="challenger_hp_debuff" data-var="challenger.debuffs.hp" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /></div>
<div class="stat_row">Atk: <input id="challenger_atk" data-var="challenger.atk" class="stat_number smallnuminput" type="number" value=0 min=0 max=99 /><input id="challenger_atk_buff" data-var="challenger.buffs.atk" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="challenger_atk_debuff" data-var="challenger.debuffs.atk" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="challenger_atk_spur" data-var="challenger.spur.atk" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
<div class="stat_row">Spd: <input id="challenger_spd" data-var="challenger.spd" class="stat_number smallnuminput" type="number" value=0 min=0 max=99 /><input id="challenger_spd_buff" data-var="challenger.buffs.spd" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="challenger_spd_debuff" data-var="challenger.debuffs.spd" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="challenger_spd_spur" data-var="challenger.spur.spd" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
<div class="stat_row">Def: <input id="challenger_def" data-var="challenger.def" class="stat_number smallnuminput" type="number" value=0 min=0 max=99 /><input id="challenger_def_buff" data-var="challenger.buffs.def" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="challenger_def_debuff" data-var="challenger.debuffs.def" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="challenger_def_spur" data-var="challenger.spur.def" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
<div class="stat_row">Res: <input id="challenger_res" data-var="challenger.res" class="stat_number smallnuminput" type="number" value=0 min=0 max=99 /><input id="challenger_res_buff" data-var="challenger.buffs.res" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="challenger_res_debuff" data-var="challenger.debuffs.res" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="challenger_res_spur" data-var="challenger.spur.res" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
</div>
</div>
<div class="frame_hero_main_bottom">
<div class="hero_skills">
<div class="skill_row">
<img class="skill_picture" id="challenger_weapon_picture" src="skills/weapon.png" onmouseover="showSkillTooltip('challenger', 'weapon');" onmouseout="hideTooltip();">
<select class="skill_select" data-var="challenger.weapon" id="challenger_weapon"></select>
</div>
<div class="skill_tabbed_row">
<img class="skill_picture" id="challenger_refine_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('challenger', 'refine');" onmouseout="hideTooltip();">
<img class="skill_letter" id="challenger_refine_weapon_picture" src="skills/weapon.png">
<select class="skill_select_short" data-var="challenger.refine" id="challenger_refine"></select>
</div>
<div class="skill_row">
<img class="skill_picture" id="challenger_assist_picture" src="skills/assist.png" onmouseover="showSkillTooltip('challenger', 'assist');" onmouseout="hideTooltip();">
<select class="skill_select" data-var="challenger.assist" id="challenger_assist"></select>
</div>
<div class="skill_row">
<img class="skill_picture" id="challenger_special_picture" src="skills/special.png" onmouseover="showSkillTooltip('challenger', 'special');" onmouseout="hideTooltip();">
<select class="skill_select" data-var="challenger.special" id="challenger_special"></select>
</div>
<div class="skill_row">
<img class="skill_picture" id="challenger_a_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('challenger', 'a');" onmouseout="hideTooltip();">
<div class="skill_letter red">A</div>
<select class="skill_select" data-var="challenger.a" id="challenger_a"></select>
</div>
<div class="skill_row">
<img class="skill_picture" id="challenger_b_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('challenger', 'b');" onmouseout="hideTooltip();">
<div class="skill_letter blue">B</div>
<select class="skill_select" data-var="challenger.b" id="challenger_b"></select>
</div>
<div class="skill_row">
<img class="skill_picture" id="challenger_c_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('challenger', 'c');" onmouseout="hideTooltip();">
<div class="skill_letter green">C</div>
<select class="skill_select" data-var="challenger.c" id="challenger_c"></select>
</div>
<div class="skill_row">
<img class="skill_picture" id="challenger_s_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('challenger', 's');" onmouseout="hideTooltip();">
<div class="skill_letter yellow">S</div>
<select class="skill_select" data-var="challenger.s" id="challenger_s"></select>
</div>
</div>
<div class="hero_misc">
<div class="misc_row">IV:
<select class="misc_input_left" data-var="challenger.boon" id="challenger_boon">
<option value="boon" disabled> Boon </option>
<option value="none">None</option><option value="hp">HP</option><option value="atk">Atk</option><option value="spd">Spd</option><option value="def">Def</option><option value="res">Res</option>
</select>
<select class="misc_input" data-var="challenger.bane" id="challenger_bane">
<option value="bane" disabled>Bane</option>
<option value="none">None</option><option value="hp">HP</option><option value="atk">Atk</option><option value="spd">Spd</option><option value="def">Def</option><option value="res">Res</option>
</select>
</div>
<div class="misc_row">Rank:
<select class="misc_input_left" data-var="challenger.summoner" id="challenger_summoner">
<option value="summoner" disabled>Summoner</option>
<option value="none">None</option><option value="s">S</option><option value="a">A</option><option value="b">B</option><option value="c">C</option>
</select>
<select class="misc_input" data-var="challenger.ally" id="challenger_ally">
<option value="ally" disabled>Ally</option>
<option value="none">None</option>
<option value="s">S</option><option value="s-">S-</option><option value="a">A</option><option value="a-">A-</option>
<option value="b">B</option><option value="b-">B-</option><option value="c">C</option><option value="c-">C-</option>
</select>
</div>
<div class="misc_row">Bless:
<select class="misc_input_small_left" data-var="challenger.bless_1" id="challenger_bless_1">
<option value="bless" disabled>Blessing 1</option>
<option value="none">N/A</option>
<option value="atk">Atk</option>
<option value="spd">Spd</option>
<option value="def">Def</option>
<option value="res">Res</option>
</select>
<select class="misc_input_small_center" data-var="challenger.bless_2" id="challenger_bless_2">
<option value="bless" disabled>Blessing 2</option>
<option value="none">N/A</option>
<option value="atk">Atk</option>
<option value="spd">Spd</option>
<option value="def">Def</option>
<option value="res">Res</option>
</select>
<select class="misc_input_small_right" data-var="challenger.bless_3" id="challenger_bless_3">
<option value="bless" disabled>Blessing 3</option>
<option value="none">N/A</option>
<option value="atk">Atk</option>
<option value="spd">Spd</option>
<option value="def">Def</option>
<option value="res">Res</option>
</select>
</div>
<div class="misc_row">Adj. Allies:
<select class="misc_input_small_center" data-var="challenger.adjacent" id="challenger_adjacent">
<option value="adj" disabled>Within 1 Space</option>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
<select class="misc_input_small_right" data-var="challenger.adjacent2" id="challenger_adjacent2">
<option value="adj" disabled>Within 2 Spaces</option>
<option value="0">0</option>
<option value="1">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>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>
<div class="misc_row">Adj. Foes:
<select class="misc_input_small_center" data-var="challenger.adjacent_foe" id="challenger_adjacent_foe">
<option value="adj" disabled>Within 1 Space</option>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
<select class="misc_input_small_right" data-var="challenger.adjacent2_foe" id="challenger_adjacent2_foe">
<option value="adj" disabled>Within 2 Spaces</option>
<option value="0">0</option>
<option value="1">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>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>
<div class="misc_row">Health:
<input id="challenger_currenthp" data-var="challenger.currenthp" class="misc_input_left smallnuminput" type="number" value=0 min=0 max=99 />
<span class="misc_separator">/</span>
<span id="challenger_basehp" class="misc_number">-</span>
</div>
<div class="misc_row">Charge:
<input type="number" id="challenger_precharge" data-var="challenger.precharge" class="misc_input_left smallnuminput" value=0 min=0 max=6 />
<span class="misc_separator">/</span>
<span id="challenger_specialcharge" class="misc_number">-</span>
</div>
<div class="misc_row">BST/SPT:
<span id="challenger_bst" class="misc_number">-</span>
</div>
<!--
<div class="misc_row">Arena Score
<sup>1</sup>:
<span id="challenger_asc" class="misc_number">-</span>
</div>
-->
</div>
</div>
</div>
</div>
<div id="frame_settings">
<div id="rules_bar_top">
Settings
</div>
<div id="adj_title">Buffs:</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.defensive_challenger" id="defensive_challenger"/></div>
<div class="status_title">Defensive Tile</div>
<div class="status_enemy"><input type="checkbox" data-var="options.defensive_enemy" id="defensive_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.close_def_challenger" id="close_def_challenger"/></div>
<div class="status_title">Close Guard</div>
<div class="status_enemy"><input type="checkbox" data-var="options.close_def_enemy" id="close_def_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.distant_def_challenger" id="distant_def_challenger"/></div>
<div class="status_title">Distant Guard</div>
<div class="status_enemy"><input type="checkbox" data-var="options.distant_def_enemy" id="distant_def_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.rush_challenger" id="rush_challenger"/></div>
<div class="status_title">Infantry Rush</div>
<div class="status_enemy"><input type="checkbox" data-var="options.rush_enemy" id="rush_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.flash_challenger" id="flash_challenger"/></div>
<div class="status_title">Infantry Flash</div>
<div class="status_enemy"><input type="checkbox" data-var="options.flash_enemy" id="flash_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.harsh_command_challenger" id="harsh_command_challenger"/></div>
<div class="status_title">Harsh Command</div>
<div class="status_enemy"><input type="checkbox" data-var="options.harsh_command_enemy" id="harsh_command_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.pulse_challenger" id="pulse_challenger"/></div>
<div class="status_title">Ostia's Pulse</div>
<div class="status_enemy"><input type="checkbox" data-var="options.pulse_enemy" id="pulse_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.movement_challenger" id="movement_challenger"/></div>
<div class="status_title">Extra Movement</div>
<div class="status_enemy"><input type="checkbox" data-var="options.movement_enemy" id="movement_enemy"/></div>
</div>
<div style="line-height:40%;"><br></div>
<div id="adj_title">Debuffs:</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.candlelight_challenger" id="candlelight_challenger"/></div>
<div class="status_title">Candlelight</div>
<div class="status_enemy"><input type="checkbox" data-var="options.candlelight_enemy" id="candlelight_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.triangled_challenger" id="triangled_challenger"/></div>
<div class="status_title">Trilemma</div>
<div class="status_enemy"><input type="checkbox" data-var="options.triangled_enemy" id="triangled_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.bewitched_challenger" id="bewitched_challenger"/></div>
<div class="status_title">Witchy Wand</div>
<div class="status_enemy"><input type="checkbox" data-var="options.bewitched_enemy" id="bewitched_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.chilled_challenger" id="chilled_challenger"/></div>
<div class="status_title">Chill/Forblaze</div>
<div class="status_enemy"><input type="checkbox" data-var="options.chilled_enemy" id="chilled_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.panic_challenger" id="panic_challenger"/></div>
<div class="status_title">Panic</div>
<div class="status_enemy"><input type="checkbox" data-var="options.panic_enemy" id="panic_enemy"/></div>
</div>
<div style="line-height:40%;"><br></div>
<div id="adj_title">Mechanics:</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.threaten_challenger" id="threaten_challenger"/></div>
<div class="status_title">Initial Threaten/Ploy</div>
<div class="status_enemy"><input type="checkbox" data-var="options.threaten_enemy" id="threaten_enemy"/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.galeforce_challenger" id="galeforce_challenger" checked/></div>
<div class="status_title">Enable Galeforce</div>
<div class="status_enemy"><input type="checkbox" data-var="options.galeforce_enemy" id="galeforce_enemy" checked/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.sweep_challenger" id="sweep_challenger" checked/></div>
<div class="status_title">Enable Sweep Skills</div>
<div class="status_enemy"><input type="checkbox" data-var="options.sweep_enemy" id="sweep_enemy" checked/></div>
</div>
<div class="adj_status">
<div class="status_challenger"><input type="checkbox" data-var="options.odd_buff_challenger" id="odd_buff_challenger" checked/></div>
<div class="status_title">Odd/Even Turn Buffs</div>
<div class="status_enemy"><input type="checkbox" data-var="options.odd_buff_enemy" id="odd_buff_enemy" checked/></div>
</div>
<div class="adj_status">
<div class="status_desc_long">Turn to start Renewal: </div>
<div class="status_select">
<input class="adj_input smallnuminput" type="number" data-var="options.buffStartTurn" min=1 max=5 id="rules_renewal" value=1 />
</div>
</div>
<div class="adj_status">
<div class="status_desc_long">Turn to start Blight: </div>
<div class="status_select">
<input class="adj_input smallnuminput" type="number" data-var="options.debuffStartTurn" min=1 max=5 id="rules_skadi" value=1 />
</div>
</div>
<div class="adj_status">
<div class="status_desc_long">Ranged attack angle: </div>
<div class="status_select">
<select class="adj_select_long" id="rules_ploy" data-var="options.ployBehavior">
<option>Orthogonal</option>
<option>Diagonal</option>
</select>
</div>
</div>
<div style="line-height:40%;"><br></div>
</div>
<div id="frame_adjustments" style="display: none;">
<div id="rules_bar_top">
Adjustments
</div>
<div id="adj_title">Challenger:</div>
<div class="adj_status">
<div class="status_desc">Total Health:</div>
<div class="status_select">
<select class="adj_select_long" data-var="challenger.HpPercent" id="challenger_HpPercent">
<option value="4" selected>100%</option>
<option value="3">75%</option>
<option value="2">50%</option>
<option value="1">25%</option>
</select>
</div>
<div class="button adj_apply_button" id="apply_total_health_challenger">Apply</div>
</div>
<div class="adj_status">
<div class="button adj_reset_button" id="reset_health_challenger">Reset Health</div>
</div>
<div class="adj_status">
<div class="status_desc">Buff:</div>
<div class="status_select">
<select class="adj_select_long" data-var="challenger.movementbuff" id="challenger_movementbuff">
<option value="hone" selected>Hone</option>
<option value="fortify">Fortify</option>
<option value="goad">Goad</option>
<option value="goad x2">Goad x2</option>
<option value="ward">Ward</option>
<option value="ward x2">Ward x2</option>
</select>
</div>
<div class="button adj_apply_button" id="apply_movement_buff_challenger">Apply</div>
</div>
<div class="adj_status">
<div class="button adj_reset_button" id="reset_buff_challenger">Reset Buffs</div>
</div>
<div style="line-height:40%;"><br></div>
<div id="adj_title">Custom List:</div>
<div class="adj_status">
<div class="status_desc">Hero Merge:</div>
<div class="status_select">
<input class="adj_input smallnuminput" id="enemies_cl_merges" data-var="enemies.cl.merges" type="number" value=10 min=0 max=10 />
</div>
<div class="button adj_apply_button" id="apply_hero_merge">Apply</div>
</div>
<div class="adj_status">
<div class="status_desc">Damage Taken:</div>
<div class="status_select">
<input class="adj_input smallnuminput" id="enemies_cl_damages" data-var="enemies.cl.damages" type="number" value=0 min=0 max=99 />
</div>
<div class="button adj_apply_button" id="apply_damage_taken">Apply</div>
</div>
<div class="adj_status">
<div class="status_desc">Total Health:</div>
<div class="status_select">
<select class="adj_select_long" data-var="enemies.cl.HpPercent" id="enemies_cl_HpPercent">
<option value="4" selected>100%</option>
<option value="3">75%</option>
<option value="2">50%</option>
<option value="1">25%</option>
</select>
</div>
<div class="button adj_apply_button" id="apply_total_health">Apply</div>
</div>
<div class="adj_status">
<div class="button adj_reset_button" id="reset_health">Reset All Health</div>
</div>
<div class="adj_status">
<div class="status_desc_short">Stat Buff:</div>
<div class="status_select_mid">
<select class="adj_select_left" data-var="enemies.cl.status" id="enemies_cl_status">
<option value="hp">HP</option>
<option value="all" selected>All</option>
<option value="atk">Atk</option>
<option value="spd">Spd</option>
<option value="def">Def</option>
<option value="res">Res</option>
</select>
</div>
<div class="status_select">
<select class="adj_select" data-var="enemies.cl.statusbuff" id="enemies_cl_statusbuff">
<option value="3">+3</option>
<option value="4" selected>+4</option>
<option value="5">+5</option>
<option value="6">+6</option>
<option value="-3">-3</option>
<option value="-5">-5</option>
<option value="-7">-7</option>
</select>
</div>
<div class="button adj_apply_button" id="apply_status_buff">Apply</div>
</div>
<div class="adj_status">
<div class="status_desc_short">Skill Buff:</div>
<div class="status_select_mid">
<select class="adj_select_left" data-var="enemies.cl.movement" id="enemies_cl_movement">
<option value="all" selected>All</option>
<option value="infantry">Infantry</option>
<option value="armored">Armored</option>
<option value="flying">Flying</option>
<option value="cavalry">Cavalry</option>
<option value="dragon">Dragon</option>
</select>
</div>
<div class="status_select">
<select class="adj_select" data-var="enemies.cl.movementbuff" id="enemies_cl_movementbuff">
<option value="hone" selected>Hone</option>
<option value="fortify">Fortify</option>
<option value="goad">Goad</option>
<option value="goad x2">Goad x2</option>
<option value="ward">Ward</option>
<option value="ward x2">Ward x2</option>
</select>
</div>
<div class="button adj_apply_button" id="apply_movement_buff">Apply</div>
</div>
<div class="adj_status">
<div class="button adj_reset_button" id="reset_buff">Reset All Buffs</div>
</div>
<div style="line-height:40%;"><br></div>
</div>
<div id="frame_statistics" style="display: none;">
<div id="rules_bar_top">
Statistics
</div>
<div id="adj_title"><span id="wins_res_count">-</span> Wins <span>(Challenger HP)</span></div>
<div class='adj_status_compact'>
<label>
<span>max</span>
<span id="wins_res_hp_max">-</span>
</label>
<label>
<span>avg</span>
<span id="wins_res_hp_avg">-</span>
</label>
<label>
<span>min</span>
<span id="wins_res_hp_min">-</span>
</label>
</div>
<div id="adj_title"><span id="losses_res_count">-</span> Losses <span>(Enemy HP)</span></div>
<div class='adj_status_compact'>
<label>
<span>max</span>
<span id="losses_res_hp_max">-</span>
</label>
<label>
<span>avg</span>
<span id="losses_res_hp_avg">-</span>
</label>
<label>
<span>min</span>
<span id="losses_res_hp_min">-</span>
</label>
</div>
<div id="adj_title"><span id="inconclusive_res_count">-</span> Inconclusives</div>
<div class='adj_status_compact'>
<label>
<span>max</span>
<span id="inconclusives_challenger_res_hp_max">-</span>
</label>
<label>
<span>avg</span>
<span id="inconclusives_challenger_res_hp_avg">-</span>
</label>
<label>
<span>min</span>
<span id="inconclusives_challenger_res_hp_min">-</span>
</label>
</div>
<div class='adj_status_compact'>
<label>
<span>max</span>
<span id="inconclusives_enemy_res_hp_max">-</span>
</label>
<label>
<span>avg</span>
<span id="inconclusives_enemy_res_hp_avg">-</span>
</label>
<label>
<span>min</span>
<span id="inconclusives_enemy_res_hp_min">-</span>
</label>
</div>
<div style="line-height:40%;"><br></div>
<div id="adj_title">Charts</div>
<div class="adj_status">
<select class="stat_select" id="chart_type" data-var="options.chartType">
<option value="enemies by color">Enemies by Color</option>
<option value="enemies by range">Enemies by Range</option>
<option value="enemies by movement">Enemies by Movement</option>
<option value="outcomes by color">Outcomes by Color</option>
<option value="outcomes by range">Outcomes by Range</option>
<option value="outcomes by movement">Outcomes by Movement</option>
</select>
</div>
<div class="adj_status">
<div id="stat_chart" style="width: 200px; height: 200px;"></div>
</div>
</div>
<div id="frame_enemies">
<div id="enemies_bar_top">
<div class="bar_top_title">Enemies
<div class="bar_top_title_right">
<select id="enemies_mode" data-var="options.customEnemyList" class="bar_label"></select>
<div class="button button_copy" id="copy_enemy">Copy</div>
<div class="button button_importexport" id="import_enemies">Import</div>
<div class="button button_importexport" id="export_enemies">Export</div>
</div>
</div>
</div>
<div id="enemies_full_list" class="frame_hero_main">
<div class="bar_top_list bar_top_full_list">
All Heroes
</div>
<div class="bar_top_options"><span class="bar_label">Rarity:</span><input id="enemies_rarity" data-var="enemies.fl.rarity" type="number" class="rarityinput smallnuminput" value=5 min=1 max=5 /><span class="bar_label">Lvl 40+</span><input id="enemies_merge" data-var="enemies.fl.merge" class="smallnuminput" type="number" value=0 min=0 max=10 /><div class="bar_top_options_right"><div class="button reset_button reset_enemies" id="reset_enemies">Reset</div></div></div>
<div class="frame_hero_main_top">
<div id="enemies_include">
<div id="enemies_includeheader">Include: <span id="enemies_count">-</span></div>
<div class="includebuttons_row"><div class="button wideincludebutton included" id="include_melee">Melee</div><div class="button wideincludebutton included" id="include_ranged">Ranged</div></div>
<div class="includebuttons_row"><div class="button thinincludebutton included" id="include_red">Red</div><div class="button thinincludebutton included" id="include_blue">Blue</div><div class="button thinincludebutton included" id="include_green">Green</div><div class="button thinincludebutton included" id="include_gray">Gray</div></div>
<div class="includebuttons_row"><div class="button wideincludebutton included" id="include_physical">Physical</div><div class="button wideincludebutton included" id="include_magical">Magical</div></div>
<div class="includebuttons_row"><div class="button thinincludebutton included" id="include_infantry">Infantry</div><div class="button thinincludebutton included" id="include_cavalry">Cavalry</div><div class="button thinincludebutton included" id="include_flying">Flying</div><div class="button thinincludebutton included" id="include_armored">Armored</div></div>
<div class="includebuttons_row"><div class="button wideincludebutton notincluded" id="include_staff">Healers</div><div class="button wideincludebutton included" id="include_nonstaff">Non-healers</div></div>
</div>
<div class="frame_stats">
<div class="statlabel">Avg</div><div class="bufflabel">Buff</div><div class="debufflabel">Debuff</div><div class="spurlabel">Spur</div>
<div class="stat_row">HP: <span class="stat_number" id="enemies_hp">-</span><input id="enemies_hp_buff" data-var="enemies.fl.buffs.hp" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="enemies_hp_debuff" data-var="enemies.fl.debuffs.hp" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /></div>
<div class="stat_row">Atk: <span class="stat_number" id="enemies_atk">-</span><input id="enemies_atk_buff" data-var="enemies.fl.buffs.atk" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="enemies_atk_debuff" data-var="enemies.fl.debuffs.atk" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="enemies_atk_spur" data-var="enemies.fl.spur.atk" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
<div class="stat_row">Spd: <span class="stat_number" id="enemies_spd">-</span><input id="enemies_spd_buff" data-var="enemies.fl.buffs.spd" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="enemies_spd_debuff" data-var="enemies.fl.debuffs.spd" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="enemies_spd_spur" data-var="enemies.fl.spur.spd" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
<div class="stat_row">Def: <span class="stat_number" id="enemies_def">-</span><input id="enemies_def_buff" data-var="enemies.fl.buffs.def" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="enemies_def_debuff" data-var="enemies.fl.debuffs.def" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="enemies_def_spur" data-var="enemies.fl.spur.def" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
<div class="stat_row">Res: <span class="stat_number" id="enemies_res">-</span><input id="enemies_res_buff" data-var="enemies.fl.buffs.res" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="enemies_res_debuff" data-var="enemies.fl.debuffs.res" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="enemies_res_spur" data-var="enemies.fl.spur.res" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
</div>
</div>
<div class="frame_hero_main_bottom">
<div class="hero_skills">
<div class="skill_row">
<img class="skill_picture" id="enemies_weapon_picture" src="skills/weapon.png" onmouseover="showSkillTooltip('list', 'weapon');" onmouseout="hideTooltip();"><select class="skill_select" data-var="enemies.fl.weapon" id="enemies_weapon"></select>
<select class="skill_overwrite" data-var="enemies.fl.replaceWeapon" id="enemies_weapon_overwrite">
<option value=0>If empty</option>
<option value=1>Overwrite</option>
</select>
</div>
<div class="skill_tabbed_row">
<img class="skill_picture" id="enemies_refine_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('list', 'refine');" onmouseout="hideTooltip();"><img class="skill_letter" id="enemies_refine_weapon_picture" src="skills/weapon.png"><select class="skill_select_short" data-var="enemies.fl.refine" id="enemies_refine"></select>
</div>
<div class="skill_row">
<img class="skill_picture" id="enemies_assist_picture" src="skills/assist.png" onmouseover="showSkillTooltip('list', 'assist');" onmouseout="hideTooltip();"><select class="skill_select" data-var="enemies.fl.assist" id="enemies_assist"></select>
<select class="skill_overwrite" data-var="enemies.fl.replaceAssist" id="enemies_assist_overwrite"><option value=0>If empty</option><option value=1>Overwrite</option></select>
</div>
<div class="skill_row"><img class="skill_picture" id="enemies_special_picture" src="skills/special.png" onmouseover="showSkillTooltip('list', 'special');" onmouseout="hideTooltip();"><select class="skill_select" data-var="enemies.fl.special" id="enemies_special"></select>
<select class="skill_overwrite" data-var="enemies.fl.replaceSpecial" id="enemies_special_overwrite"><option value=0>If empty</option><option value=1>Overwrite</option></select>
</div>
<div class="skill_row"><img class="skill_picture" id="enemies_a_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('list', 'a');" onmouseout="hideTooltip();"><div class="skill_letter red">A</div><select class="skill_select" data-var="enemies.fl.a" id="enemies_a"></select>
<select class="skill_overwrite" data-var="enemies.fl.replaceA" id="enemies_a_overwrite"><option value=0>If empty</option><option value=1>Overwrite</option></select>
</div>
<div class="skill_row"><img class="skill_picture" id="enemies_b_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('list', 'b');" onmouseout="hideTooltip();"><div class="skill_letter blue">B</div><select class="skill_select" data-var="enemies.fl.b" id="enemies_b"></select>
<select class="skill_overwrite" data-var="enemies.fl.replaceB" id="enemies_b_overwrite"><option value=0>If empty</option><option value=1>Overwrite</option></select>
</div>
<div class="skill_row"><img class="skill_picture" id="enemies_c_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('list', 'c');" onmouseout="hideTooltip();"><div class="skill_letter green">C</div><select class="skill_select" data-var="enemies.fl.c" id="enemies_c"></select>
<select class="skill_overwrite" data-var="enemies.fl.replaceC" id="enemies_c_overwrite"><option value=0>If empty</option><option value=1>Overwrite</option></select>
</div>
<div class="skill_row"><img class="skill_picture" id="enemies_s_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('list', 's');" onmouseout="hideTooltip();"><div class="skill_letter yellow">S</div><select class="skill_select" data-var="enemies.fl.s" id="enemies_s"></select></div>
</div>
<div class="hero_misc">
<div class="misc_row">IV:
<select class="misc_input_left" data-var="enemies.fl.boon" id="enemies_boon">
<option value="boon" disabled> Boon </option>
<option value="none">None</option><option value="hp">HP</option><option value="atk">Atk</option><option value="spd">Spd</option><option value="def">Def</option><option value="res">Res</option>
</select>
<select class="misc_input" data-var="enemies.fl.bane" id="enemies_bane">
<option value="bane" disabled>Bane</option>
<option value="none">None</option><option value="hp">HP</option><option value="atk">Atk</option><option value="spd">Spd</option><option value="def">Def</option><option value="res">Res</option>
</select>
</div>
<div class="misc_row">Rank:
<select class="misc_input_left" data-var="enemies.fl.summoner" id="enemies_summoner">
<option value="summoner" disabled>Summoner</option>
<option value="none">None</option><option value="s">S</option><option value="a">A</option><option value="b">B</option><option value="c">C</option>
</select>
<select class="misc_input" data-var="enemies.fl.ally" id="enemies_ally">
<option value="ally" disabled>Ally</option>
<option value="none">None</option>
<option value="s">S</option><option value="s-">S-</option><option value="a">A</option><option value="a-">A-</option>
<option value="b">B</option><option value="b-">B-</option><option value="c">C</option><option value="c-">C-</option>
</select>
</div>
<div class="misc_row">Bless:
<select class="misc_input_small_left" data-var="enemies.fl.bless_1" id="enemies_bless_1">
<option value="bless" disabled>Blessing 1</option>
<option value="none">N/A</option>
<option value="atk">Atk</option>
<option value="spd">Spd</option>
<option value="def">Def</option>
<option value="res">Res</option>
</select>
<select class="misc_input_small_center" data-var="enemies.fl.bless_2" id="enemies_bless_2">
<option value="bless" disabled>Blessing 2</option>
<option value="none">N/A</option>
<option value="atk">Atk</option>
<option value="spd">Spd</option>
<option value="def">Def</option>
<option value="res">Res</option>
</select>
<select class="misc_input_small_right" data-var="enemies.fl.bless_3" id="enemies_bless_3">
<option value="bless" disabled>Blessing 3</option>
<option value="none">N/A</option>
<option value="atk">Atk</option>
<option value="spd">Spd</option>
<option value="def">Def</option>
<option value="res">Res</option>
</select>
</div>
<div class="misc_row">Adj. Allies:
<select class="misc_input_small_center" data-var="enemies.fl.adjacent" id="enemies_adjacent">
<option value="adj" disabled>Within 1 Space</option>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
<select class="misc_input_small_right" data-var="enemies.fl.adjacent2" id="enemies_adjacent2">
<option value="adj" disabled>Within 2 Spaces</option>
<option value="0">0</option>
<option value="1">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>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>
<div class="misc_row">Adj. Foes:
<select class="misc_input_small_center" data-var="enemies.fl.adjacent_foe" id="enemies_adjacent_foe">
<option value="adj" disabled>Within 1 Space</option>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
<select class="misc_input_small_right" data-var="enemies.fl.adjacent2_foe" id="enemies_adjacent2_foe">
<option value="adj" disabled>Within 2 Spaces</option>
<option value="0">0</option>
<option value="1">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>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>
<div class="misc_row">Damage taken: <input id="enemies_damage" data-var="enemies.fl.damage" class="misc_input smallnuminput" type="number" value=0 min=0 max=99 /></div>
<div class="misc_row">Pre-charge: <input type="number" id="enemies_precharge" data-var="enemies.fl.precharge" class="misc_input smallnuminput" value=0 min=0 max=6 /></div>
</div>
</div>
</div>
<div id="enemies_custom_list" class="frame_hero_main" style="display:none;">
<div id="cl_enemylist">
<div id="cl_enemylist_list"></div>
<div id="cl_addenemy" class="clbutton button" onclick="addClEnemy();">+Add one</div>
<div id="cl_removeall" class="clbutton button" onclick="removeAllClEnemies();">-Clear all</div>
</div>
<div class="frame_hero_main_right">
<div class="bar_top_list">
<select id="cl_enemy_list" data-var="options.customEnemySelected"></select>
<div class="button bar_top_button reset_enemies" id="add_cl_enemy" onclick="addClEnemy();">Add</div>
<div class="button bar_top_button reset_enemies" id="delete_cl_selected" onclick="deleteSelectedClEnemy();">Delete</div>
<div class="bar_top_list_right">
<div class=" bar_top_list_right button bar_top_button reset_enemies" id="clear_cl_list" onclick="removeAllClEnemies();">Clear List</div>
</div>
</div>
<div class="bar_top_options"><select id="cl_enemy_name" data-var="enemies.cl.list.index"></select><div class="bar_top_options_right"><span class="bar_label">Rarity:</span><input id="cl_enemy_rarity" data-var="enemies.cl.list.rarity" type="number" class="rarityinput smallnuminput" value=5 min=1 max=5 /><span class="bar_label">Lvl 40+</span><input id="cl_enemy_merge" data-var="enemies.cl.list.merge" class="smallnuminput" type="number" value=0 min=0 max=10 /><div class="button reset_button reset_enemies" id="reset_cl_enemy">Reset</div></div></div>
<div class="frame_hero_main_top">
<div class="frame_hero_picture">
<img class="hero_picture" id="cl_enemy_picture" src="heroes/nohero.png" onmouseover="showHeroTooltip('custom');" onmouseout="hideTooltip();"/>
<img id="cl_enemy_weapon_icon" class="weaponIcon" src="weapons/noweapon.png"/>
<img id="cl_enemy_movement_icon" class="movementIcon" src="weapons/noweapon.png"/>
</div>
<div class="frame_stats">
<div class="bufflabel">Buff</div><div class="debufflabel">Debuff</div><div class="spurlabel">Spur</div>
<div class="stat_row">HP: <input id="cl_enemy_hp" data-var="enemies.cl.list.hp" class="stat_number smallnuminput" type="number" value=0 min=0 max=99 /><input id="cl_enemy_hp_buff" data-var="enemies.cl.list.buffs.hp" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="cl_enemy_hp_debuff" data-var="enemies.cl.list.debuffs.hp" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /></div>
<div class="stat_row">Atk: <input id="cl_enemy_atk" data-var="enemies.cl.list.atk" class="stat_number smallnuminput" type="number" value=0 min=0 max=99 /><input id="cl_enemy_atk_buff" data-var="enemies.cl.list.buffs.atk" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="cl_enemy_atk_debuff" data-var="enemies.cl.list.debuffs.atk" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="cl_enemy_atk_spur" data-var="enemies.cl.list.spur.atk" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
<div class="stat_row">Spd: <input id="cl_enemy_spd" data-var="enemies.cl.list.spd" class="stat_number smallnuminput" type="number" value=0 min=0 max=99 /><input id="cl_enemy_spd_buff" data-var="enemies.cl.list.buffs.spd" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="cl_enemy_spd_debuff" data-var="enemies.cl.list.debuffs.spd" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="cl_enemy_spd_spur" data-var="enemies.cl.list.spur.spd" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
<div class="stat_row">Def: <input id="cl_enemy_def" data-var="enemies.cl.list.def" class="stat_number smallnuminput" type="number" value=0 min=0 max=99 /><input id="cl_enemy_def_buff" data-var="enemies.cl.list.buffs.def" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="cl_enemy_def_debuff" data-var="enemies.cl.list.debuffs.def" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="cl_enemy_def_spur" data-var="enemies.cl.list.spur.def" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
<div class="stat_row">Res: <input id="cl_enemy_res" data-var="enemies.cl.list.res" class="stat_number smallnuminput" type="number" value=0 min=0 max=99 /><input id="cl_enemy_res_buff" data-var="enemies.cl.list.buffs.res" class="buff_input smallnuminput" type="number" value=0 min=0 max=99 /><input id="cl_enemy_res_debuff" data-var="enemies.cl.list.debuffs.res" class="debuff_input smallnuminput" type="number" value=0 min=-99 max=0 /><input id="cl_enemy_res_spur" data-var="enemies.cl.list.spur.res" class="spur_input smallnuminput" type="number" value=0 min=-99 max=99 /></div>
</div>
</div>
<div class="frame_hero_main_bottom">
<div class="hero_skills">
<div class="skill_row">
<img class="skill_picture" id="cl_enemy_weapon_picture" src="skills/weapon.png" onmouseover="showSkillTooltip('custom', 'weapon');" onmouseout="hideTooltip();"><select class="skill_select" data-var="enemies.cl.list.weapon" id="cl_enemy_weapon"></select>
</div>
<div class="skill_tabbed_row">
<img class="skill_picture" id="cl_enemy_refine_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('custom', 'refine');" onmouseout="hideTooltip();"><img class="skill_letter" id="cl_enemy_refine_weapon_picture" src="skills/weapon.png"><select class="skill_select_short" data-var="enemies.cl.list.refine" id="cl_enemy_refine"></select>
</div>
<div class="skill_row"><img class="skill_picture" id="cl_enemy_assist_picture" src="skills/assist.png" onmouseover="showSkillTooltip('custom', 'assist');" onmouseout="hideTooltip();"><select class="skill_select" data-var="enemies.cl.list.assist" id="cl_enemy_assist"></select></div>
<div class="skill_row"><img class="skill_picture" id="cl_enemy_special_picture" src="skills/special.png" onmouseover="showSkillTooltip('custom', 'special');" onmouseout="hideTooltip();"><select class="skill_select" data-var="enemies.cl.list.special" id="cl_enemy_special"></select></div>
<div class="skill_row"><img class="skill_picture" id="cl_enemy_a_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('custom', 'a');" onmouseout="hideTooltip();"><div class="skill_letter red">A</div><select class="skill_select" data-var="enemies.cl.list.a" id="cl_enemy_a"></select></div>
<div class="skill_row"><img class="skill_picture" id="cl_enemy_b_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('custom', 'b');" onmouseout="hideTooltip();"><div class="skill_letter blue">B</div><select class="skill_select" data-var="enemies.cl.list.b" id="cl_enemy_b"></select></div>
<div class="skill_row"><img class="skill_picture" id="cl_enemy_c_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('custom', 'c');" onmouseout="hideTooltip();"><div class="skill_letter green">C</div><select class="skill_select" data-var="enemies.cl.list.c" id="cl_enemy_c"></select></div>
<div class="skill_row"><img class="skill_picture" id="cl_enemy_s_picture" src="skills/noskill.png" onmouseover="showSkillTooltip('custom', 's');" onmouseout="hideTooltip();"><div class="skill_letter yellow">S</div><select class="skill_select" data-var="enemies.cl.list.s" id="cl_enemy_s"></select></div>
</div>
<div class="hero_misc">
<div class="misc_row">IV:
<select class="misc_input_left" data-var="enemies.cl.list.boon" id="cl_enemy_boon">
<option value="boon" disabled> Boon </option>
<option value="none">None</option><option value="hp">HP</option><option value="atk">Atk</option><option value="spd">Spd</option><option value="def">Def</option><option value="res">Res</option>
</select>
<select class="misc_input" data-var="enemies.cl.list.bane" id="cl_enemy_bane">
<option value="bane" disabled>Bane</option>
<option value="none">None</option><option value="hp">HP</option><option value="atk">Atk</option><option value="spd">Spd</option><option value="def">Def</option><option value="res">Res</option>
</select>
</div>
<div class="misc_row">Rank:
<select class="misc_input_left" data-var="enemies.cl.list.summoner" id="cl_enemy_summoner">
<option value="summoner" disabled>Summoner</option>
<option value="none">None</option><option value="s">S</option><option value="a">A</option><option value="b">B</option><option value="c">C</option>
</select>
<select class="misc_input" data-var="enemies.cl.list.ally" id="cl_enemy_ally">
<option value="ally" disabled>Ally</option>
<option value="none">None</option>
<option value="s">S</option><option value="s-">S-</option><option value="a">A</option><option value="a-">A-</option>
<option value="b">B</option><option value="b-">B-</option><option value="c">C</option><option value="c-">C-</option>
</select>
</div>
<div class="misc_row">Bless:
<select class="misc_input_small_left" data-var="enemies.cl.list.bless_1" id="cl_enemy_bless_1">
<option value="bless" disabled>Blessing 1</option>
<option value="none">N/A</option>
<option value="atk">Atk</option>
<option value="spd">Spd</option>
<option value="def">Def</option>
<option value="res">Res</option>
</select>
<select class="misc_input_small_center" data-var="enemies.cl.list.bless_2" id="cl_enemy_bless_2">
<option value="bless" disabled>Blessing 2</option>
<option value="none">N/A</option>
<option value="atk">Atk</option>
<option value="spd">Spd</option>
<option value="def">Def</option>
<option value="res">Res</option>
</select>
<select class="misc_input_small_right" data-var="enemies.cl.list.bless_3" id="cl_enemy_bless_3">
<option value="bless" disabled>Blessing 3</option>
<option value="none">N/A</option>
<option value="atk">Atk</option>
<option value="spd">Spd</option>
<option value="def">Def</option>
<option value="res">Res</option>
</select>
</div>
<div class="misc_row">Adj. Allies:
<select class="misc_input_small_center" data-var="enemies.cl.list.adjacent" id="cl_enemy_adjacent">
<option value="adj" disabled>Within 1 Space</option>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
<select class="misc_input_small_right" data-var="enemies.cl.list.adjacent2" id="cl_enemy_adjacent2">
<option value="adj" disabled>Within 2 Spaces</option>
<option value="0">0</option>
<option value="1">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>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>
<div class="misc_row">Adj. Foes:
<select class="misc_input_small_center" data-var="enemies.cl.list.adjacent_foe" id="cl_enemy_adjacent_foe">
<option value="adj" disabled>Within 1 Space</option>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
<select class="misc_input_small_right" data-var="enemies.cl.list.adjacent2_foe" id="cl_enemy_adjacent2_foe">
<option value="adj" disabled>Within 2 Spaces</option>
<option value="0">0</option>
<option value="1">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>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>
<div class="misc_row">Health:
<input id="cl_enemy_currenthp" data-var="enemies.cl.list.currenthp" class="misc_input_left smallnuminput" type="number" value=0 min=0 max=99 />
<span class="misc_separator">/</span>
<span id="cl_enemy_basehp" class="misc_number">-</span>
</div>
<div class="misc_row">Charge:
<input type="number" id="cl_enemy_precharge" data-var="enemies.cl.list.precharge" class="misc_input_left smallnuminput" value=0 min=0 max=6 />
<span class="misc_separator">/</span>
<span id="cl_enemy_specialcharge" class="misc_number">-</span>
</div>
<div class="misc_row">BST/SPT:
<span id="cl_enemy_bst" class="misc_number">-</span>
</div>
<!--
<div class="misc_row">Arena Score:
<span id="cl_enemy_asc" class="misc_number">-</span>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
<div id="frame_rules">
<div class="frame_turns">
<div id="rules_bar_top">
Turn Order
</div>
<div id="rules_turnorder">
<div id="turnorder_left">
<div id="turnorder_label">Initiator:</div>
<div class="turnorder_button_row"><div class="button turnorder_button" id="add_turn_challenger_reset">Challenger</div></div>
<div class="turnorder_button_row"><div class="button turnorder_button" id="add_turn_enemy_reset">Enemy</div></div>
</div>
<div id="turnorder_right">
<div id="turnorder_label">Append:</div>
<div class="button turnorder_button" id="add_turn_challenger">Challenger</div>
<div class="button turnorder_button" id="add_turn_enemy">Enemy</div>
</div>
</div>
<div id="turn_order">
<div id="turn_first">
<div class="turn_block">1</div>
<div class="turn_label" id="turn_0">
<span id="turn_text_0">Challenger</span>
<div class="button turn_delete" id="turn_delete_0" onclick="deleteTurn(0);"></div>
<img id="turn_image_0" src="ui/challenger_sprite.png" height="62" width="62">
</div>
</div>
<div id="turn_second">
<div class="turn_block">2</div>
<div class="turn_label" id="turn_1">
<span id="turn_text_1">Enemy</span>
<div class="button turn_delete" id="turn_delete_1" onclick="deleteTurn(1);"></div>
<img id="turn_image_1" src="ui/enemy_sprite.png" height="62" width="62">
</div>
</div>
<div id="turn_third">
<div class="turn_block">3</div>
<div class="turn_label" id="turn_2" style="display:none;">
<span id="turn_text_2"></span>
<div class="button turn_delete" id="turn_delete_2" onclick="deleteTurn(2);"></div>
<img id="turn_image_2" src="ui/challenger_sprite.png" height="62" width="62">
</div>
</div>
<div id="turn_fourth">
<div class="turn_block">4</div>
<div class="turn_label" id="turn_3" style="display:none;">
<span id="turn_text_3"></span>
<div class="button turn_delete" id="turn_delete_3" onclick="deleteTurn(3);"></div>
<img id="turn_image_3" src="ui/challenger_sprite.png" height="62" width="62">
</div>
</div>
</div>
</div>
<div class="frame_options">
<div id="rules_bar_top">
Menu
</div>
<div class="menu_options">
<div class="menu_filler"></div>
<div class="menu_radio">
<input type="radio" name="menu" class="menu_button" value="options" checked> Settings<br>
<input type="radio" name="menu" class="menu_button" value="adjustments"> Adjustments<br>
<input type="radio" name="menu" class="menu_button" value="statistics"> Statistics<br>
<input type="radio" name="menu" class="menu_button" value="close"> Close
</div>
<div class="menu_settings">
<div class="adj_status">
<div class="status_desc_long">Show only max skills: </div>
<div class="status_select_long">
<input class="status_select" type="checkbox" data-var="options.showOnlyMaxSkills" id="rules_prereqs" checked="checked" />
</div>
</div>
<div class="adj_status">
<div class="status_desc_long">Show only duel skills: </div>
<div class="status_select_long">
<input class="status_select" type="checkbox" data-var="options.hideUnaffectingSkills" id="rules_hideunaffecting" checked="checked" />
</div>
</div>
<div class="adj_status">
<div class="status_desc_long">Auto-calculate: </div>
<div class="status_select_long">
<input class="status_select" type="checkbox" data-var="options.autoCalculate" id="autocalculate" checked="checked"/>
</div>
</div>
<div class="adj_status">
<div class="status_desc_long">Save sim settings: </div>
<div class="status_select_long">
<input class="status_select" type="checkbox" data-var="options.saveSettings" id="saveSettings" checked="checked"/>
</div>
</div>
<div class="adj_status">
<div class="status_desc_long">Save filter options: </div>
<div class="status_select_long">
<input class="status_select" type="checkbox" data-var="options.saveFilters" id="saveFilters"/>
</div>
</div>
</div>
<div class="menu_filler"></div>
</div>
<!--
<div id="display_left">
<div class="button button_options" id="toggle_stat">Show Statistics</div>
</div>
<div id="display_left">
<div class="button button_options" id="toggle_options">Hide Options</div>