mirror of
https://github.com/bartvdbraak/SlayerWeightCalculator.git
synced 2025-04-28 01:51:23 +00:00
temporary
This commit is contained in:
parent
88f21e9328
commit
a9df851533
1 changed files with 12 additions and 11 deletions
|
@ -92,7 +92,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
monsterData: monster_json,
|
monsterData: monster_json,
|
||||||
masterData: master_json,
|
mastersData: master_json,
|
||||||
configData: {
|
configData: {
|
||||||
pointUnlocks: [
|
pointUnlocks: [
|
||||||
{id: 0, name: 'Seeing red', monster_ids: [83, 3], unlock: false, masters: [5,6,7]},
|
{id: 0, name: 'Seeing red', monster_ids: [83, 3], unlock: false, masters: [5,6,7]},
|
||||||
|
@ -164,6 +164,7 @@ export default {
|
||||||
return monsterList.join(', ').replace(/,(?!.*,)/gmi, ' and');
|
return monsterList.join(', ').replace(/,(?!.*,)/gmi, ' and');
|
||||||
},
|
},
|
||||||
masterListString(entry) {
|
masterListString(entry) {
|
||||||
|
|
||||||
let masterList = [];
|
let masterList = [];
|
||||||
entry['masters'].forEach( id => {
|
entry['masters'].forEach( id => {
|
||||||
masterList.push(this.mastersData[id].name)
|
masterList.push(this.mastersData[id].name)
|
||||||
|
|
Loading…
Reference in a new issue