mirror of
https://github.com/bartvdbraak/SlayerWeightCalculator.git
synced 2025-06-28 15:29:15 +00:00
completed datafiles
This commit is contained in:
parent
2cec65ac2d
commit
db57e7507c
21 changed files with 1663 additions and 12196 deletions
24
js/script.js
24
js/script.js
|
@ -188,12 +188,6 @@ function filterTasks(data) {
|
|||
|
||||
}
|
||||
|
||||
// Slayer requirement
|
||||
|
||||
if (data[i].slayer_req > $("#slayerlevel").val()) {
|
||||
index_list.unshift(i)
|
||||
}
|
||||
|
||||
// Task blocks
|
||||
|
||||
$( ".blocktask" ).each(function( index ) {
|
||||
|
@ -202,6 +196,24 @@ function filterTasks(data) {
|
|||
}
|
||||
});
|
||||
|
||||
// Slayer requirement
|
||||
|
||||
if (data[i].slayer_req > $("#slayerlevel").val()) {
|
||||
index_list.unshift(i)
|
||||
}
|
||||
|
||||
// Defence requirement
|
||||
|
||||
if (data[i].defence_req > $("#defencelevel").val()) {
|
||||
index_list.unshift(i)
|
||||
}
|
||||
|
||||
// Combat requirement
|
||||
|
||||
if (data[i].combat_req > $("#combatlevel").val()) {
|
||||
index_list.unshift(i)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
unique_list = index_list.filter(onlyUnique);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue