Compare commits
4 Commits
378cf4aa72
...
88e541fccb
Author | SHA1 | Date | |
---|---|---|---|
88e541fccb | |||
0ba572525a | |||
c71c7e6eac | |||
82af9265eb |
2
app.js
2
app.js
@ -196,7 +196,7 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$http.get('https://raw.githubusercontent.com/Mopolo/Eternelle-Moisson/gh-pages/monsters.json').then(function(res) {
|
$http.get('monsters.json').then(function(res) {
|
||||||
vm.monsters = res.data;
|
vm.monsters = res.data;
|
||||||
vm.monsters.forEach(monster => {
|
vm.monsters.forEach(monster => {
|
||||||
monster.owned = vm.saveData?.find(el => el[0] === monster.id) ? vm.saveData.find(el => el[0] === monster.id)[1] : 0
|
monster.owned = vm.saveData?.find(el => el[0] === monster.id) ? vm.saveData.find(el => el[0] === monster.id)[1] : 0
|
||||||
|
6317
monsters.json
Normal file
6317
monsters.json
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user