|
@@ -90,7 +90,7 @@ $(function() {
|
90
|
90
|
$.each(levels, function(key) {
|
91
|
91
|
var name = this.name;
|
92
|
92
|
|
93
|
|
- $('<button>')
|
|
93
|
+ name && $('<button>')
|
94
|
94
|
.append($('<img>').attr('src', this.image))
|
95
|
95
|
.append($('<p>').text(name))
|
96
|
96
|
.click(function() {
|
|
@@ -173,7 +173,7 @@ $(function() {
|
173
|
173
|
|
174
|
174
|
var sel = $('select[name=search_map]');
|
175
|
175
|
$.each(levels, function(key) {
|
176
|
|
- $('<option>').val(key + 1).text(this.name).appendTo(sel);
|
|
176
|
+ this.name && $('<option>').val(key + 1).text(this.name).appendTo(sel);
|
177
|
177
|
});
|
178
|
178
|
|
179
|
179
|
function showSearch() {
|
|
@@ -624,6 +624,20 @@ var levels = [
|
624
|
624
|
cores: [{left: 230, top: 134}, {left: 234, top: 444}, {left: 413, top: 419}, {left: 38, top: 569}]
|
625
|
625
|
},
|
626
|
626
|
|
|
627
|
+ {}, // Uber monsterfest
|
|
628
|
+ {}, // Tree of life
|
|
629
|
+
|
|
630
|
+ {
|
|
631
|
+ name: 'Mistymire Forest',
|
|
632
|
+ minimap: 'res/images/minimaps/Mistymire.png',
|
|
633
|
+ image: 'http://placehold.it/200x100',
|
|
634
|
+ du: 140,
|
|
635
|
+ offsets: {left: 170, top: 50},
|
|
636
|
+ scale: {left: 1.1, top: 1.1},
|
|
637
|
+ towerscale: 0.5,
|
|
638
|
+ cores: [{left: 129, top: 354}, {left: 241, top: 242}, {left: 318, top: 284}, {left: 299, top: 404}]
|
|
639
|
+ },
|
|
640
|
+
|
627
|
641
|
];
|
628
|
642
|
var towers = {
|
629
|
643
|
|