diff --git a/src/data/classes.json b/src/data/classes.json index e1372f7..9285170 100644 --- a/src/data/classes.json +++ b/src/data/classes.json @@ -1,144 +1,54 @@ { "classes": [ - { - "name": "Wretch", - "level": 1, - "stats": [ - 10, - 10, - 10, - 10, - 10, - 10, - 10, - 10 - ] - }, { "name": "Vagabond", "level": 9, - "stats": [ - 15, - 10, - 11, - 14, - 13, - 9, - 9, - 7 - ] + "stats": [15, 10, 11, 14, 13, 9, 9, 7] }, { "name": "Warrior", "level": 8, - "stats": [ - 11, - 12, - 11, - 10, - 16, - 10, - 8, - 9 - ] + "stats": [11, 12, 11, 10, 16, 10, 8, 9] }, { "name": "Hero", "level": 7, - "stats": [ - 14, - 9, - 12, - 16, - 9, - 7, - 8, - 11 - ] + "stats": [14, 9, 12, 16, 9, 7, 8, 11] }, { "name": "Bandit", "level": 5, - "stats": [ - 10, - 11, - 10, - 9, - 13, - 9, - 8, - 14 - ] + "stats": [10, 11, 10, 9, 13, 9, 8, 14] }, { "name": "Astrologer", "level": 6, - "stats": [ - 9, - 15, - 9, - 8, - 12, - 16, - 7, - 9 - ] + "stats": [9, 15, 9, 8, 12, 16, 7, 9] }, { "name": "Prophet", "level": 7, - "stats": [ - 10, - 14, - 8, - 11, - 10, - 7, - 16, - 10 - ] + "stats": [10, 14, 8, 11, 10, 7, 16, 10] }, { "name": "Samurai", "level": 9, - "stats": [ - 12, - 11, - 13, - 12, - 15, - 9, - 8, - 8 - ] + "stats": [12, 11, 13, 12, 15, 9, 8, 8] }, { "name": "Prisoner", "level": 9, - "stats": [ - 11, - 12, - 11, - 11, - 14, - 14, - 6, - 9 - ] + "stats": [11, 12, 11, 11, 14, 14, 6, 9] }, { "name": "Confessor", "level": 10, - "stats": [ - 10, - 13, - 10, - 12, - 12, - 9, - 14, - 9 - ] + "stats": [10, 13, 10, 12, 12, 9, 14, 9] + }, + { + "name": "Wretch", + "level": 1, + "stats": [10, 10, 10, 10, 10, 10, 10, 10] } ] -} \ No newline at end of file +} diff --git a/src/data/equipment.json b/src/data/equipment.json new file mode 100644 index 0000000..ef4c99a --- /dev/null +++ b/src/data/equipment.json @@ -0,0 +1,136 @@ +{ + "helms": [ + { + "id": "albinauric-mask", + "name": "Albinauric Mask", + "weight": 3.8, + "stats": [0, 0, 0, 0, 0, 0, 0, 4] + }, + { + "id": "crimson-hood", + "name": "Crimson Hood", + "weight": 1.7, + "stats": [1, 0, 0, 0, 0, 0, 0, 0] + }, + { + "id": "navy-hood", + "name": "Navy Hood", + "weight": 1.7, + "stats": [0, 1, 0, 0, 0, 0, 0, 0] + }, + { + "id": "haligtree-helm", + "name": "Haligtree Helm", + "weight": 4.0, + "stats": [0, 0, 0, 0, 0, 0, 1, 0] + }, + { + "id": "haligtree-knight-helm", + "name": "Haligtree Knight Helm", + "weight": 5.1, + "stats": [0, 0, 0, 0, 0, 0, 2, 0] + }, + { + "id": "hierodas-glintstone-crown", + "name": "Hierodas Glintstone Crown", + "weight": 3, + "stats": [0, 0, 2, 0, 0, 2, 0, 0] + }, + { + "id": "mask-of-confidence", + "name": "Mask of Confidence", + "weight": 3.6, + "stats": [0, 0, 0, 0, 0, 0, 0, 3] + }, + { + "id": "queens-crescent-crown", + "name": "Queen's Crescent Crown", + "weight": 2.2, + "stats": [0, 0, 0, 0, 0, 3, 0, 0] + }, + { + "id": "karolos-glintstone-crown", + "name": "Karolos Glintstone Crown", + "weight": 5.1, + "stats": [0, 0, 0, 0, 0, 3, 0, 0] + }, + { + "id": "olivinus-glintstone-crown", + "name": "Olivinus Glintstone Crown", + "weight": 5.1, + "stats": [0, 0, 0, 0, 0, 3, 0, 0] + }, + { + "id": "twinsage-glintstone-crown", + "name": "Twinsage Glintstone Crown", + "weight": 5.1, + "stats": [0, 0, 0, 0, 0, 6, 0, 0] + }, + { + "id": "witchs-glintstone-crown", + "name": "Witch's Glintstone Crown", + "weight": 5.1, + "stats": [0, 0, 0, 0, 0, 3, 0, 3] + }, + { + "id": "haima-glintstone-crown", + "name": "Haima Glintstone Crown", + "weight": 2.7, + "stats": [0, 0, 0, 2, 0, 2, 0, 0] + }, + { + "id": "omensmirk-mask", + "name": "Omensmirk Mask", + "weight": 3, + "stats": [0, 0, 0, 2, 0, 0, 0, 0] + }, + { + "id": "silver-tear-mask", + "name": "Silver Tear Mask", + "weight": 4.6, + "stats": [0, 0, 0, 0, 0, 0, 0, 8] + }, + { + "id": "imp-head-cat", + "name": "Imp Head (Cat)", + "weight": 8.1, + "stats": [0, 0, 0, 0, 0, 2, 0, 0] + }, + { + "id": "imp-head-corpse", + "name": "Imp Head (Corpse)", + "weight": 8.1, + "stats": [0, 0, 0, 0, 0, 0, 2, 0] + }, + { + "id": "imp-head-elder", + "name": "Imp Head (Elder)", + "weight": 8.1, + "stats": [0, 0, 0, 0, 0, 0, 0, 2] + }, + { + "id": "imp-head-fanged", + "name": "Imp Head (Fanged)", + "weight": 8.1, + "stats": [0, 0, 0, 2, 0, 0, 0, 0] + }, + { + "id": "imp-head-long-tongued", + "name": "Imp Head (Long-Tongued)", + "weight": 8.1, + "stats": [0, 0, 0, 0, 2, 0, 0, 0] + }, + { + "id": "imp-head-wolf", + "name": "Imp Head (Wolf)", + "weight": 8.1, + "stats": [0, 0, 2, 0, 0, 0, 0, 0] + }, + { + "id": "okina-mask", + "name": "Okina Mask", + "weight": 3.6, + "stats": [0, 0, 0, 0, 3, 0, 0, 0] + } + ] +} diff --git a/src/data/talismans.json b/src/data/talismans.json index a95ff96..cb15b97 100644 --- a/src/data/talismans.json +++ b/src/data/talismans.json @@ -4,110 +4,47 @@ "id": "radagons-soreseal", "name": "Radagon's Soreseal", "weight": 0.8, - "stats": [ - 5, - 0, - 5, - 5, - 5, - 0, - 0, - 0 - ] + "stats": [5, 0, 5, 5, 5, 0, 0, 0] }, { "id": "marikas-soreseal", "name": "Marika's Soreseal", "weight": 0.8, - "stats": [ - 0, - 5, - 0, - 0, - 0, - 5, - 5, - 5 - ] + "stats": [0, 5, 0, 0, 0, 5, 5, 5] }, { "id": "prosthesis-wearer-heirloom", "name": "Prosthesis-Wearer Heirloom", "weight": 0.8, - "stats": [ - 0, - 0, - 0, - 0, - 5, - 0, - 0, - 0 - ] + "stats": [0, 0, 0, 0, 5, 0, 0, 0] }, { "id": "stargazer-heirloom", "name": "Stargazer Heirloom", "weight": 0.8, - "stats": [ - 0, - 0, - 0, - 0, - 0, - 5, - 0, - 0 - ] + "stats": [0, 0, 0, 0, 0, 5, 0, 0] }, { "id": "starscourge-heirloom", "name": "Starscourge Heirloom", "weight": 0.8, - "stats": [ - 0, - 0, - 0, - 5, - 0, - 0, - 0, - 0 - ] + "stats": [0, 0, 0, 5, 0, 0, 0, 0] }, { "id": "two-fingers-heirloom", "name": "Two Fingers Heirloom", "weight": 0.8, - "stats": [ - 0, - 0, - 0, - 0, - 0, - 0, - 5, - 0 - ] + "stats": [0, 0, 0, 0, 0, 0, 5, 0] }, { "id": "millicents-prosthesis", "name": "Millicent's Prosthesis", "weight": 0.8, - "stats": [ - 0, - 0, - 0, - 0, - 5, - 0, - 0, - 0 - ] + "stats": [0, 0, 0, 0, 5, 0, 0, 0] }, { "name": "Arrow's Reach Talisman", "weight": 0.7 } ] -} \ No newline at end of file +} diff --git a/src/optimizer.html b/src/optimizer.html index b6309b0..26397fc 100644 --- a/src/optimizer.html +++ b/src/optimizer.html @@ -11,11 +11,10 @@ Erdtree - Class Optimizer - - +