- added priest in peril quest reqs

This commit is contained in:
Bart van der Braak 2019-04-29 16:16:51 +02:00
parent 093d8de5dd
commit b39bf603e6
4 changed files with 96 additions and 60 deletions

View file

@ -0,0 +1,3 @@
.hover-info {
cursor:help;
}

View file

@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/popper.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/datatables.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
@ -97,52 +98,57 @@
<div class="row pt-2">
<div class="col-6 quests">
<form>
<label><input type="checkbox" name="quest" id="spiritcreatures">
Death Plateau <small>Unlocks Spiritual Creatures</small></label><br>
<label><input type="checkbox" name="quest" id="dragonslayer2">
Dragon Slayer II <small>Unlocks Adamant, Rune Dragons</small></label><br>
<label><input type="checkbox" name="quest" id="brinerats">
Olaf's Quest (partial) <small>Unlocks Brine Rats</small></label><br>
<label><input type="checkbox" name="quest" id="dagannoths">
Horror from the Deep <small>Unlocks Dagannoths</small></label><br>
<label><input type="checkbox" name="quest" id="darkbeasts">
Mourning's End Part II (started) <small>Unlocks Dark Beasts</small></label><br>
<label><input type="checkbox" name="quest" id="dustdevils">
Desert Treasure (started) <small>Unlocks Dust, Smoke Devils</small></label><br>
<label><input type="checkbox" name="quest" id="bonevoyage">
Bone Voyage <small>Unlocks Fossil Island Wyverns</small></label><br>
<label><input type="checkbox" name="quest" id="lostcity">
Lost City <small>Unlocks Mutated Zygomites, Otherworldly Beings</small></label><br>
<label><input type="checkbox" name="quest" id="cabinfever">
Cabin Fever <small>Unlocks Cave, Jungle Horrors</small></label><br>
<label><input type="checkbox" name="quest" id="scabaras">
Contact! <small>Unlocks Minions of Scabaras</small></label><br>
<label><input type="checkbox" name="quest" id="spiritcreatures">
Death Plateau <small>Unlocks Spiritual Creatures</small></label><br>
<label><input type="checkbox" name="quest" id="molanisks">
Death to the Dorgeshuun <small>Unlocks Molanisks</small></label><br>
<label><input type="checkbox" name="quest" id="dustdevils">
Desert Treasure (started) <small>Unlocks Dust, Smoke Devils</small></label><br>
<label><input type="checkbox" name="quest" id="dragonslayer">
Dragon Slayer <small>Unlocks Dragons</small></label><br>
<label><input type="checkbox" name="quest" id="dragonslayer2">
Dragon Slayer II <small>Unlocks Adamant, Rune Dragons</small></label><br>
<label><input type="checkbox" name="quest" id="skeletalwyverns">
Elemental Workshop I <small>Unlocks Skeletals Wyverns</small></label><br>
<label><input type="checkbox" name="quest" id="seasnakes">
Royal Trouble <small>Unlocks Sea Snakes</small></label><br>
<label><input type="checkbox" name="quest" id="killerwatts">
Ernest the Chicken <small>Unlocks Killerwatts</small></label><br>
<label><input type="checkbox" name="quest" id="fairytale2">
Fairy Tale II <small>Unlocks Abyssal Demons (without Priest in Peril)</small></label><br>
<label><input type="checkbox" name="quest" id="dagannoths">
Horror from the Deep <small>Unlocks Dagannoths</small></label><br>
</form>
</div>
<div class="col-6 quests">
<form>
<label><input type="checkbox" name="quest" id="firegiants">
Waterfall Quest <small>Unlocks Fire Giants</small></label><br>
<label><input type="checkbox" name="quest" id="killerwatts">
Ernest the Chicken <small>Unlocks Killerwatts</small></label><br>
<label><input type="checkbox" name="quest" id="elves">
Regicide (started) <small>Unlocks Elves</small></label><br>
<label><input type="checkbox" name="quest" id="feverspiders">
Rum Deal (started) <small>Unlocks Fever Spiders</small></label><br>
<label><input type="checkbox" name="quest" id="molanisks">
Death to the Dorgeshuun <small>Unlocks Molanisks</small></label><br>
<label><input type="checkbox" name="quest" id="shadowwarriors">
Legends' Quest <small>Unlocks Shadow Warriors</small></label><br>
<label><input type="checkbox" name="quest" id="dragonslayer">
Dragon Slayer <small>Unlocks Dragons</small></label><br>
<label><input type="checkbox" name="quest" id="scabaras">
Contact! <small>Unlocks Minions of Scabaras</small></label><br>
<label><input type="checkbox" name="quest" id="lostcity">
Lost City <small>Unlocks Mutated Zygomites, Otherworldly Beings</small></label><br>
<label><input type="checkbox" name="quest" id="suqahs">
Lunar Diplomacy (partial) <small>Unlocks Suqahs</small></label><br>
<label><input type="checkbox" name="quest" id="darkbeasts">
Mourning's End Part II (started) <small>Unlocks Dark Beasts</small></label><br>
<label><input type="checkbox" name="quest" id="brinerats">
Olaf's Quest (partial) <small>Unlocks Brine Rats</small></label><br>
<label><input type="checkbox" name="quest" id="priestinperil">
Priest in Peril <small>Unlocks <a href="javascript:void(0)" data-toggle="tooltip" data-original-title="Default tooltip" title="Banshees, Crawling hands, Vampyres, Ghouls, Shades, Werewolves, Bloodvelds, Aberrant spectres, Infernal mages, Nechryaels, Gargoyles and Abyssal Demons">Slayer Tower monsters</a></small></label><br>
<label><input type="checkbox" name="quest" id="elves">
Regicide (started) <small>Unlocks Elves</small></label><br>
<label><input type="checkbox" name="quest" id="seasnakes">
Royal Trouble <small>Unlocks Sea Snakes</small></label><br>
<label><input type="checkbox" name="quest" id="feverspiders">
Rum Deal (started) <small>Unlocks Fever Spiders</small></label><br>
<label><input type="checkbox" name="quest" id="mogres">
Skippy and the Mogres (miniquest) <small>Unlocks Mogres</small></label><br>
<label><input type="checkbox" name="quest" id="firegiants">
Waterfall Quest <small>Unlocks Fire Giants</small></label><br>
</form>
</div>
</div>

5
js/popper.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -46,6 +46,7 @@ $(document).ready(function () {
applyChanges('krystilia');
toggleQuestAll($('#toggleQuests'));
$('[data-toggle="tooltip"]').tooltip()
});
function filterTasks(data) {
@ -58,37 +59,37 @@ function filterTasks(data) {
// Slayer point unlocks
case 'RED DRAGONS':
if ($("#reddrags").prop("checked") == false) {
if ($("#reddrags").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'MITHRIL DRAGONS':
if ($("#mithdrags").prop("checked") == false) {
if ($("#mithdrags").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'AVIANSIES':
if ($("#aviansies").prop("checked") == false) {
if ($("#aviansies").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'TZHAAR':
if ($("#tzhaar").prop("checked") == false) {
if ($("#tzhaar").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'LIZARDMEN':
if ($("#lizardmen").prop("checked") == false) {
if ($("#lizardmen").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'BOSSES':
if ($("#bosses").prop("checked") == false) {
if ($("#bosses").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'FOSSIL ISLAND WYVERNS':
if ($("#fossilwyverns").prop("checked") == true) {
if ($("#fossilwyverns").prop("checked") === true) {
index_list.unshift(i)
}
break;
@ -96,91 +97,91 @@ function filterTasks(data) {
// Quest task unlocks
case 'SPIRITUAL CREATURES':
if ($("#spiritcreatures").prop("checked") == false) {
if ($("#spiritcreatures").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'RUNE DRAGONS':
case 'ADAMANT DRAGONS':
if ($("#dragonslayer2").prop("checked") == false) {
if ($("#dragonslayer2").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'BRINE RATS':
if ($("#brinerats").prop("checked") == false) {
if ($("#brinerats").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'DAGANNOTHS':
if ($("#dagannoths").prop("checked") == false) {
if ($("#dagannoths").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'DARK BEASTS':
if ($("#darkbeasts").prop("checked") == false) {
if ($("#darkbeasts").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'DUST DEVILS':
case 'SMOKE DEVILS':
if ($("#dustdevils").prop("checked") == false) {
if ($("#dustdevils").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'FOSSIL ISLAND WYVERNS':
if ($("#bonevoyage").prop("checked") == false) {
if ($("#bonevoyage").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'MUTATED ZYGOMITES':
case 'OTHERWORLDLY BEINGS':
if ($("#lostcity").prop("checked") == false) {
if ($("#lostcity").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'CAVE HORRORS':
case 'JUNGLE HORRORS':
if ($("#cabinfever").prop("checked") == false) {
if ($("#cabinfever").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'SKELETAL WYVERNS':
if ($("#skeletalwyverns").prop("checked") == false) {
if ($("#skeletalwyverns").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'SEA SNAKES':
if ($("#seasnakes").prop("checked") == false) {
if ($("#seasnakes").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'FIRE GIANTS':
if ($("#firegiants").prop("checked") == false) {
if ($("#firegiants").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'KILLERWATTS':
if ($("#killerwatts").prop("checked") == false) {
if ($("#killerwatts").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'ELVES':
if ($("#elves").prop("checked") == false) {
if ($("#elves").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'FEVER SPIDERS':
if ($("#feverspiders").prop("checked") == false) {
if ($("#feverspiders").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'MOLANISKS':
if ($("#molanisks").prop("checked") == false) {
if ($("#molanisks").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'SHADOW WARRIORS':
if ($("#shadowwarriors").prop("checked") == false) {
if ($("#shadowwarriors").prop("checked") === false) {
index_list.unshift(i)
}
break;
@ -191,22 +192,43 @@ function filterTasks(data) {
case 'BRONZE DRAGONS':
case 'IRON DRAGONS':
case 'STEEL DRAGONS':
if ($("#dragonslayer").prop("checked") == false) {
if ($("#dragonslayer").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'MINIONS OF SCABARAS':
if ($("#scabaras").prop("checked") == false) {
if ($("#scabaras").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'SUQAHS':
if ($("#suqahs").prop("checked") == false) {
if ($("#suqahs").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'BANSHEES':
case 'CRAWLING HANDS':
case 'VAMPYRES':
case 'GHOULS':
case 'SHADES':
case 'WEREWOLVES':
case 'BLOODVELDS':
case 'ABERRANT SPECTRES':
case 'INFERNAL MAGES':
case 'NECHRYAELS':
case 'GARGOYLES':
if ($("#priestinperil").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'ABYSSAL DEMONS':
if ($("#priestinperil").prop("checked") === false &&
$("#fairytale2").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'MOGRES':
if ($("#mogres").prop("checked") == false) {
if ($("#mogres").prop("checked") === false) {
index_list.unshift(i)
}
@ -243,7 +265,7 @@ function filterTasks(data) {
unique_list = index_list.filter(onlyUnique);
for (var i in unique_list) {
console.log(data[unique_list[i]])
// console.log(data[unique_list[i]])
data.splice(unique_list[i], 1)
}