From f4457504af8eb5f5d1d00bd4e9f622e7407e5a3c Mon Sep 17 00:00:00 2001 From: DazedAnon Date: Tue, 24 Dec 2024 15:53:05 -0600 Subject: [PATCH] Fix staff bug --- www/data/Weapons.json | 36 ++++++++++++++--------------- www/js/plugins/CategorySynthesis.js | 3 +++ 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/www/data/Weapons.json b/www/data/Weapons.json index 7425b20..3948d01 100644 --- a/www/data/Weapons.json +++ b/www/data/Weapons.json @@ -924,7 +924,7 @@ ], "iconIndex": 101, "name": "Oak Staff", - "note": "\n<掲載レシピ:W32>\n<分類:Selena>\n", + "note": "\n<掲載レシピ:W32>\n<分類:セレナ>\n", "params": [ 0, 0, @@ -952,7 +952,7 @@ ], "iconIndex": 101, "name": "Sakura's Staff", - "note": "\n<掲載レシピ:W33>\n<分類:Selena>\n", + "note": "\n<掲載レシピ:W33>\n<分類:セレナ>\n", "params": [ 0, 0, @@ -980,7 +980,7 @@ ], "iconIndex": 101, "name": "Staff of Wisdom", - "note": "\n<掲載レシピ:W34>\n<分類:Selena>\n", + "note": "\n<掲載レシピ:W34>\n<分類:セレナ>\n", "params": [ 0, 0, @@ -1008,7 +1008,7 @@ ], "iconIndex": 101, "name": "Staff of Power", - "note": "\n<掲載レシピ:W35>\n<分類:Selena>", + "note": "\n<掲載レシピ:W35>\n<分類:セレナ>", "params": [ 0, 0, @@ -1036,7 +1036,7 @@ ], "iconIndex": 101, "name": "Wand of Magic Thoughts", - "note": "\n<掲載レシピ:W36>\n<分類:Selena>", + "note": "\n<掲載レシピ:W36>\n<分類:セレナ>", "params": [ 0, 0, @@ -1064,7 +1064,7 @@ ], "iconIndex": 101, "name": "Mage's Staff", - "note": "\n<掲載レシピ:W37>\n<分類:Selena>", + "note": "\n<掲載レシピ:W37>\n<分類:セレナ>", "params": [ 0, 0, @@ -1092,7 +1092,7 @@ ], "iconIndex": 101, "name": "Metis", - "note": "\n<掲載レシピ:W38>\n<分類:Selena>", + "note": "\n<掲載レシピ:W38>\n<分類:セレナ>", "params": [ 0, 0, @@ -1120,7 +1120,7 @@ ], "iconIndex": 101, "name": "Staff of the Celestial Realm", - "note": "\n<分類:Selena>", + "note": "\n<分類:セレナ>", "params": [ 0, 0, @@ -1181,7 +1181,7 @@ ], "iconIndex": 121, "name": "Beginner's Grimoire", - "note": "\n\n<分類:Selena>\n<合成材料:I71:1,I81:2>", + "note": "\n\n<分類:セレナ>\n<合成材料:I71:1,I81:2>", "params": [ 0, 0, @@ -1209,7 +1209,7 @@ ], "iconIndex": 121, "name": "Intermediate Grimoire", - "note": "\n<掲載レシピ:W42>\n<分類:Selena>\n", + "note": "\n<掲載レシピ:W42>\n<分類:セレナ>\n", "params": [ 0, 0, @@ -1237,7 +1237,7 @@ ], "iconIndex": 121, "name": "Advanced Grimoire", - "note": "\n<掲載レシピ:W43>\n<分類:Selena>\n", + "note": "\n<掲載レシピ:W43>\n<分類:セレナ>\n", "params": [ 0, 0, @@ -1265,7 +1265,7 @@ ], "iconIndex": 186, "name": "Book of Fantasia", - "note": "\n<掲載レシピ:W44>\n<分類:Selena>", + "note": "\n<掲載レシピ:W44>\n<分類:セレナ>", "params": [ 0, 0, @@ -1293,7 +1293,7 @@ ], "iconIndex": 121, "name": "Cardia's Book", - "note": "\n<掲載レシピ:W45>\n<分類:Selena>\n", + "note": "\n<掲載レシピ:W45>\n<分類:セレナ>\n", "params": [ 0, 0, @@ -1321,7 +1321,7 @@ ], "iconIndex": 101, "name": "Prinkipia", - "note": "\n<掲載レシピ:W46>\n<分類:Selena>", + "note": "\n<掲載レシピ:W46>\n<分類:セレナ>", "params": [ 0, 0, @@ -1349,7 +1349,7 @@ ], "iconIndex": 121, "name": "Forbidden Book of Valhalla", - "note": "\n<掲載レシピ:W47>\n<分類:Selena>\n", + "note": "\n<掲載レシピ:W47>\n<分類:セレナ>\n", "params": [ 0, 0, @@ -1377,7 +1377,7 @@ ], "iconIndex": 121, "name": "Infinity Book", - "note": "\n<掲載レシピ:W48>\n<分類:Selena>\n", + "note": "\n<掲載レシピ:W48>\n<分類:セレナ>\n", "params": [ 0, 0, @@ -1405,7 +1405,7 @@ ], "iconIndex": 121, "name": "Grimoire", - "note": "\n\n<分類:Selena>\n", + "note": "\n\n<分類:セレナ>\n", "params": [ 0, 0, @@ -1466,7 +1466,7 @@ ], "iconIndex": 101, "name": "Staff", - "note": "\n<分類:Selena>", + "note": "\n<分類:セレナ>", "params": [ 0, 0, diff --git a/www/js/plugins/CategorySynthesis.js b/www/js/plugins/CategorySynthesis.js index cbecd4e..126fb11 100644 --- a/www/js/plugins/CategorySynthesis.js +++ b/www/js/plugins/CategorySynthesis.js @@ -627,6 +627,9 @@ Imported['CategorySythesis'] = 1.00; } var categories = DataManager.itemSecondaryCategories(item); var cate = this._category; + if (cate == 'Selena') { + cate = 'セレナ'; + } if (cate == 'Rona') { cate = 'シーフ'; }