Compare commits

..

4 Commits

Author SHA1 Message Date
88e541fccb Merge pull request 'Backup local du monsters.json et mise à jour des monstres requis selon 2.63.9.16' (#7) from backup-monsters-json-and-update-list into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #7
2022-06-07 18:56:49 +00:00
0ba572525a Mise à jour des monstres requis en 2.63.9.15
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-06-07 18:54:51 +00:00
c71c7e6eac Référencer la BDD locale
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-07 18:41:43 +00:00
82af9265eb Backup local du monsters.json
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-07 18:40:09 +00:00
2 changed files with 6318 additions and 1 deletions

2
app.js
View File

@ -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

File diff suppressed because it is too large Load Diff