From 9ae4a3033ed5df8dde046772901530cdbf29ef19 Mon Sep 17 00:00:00 2001 From: Mees Date: Thu, 17 Oct 2024 18:40:30 +0200 Subject: [PATCH] fix: soldier set bonus --- .eslintcache | 2 +- src/types/items/itemRegistry.ts | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.eslintcache b/.eslintcache index eed8454..ca6bcdd 100644 --- a/.eslintcache +++ b/.eslintcache @@ -1 +1 @@ -[{"/home/mees/idle-ant-farm/.eslintrc.js":"1","/home/mees/idle-ant-farm/src/views/AntResources.vue":"2","/home/mees/idle-ant-farm/src/views/EquipmentPage.vue":"3","/home/mees/idle-ant-farm/src/views/HomePage.vue":"4","/home/mees/idle-ant-farm/src/views/SettingsPage.vue":"5","/home/mees/idle-ant-farm/src/views/Training/TrainingFarming.vue":"6","/home/mees/idle-ant-farm/src/views/Training/TrainingForaging.vue":"7","/home/mees/idle-ant-farm/src/App.vue":"8","/home/mees/idle-ant-farm/src/types/items/sets/underworldSet.ts":"9","/home/mees/idle-ant-farm/src/types/items/sets/volcanoSet.ts":"10","/home/mees/idle-ant-farm/src/utils/index.ts":"11","/home/mees/idle-ant-farm/src/stores/trainingStore.ts":"12","/home/mees/idle-ant-farm/src/components/AvailableEquipment.vue":"13","/home/mees/idle-ant-farm/src/components/EquipmentSectionComponent.vue":"14","/home/mees/idle-ant-farm/src/components/SlotComponent.vue":"15","/home/mees/idle-ant-farm/src/stores/adventureStore.ts":"16","/home/mees/idle-ant-farm/src/stores/equipmentStore.ts":"17","/home/mees/idle-ant-farm/src/stores/inventoryStore.ts":"18","/home/mees/idle-ant-farm/src/components/EnemyDropItem.vue":"19","/home/mees/idle-ant-farm/src/types/items/passiveItems.ts":"20","/home/mees/idle-ant-farm/src/views/PassivePage.vue":"21"},{"size":806,"mtime":1729111512383},{"size":29284,"mtime":1729111472111,"results":"22","hashOfConfig":"23"},{"size":2446,"mtime":1729172188181,"results":"24","hashOfConfig":"23"},{"size":23287,"mtime":1729111364232,"results":"25","hashOfConfig":"23"},{"size":14770,"mtime":1729111358502,"results":"26","hashOfConfig":"23"},{"size":6511,"mtime":1729111336210,"results":"27","hashOfConfig":"23"},{"size":6052,"mtime":1729111349291,"results":"28","hashOfConfig":"23"},{"size":469,"mtime":1729112040277,"results":"29","hashOfConfig":"23"},{"size":3837,"mtime":1729111887734,"results":"30","hashOfConfig":"23"},{"size":5386,"mtime":1729112124339,"results":"31","hashOfConfig":"23"},{"size":885,"mtime":1729112074348,"results":"32","hashOfConfig":"23"},{"size":32035,"mtime":1729180288087,"results":"33","hashOfConfig":"23"},{"size":4331,"mtime":1729181250223,"results":"34","hashOfConfig":"23"},{"size":4373,"mtime":1729178855870,"results":"35","hashOfConfig":"23"},{"size":2619,"mtime":1729174386144,"results":"36","hashOfConfig":"23"},{"size":33202,"mtime":1729174476712,"results":"37","hashOfConfig":"23"},{"size":13447,"mtime":1729178423680,"results":"38","hashOfConfig":"23"},{"size":8957,"mtime":1729169566487,"results":"39","hashOfConfig":"23"},{"size":1077,"mtime":1729181475640,"results":"40","hashOfConfig":"23"},{"size":7448,"mtime":1729180865570,"results":"41","hashOfConfig":"23"},{"size":2012,"mtime":1729181269456,"results":"42","hashOfConfig":"23"},{"filePath":"43","messages":"44","suppressedMessages":"45","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"b4zptd",{"filePath":"46","messages":"47","suppressedMessages":"48","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"49","messages":"50","suppressedMessages":"51","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"52","messages":"53","suppressedMessages":"54","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"55","messages":"56","suppressedMessages":"57","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"58","messages":"59","suppressedMessages":"60","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"61","messages":"62","suppressedMessages":"63","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"64","messages":"65","suppressedMessages":"66","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"67","messages":"68","suppressedMessages":"69","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"70","messages":"71","suppressedMessages":"72","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"73","messages":"74","suppressedMessages":"75","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"76","messages":"77","suppressedMessages":"78","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"79","messages":"80","suppressedMessages":"81","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"82","messages":"83","suppressedMessages":"84","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"85","messages":"86","suppressedMessages":"87","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"88","messages":"89","suppressedMessages":"90","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"91","messages":"92","suppressedMessages":"93","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"94","messages":"95","suppressedMessages":"96","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"97","messages":"98","suppressedMessages":"99","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"100","messages":"101","suppressedMessages":"102","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/home/mees/idle-ant-farm/src/views/AntResources.vue",[],[],"/home/mees/idle-ant-farm/src/views/EquipmentPage.vue",["103"],[],"/home/mees/idle-ant-farm/src/views/HomePage.vue",["104"],[],"/home/mees/idle-ant-farm/src/views/SettingsPage.vue",[],[],"/home/mees/idle-ant-farm/src/views/Training/TrainingFarming.vue",["105","106"],[],"/home/mees/idle-ant-farm/src/views/Training/TrainingForaging.vue",[],[],"/home/mees/idle-ant-farm/src/App.vue",[],[],"/home/mees/idle-ant-farm/src/types/items/sets/underworldSet.ts",[],[],"/home/mees/idle-ant-farm/src/types/items/sets/volcanoSet.ts",[],[],"/home/mees/idle-ant-farm/src/utils/index.ts",[],[],"/home/mees/idle-ant-farm/src/stores/trainingStore.ts",["107","108"],[],"/home/mees/idle-ant-farm/src/components/AvailableEquipment.vue",["109"],[],"/home/mees/idle-ant-farm/src/components/EquipmentSectionComponent.vue",["110"],[],"/home/mees/idle-ant-farm/src/components/SlotComponent.vue",["111","112","113","114"],[],"/home/mees/idle-ant-farm/src/stores/adventureStore.ts",["115","116","117"],[],"/home/mees/idle-ant-farm/src/stores/equipmentStore.ts",["118"],[],"/home/mees/idle-ant-farm/src/stores/inventoryStore.ts",[],[],"/home/mees/idle-ant-farm/src/components/EnemyDropItem.vue",[],[],"/home/mees/idle-ant-farm/src/types/items/passiveItems.ts",[],[],"/home/mees/idle-ant-farm/src/views/PassivePage.vue",["119"],[],{"ruleId":"120","severity":1,"message":"121","line":71,"column":7,"nodeType":"122","messageId":"123","endLine":71,"endColumn":21},{"ruleId":"120","severity":1,"message":"124","line":589,"column":25,"nodeType":"122","messageId":"123","endLine":589,"endColumn":51},{"ruleId":"120","severity":1,"message":"125","line":208,"column":7,"nodeType":"122","messageId":"123","endLine":208,"endColumn":16},{"ruleId":"120","severity":1,"message":"126","line":216,"column":7,"nodeType":"122","messageId":"123","endLine":216,"endColumn":16},{"ruleId":"120","severity":1,"message":"127","line":224,"column":21,"nodeType":"122","messageId":"123","endLine":224,"endColumn":26},{"ruleId":"120","severity":1,"message":"128","line":245,"column":40,"nodeType":"122","messageId":"123","endLine":245,"endColumn":45},{"ruleId":"120","severity":1,"message":"129","line":92,"column":10,"nodeType":"122","messageId":"123","endLine":92,"endColumn":27},{"ruleId":"120","severity":1,"message":"130","line":97,"column":7,"nodeType":"122","messageId":"123","endLine":97,"endColumn":23},{"ruleId":"120","severity":1,"message":"131","line":43,"column":19,"nodeType":"122","messageId":"123","endLine":43,"endColumn":30},{"ruleId":"132","severity":1,"message":"133","line":49,"column":3,"nodeType":"134","messageId":"135","endLine":49,"endColumn":15},{"ruleId":"132","severity":1,"message":"136","line":50,"column":3,"nodeType":"134","messageId":"135","endLine":50,"endColumn":19},{"ruleId":"132","severity":1,"message":"137","line":51,"column":3,"nodeType":"134","messageId":"135","endLine":51,"endColumn":16},{"ruleId":"138","severity":1,"message":"139","line":671,"column":47,"nodeType":"140","messageId":"141","endLine":671,"endColumn":50,"suggestions":"142"},{"ruleId":"138","severity":1,"message":"139","line":673,"column":57,"nodeType":"140","messageId":"141","endLine":673,"endColumn":60,"suggestions":"143"},{"ruleId":"138","severity":1,"message":"139","line":687,"column":40,"nodeType":"140","messageId":"141","endLine":687,"endColumn":43,"suggestions":"144"},{"ruleId":"120","severity":1,"message":"127","line":55,"column":32,"nodeType":"122","messageId":"123","endLine":55,"endColumn":37},{"ruleId":"120","severity":1,"message":"129","line":50,"column":9,"nodeType":"122","messageId":"123","endLine":50,"endColumn":26},"@typescript-eslint/no-unused-vars","'inventoryStore' is assigned a value but never used.","Identifier","unusedVar","'event' is defined but never used.","'addFungus' is assigned a value but never used.","'debugMode' is assigned a value but never used.","'state' is defined but never used.","'index' is defined but never used.","'useAdventureStore' is defined but never used.","'accessoryColumns' is assigned a value but never used.","'defineEmits' is defined but never used.","vue/require-default-prop","Prop 'item' requires default value to be set.","Property","missingDefault","Prop 'slotType' requires default value to be set.","Prop 'index' requires default value to be set.","@typescript-eslint/no-explicit-any","Unexpected any. Specify a different type.","TSAnyKeyword","unexpectedAny",["145","146"],["147","148"],["149","150"],{"messageId":"151","fix":"152","desc":"153"},{"messageId":"154","fix":"155","desc":"156"},{"messageId":"151","fix":"157","desc":"153"},{"messageId":"154","fix":"158","desc":"156"},{"messageId":"151","fix":"159","desc":"153"},{"messageId":"154","fix":"160","desc":"156"},"suggestUnknown",{"range":"161","text":"162"},"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct.","suggestNever",{"range":"163","text":"164"},"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of.",{"range":"165","text":"162"},{"range":"166","text":"164"},{"range":"167","text":"162"},{"range":"168","text":"164"},[22901,22904],"unknown",[22901,22904],"never",[22992,22995],[22992,22995],[23401,23404],[23401,23404]] \ No newline at end of file +[{"/home/mees/idle-ant-farm/.eslintrc.js":"1","/home/mees/idle-ant-farm/src/views/AntResources.vue":"2","/home/mees/idle-ant-farm/src/views/EquipmentPage.vue":"3","/home/mees/idle-ant-farm/src/views/HomePage.vue":"4","/home/mees/idle-ant-farm/src/views/SettingsPage.vue":"5","/home/mees/idle-ant-farm/src/views/Training/TrainingFarming.vue":"6","/home/mees/idle-ant-farm/src/views/Training/TrainingForaging.vue":"7","/home/mees/idle-ant-farm/src/App.vue":"8","/home/mees/idle-ant-farm/src/types/items/sets/underworldSet.ts":"9","/home/mees/idle-ant-farm/src/types/items/sets/volcanoSet.ts":"10","/home/mees/idle-ant-farm/src/utils/index.ts":"11","/home/mees/idle-ant-farm/src/stores/trainingStore.ts":"12","/home/mees/idle-ant-farm/src/components/AvailableEquipment.vue":"13","/home/mees/idle-ant-farm/src/components/EquipmentSectionComponent.vue":"14","/home/mees/idle-ant-farm/src/components/SlotComponent.vue":"15","/home/mees/idle-ant-farm/src/stores/adventureStore.ts":"16","/home/mees/idle-ant-farm/src/stores/equipmentStore.ts":"17","/home/mees/idle-ant-farm/src/stores/inventoryStore.ts":"18","/home/mees/idle-ant-farm/src/components/EnemyDropItem.vue":"19","/home/mees/idle-ant-farm/src/types/items/passiveItems.ts":"20","/home/mees/idle-ant-farm/src/views/PassivePage.vue":"21","/home/mees/idle-ant-farm/src/stores/gameStore.ts":"22","/home/mees/idle-ant-farm/src/views/DebuggerPage.vue":"23"},{"size":806,"mtime":1729111512383},{"size":29284,"mtime":1729111472111,"results":"24","hashOfConfig":"25"},{"size":2446,"mtime":1729172188181,"results":"26","hashOfConfig":"25"},{"size":23287,"mtime":1729111364232,"results":"27","hashOfConfig":"25"},{"size":14770,"mtime":1729111358502,"results":"28","hashOfConfig":"25"},{"size":6511,"mtime":1729111336210,"results":"29","hashOfConfig":"25"},{"size":6052,"mtime":1729111349291,"results":"30","hashOfConfig":"25"},{"size":469,"mtime":1729112040277,"results":"31","hashOfConfig":"25"},{"size":3837,"mtime":1729111887734,"results":"32","hashOfConfig":"25"},{"size":5386,"mtime":1729112124339,"results":"33","hashOfConfig":"25"},{"size":885,"mtime":1729112074348,"results":"34","hashOfConfig":"25"},{"size":32035,"mtime":1729180288087,"results":"35","hashOfConfig":"25"},{"size":4331,"mtime":1729181250223,"results":"36","hashOfConfig":"25"},{"size":4372,"mtime":1729182942819,"results":"37","hashOfConfig":"25"},{"size":2619,"mtime":1729174386144,"results":"38","hashOfConfig":"25"},{"size":33202,"mtime":1729174476712,"results":"39","hashOfConfig":"25"},{"size":13478,"mtime":1729182975251,"results":"40","hashOfConfig":"25"},{"size":8904,"mtime":1729181913092,"results":"41","hashOfConfig":"25"},{"size":1077,"mtime":1729181475640,"results":"42","hashOfConfig":"25"},{"size":7448,"mtime":1729180865570,"results":"43","hashOfConfig":"25"},{"size":2012,"mtime":1729181269456,"results":"44","hashOfConfig":"25"},{"size":32578,"mtime":1729182019215,"results":"45","hashOfConfig":"25"},{"size":6149,"mtime":1729182820704,"results":"46","hashOfConfig":"25"},{"filePath":"47","messages":"48","suppressedMessages":"49","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"b4zptd",{"filePath":"50","messages":"51","suppressedMessages":"52","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"53","messages":"54","suppressedMessages":"55","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"56","messages":"57","suppressedMessages":"58","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"59","messages":"60","suppressedMessages":"61","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"62","messages":"63","suppressedMessages":"64","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"65","messages":"66","suppressedMessages":"67","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","suppressedMessages":"70","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"71","messages":"72","suppressedMessages":"73","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"74","messages":"75","suppressedMessages":"76","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"77","messages":"78","suppressedMessages":"79","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"80","messages":"81","suppressedMessages":"82","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"83","messages":"84","suppressedMessages":"85","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"86","messages":"87","suppressedMessages":"88","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"89","messages":"90","suppressedMessages":"91","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"92","messages":"93","suppressedMessages":"94","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"95","messages":"96","suppressedMessages":"97","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"98","messages":"99","suppressedMessages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"101","messages":"102","suppressedMessages":"103","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"104","messages":"105","suppressedMessages":"106","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"107","messages":"108","suppressedMessages":"109","errorCount":0,"fatalErrorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"110","messages":"111","suppressedMessages":"112","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/mees/idle-ant-farm/src/views/AntResources.vue",[],[],"/home/mees/idle-ant-farm/src/views/EquipmentPage.vue",["113"],[],"/home/mees/idle-ant-farm/src/views/HomePage.vue",["114"],[],"/home/mees/idle-ant-farm/src/views/SettingsPage.vue",[],[],"/home/mees/idle-ant-farm/src/views/Training/TrainingFarming.vue",["115","116"],[],"/home/mees/idle-ant-farm/src/views/Training/TrainingForaging.vue",[],[],"/home/mees/idle-ant-farm/src/App.vue",[],[],"/home/mees/idle-ant-farm/src/types/items/sets/underworldSet.ts",[],[],"/home/mees/idle-ant-farm/src/types/items/sets/volcanoSet.ts",[],[],"/home/mees/idle-ant-farm/src/utils/index.ts",[],[],"/home/mees/idle-ant-farm/src/stores/trainingStore.ts",["117","118"],[],"/home/mees/idle-ant-farm/src/components/AvailableEquipment.vue",["119"],[],"/home/mees/idle-ant-farm/src/components/EquipmentSectionComponent.vue",["120"],[],"/home/mees/idle-ant-farm/src/components/SlotComponent.vue",["121","122","123","124"],[],"/home/mees/idle-ant-farm/src/stores/adventureStore.ts",["125","126","127"],[],"/home/mees/idle-ant-farm/src/stores/equipmentStore.ts",["128"],[],"/home/mees/idle-ant-farm/src/stores/inventoryStore.ts",[],[],"/home/mees/idle-ant-farm/src/components/EnemyDropItem.vue",[],[],"/home/mees/idle-ant-farm/src/types/items/passiveItems.ts",[],[],"/home/mees/idle-ant-farm/src/views/PassivePage.vue",["129"],[],"/home/mees/idle-ant-farm/src/stores/gameStore.ts",["130","131","132","133","134","135","136"],[],"/home/mees/idle-ant-farm/src/views/DebuggerPage.vue",[],[],{"ruleId":"137","severity":1,"message":"138","line":71,"column":7,"nodeType":"139","messageId":"140","endLine":71,"endColumn":21},{"ruleId":"137","severity":1,"message":"141","line":589,"column":25,"nodeType":"139","messageId":"140","endLine":589,"endColumn":51},{"ruleId":"137","severity":1,"message":"142","line":208,"column":7,"nodeType":"139","messageId":"140","endLine":208,"endColumn":16},{"ruleId":"137","severity":1,"message":"143","line":216,"column":7,"nodeType":"139","messageId":"140","endLine":216,"endColumn":16},{"ruleId":"137","severity":1,"message":"144","line":224,"column":21,"nodeType":"139","messageId":"140","endLine":224,"endColumn":26},{"ruleId":"137","severity":1,"message":"145","line":245,"column":40,"nodeType":"139","messageId":"140","endLine":245,"endColumn":45},{"ruleId":"137","severity":1,"message":"146","line":92,"column":10,"nodeType":"139","messageId":"140","endLine":92,"endColumn":27},{"ruleId":"137","severity":1,"message":"147","line":97,"column":7,"nodeType":"139","messageId":"140","endLine":97,"endColumn":23},{"ruleId":"137","severity":1,"message":"148","line":43,"column":19,"nodeType":"139","messageId":"140","endLine":43,"endColumn":30},{"ruleId":"149","severity":1,"message":"150","line":49,"column":3,"nodeType":"151","messageId":"152","endLine":49,"endColumn":15},{"ruleId":"149","severity":1,"message":"153","line":50,"column":3,"nodeType":"151","messageId":"152","endLine":50,"endColumn":19},{"ruleId":"149","severity":1,"message":"154","line":51,"column":3,"nodeType":"151","messageId":"152","endLine":51,"endColumn":16},{"ruleId":"155","severity":1,"message":"156","line":671,"column":47,"nodeType":"157","messageId":"158","endLine":671,"endColumn":50,"suggestions":"159"},{"ruleId":"155","severity":1,"message":"156","line":673,"column":57,"nodeType":"157","messageId":"158","endLine":673,"endColumn":60,"suggestions":"160"},{"ruleId":"155","severity":1,"message":"156","line":687,"column":40,"nodeType":"157","messageId":"158","endLine":687,"endColumn":43,"suggestions":"161"},{"ruleId":"137","severity":1,"message":"144","line":55,"column":32,"nodeType":"139","messageId":"140","endLine":55,"endColumn":37},{"ruleId":"137","severity":1,"message":"146","line":50,"column":9,"nodeType":"139","messageId":"140","endLine":50,"endColumn":26},{"ruleId":"137","severity":1,"message":"162","line":17,"column":9,"nodeType":"139","messageId":"140","endLine":17,"endColumn":21},{"ruleId":"137","severity":1,"message":"163","line":18,"column":8,"nodeType":"139","messageId":"140","endLine":18,"endColumn":22},{"ruleId":"155","severity":1,"message":"156","line":113,"column":29,"nodeType":"157","messageId":"158","endLine":113,"endColumn":32,"suggestions":"164"},{"ruleId":"137","severity":1,"message":"165","line":193,"column":15,"nodeType":"139","messageId":"140","endLine":193,"endColumn":45},{"ruleId":"137","severity":1,"message":"166","line":397,"column":22,"nodeType":"139","messageId":"140","endLine":397,"endColumn":28},{"ruleId":"137","severity":1,"message":"166","line":414,"column":22,"nodeType":"139","messageId":"140","endLine":414,"endColumn":28},{"ruleId":"155","severity":1,"message":"156","line":549,"column":40,"nodeType":"157","messageId":"158","endLine":549,"endColumn":43,"suggestions":"167"},"@typescript-eslint/no-unused-vars","'inventoryStore' is assigned a value but never used.","Identifier","unusedVar","'event' is defined but never used.","'addFungus' is assigned a value but never used.","'debugMode' is assigned a value but never used.","'state' is defined but never used.","'index' is defined but never used.","'useAdventureStore' is defined but never used.","'accessoryColumns' is assigned a value but never used.","'defineEmits' is defined but never used.","vue/require-default-prop","Prop 'item' requires default value to be set.","Property","missingDefault","Prop 'slotType' requires default value to be set.","Prop 'index' requires default value to be set.","@typescript-eslint/no-explicit-any","Unexpected any. Specify a different type.","TSAnyKeyword","unexpectedAny",["168","169"],["170","171"],["172","173"],"'useStatStore' is defined but never used.","'FirestoreError' is defined but never used.",["174","175"],"'offlineTimeAccumulatorTraining' is assigned a value but never used.","'result' is defined but never used.",["176","177"],{"messageId":"178","fix":"179","desc":"180"},{"messageId":"181","fix":"182","desc":"183"},{"messageId":"178","fix":"184","desc":"180"},{"messageId":"181","fix":"185","desc":"183"},{"messageId":"178","fix":"186","desc":"180"},{"messageId":"181","fix":"187","desc":"183"},{"messageId":"178","fix":"188","desc":"180"},{"messageId":"181","fix":"189","desc":"183"},{"messageId":"178","fix":"190","desc":"180"},{"messageId":"181","fix":"191","desc":"183"},"suggestUnknown",{"range":"192","text":"193"},"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct.","suggestNever",{"range":"194","text":"195"},"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of.",{"range":"196","text":"193"},{"range":"197","text":"195"},{"range":"198","text":"193"},{"range":"199","text":"195"},{"range":"200","text":"193"},{"range":"201","text":"195"},{"range":"202","text":"193"},{"range":"203","text":"195"},[22901,22904],"unknown",[22901,22904],"never",[22992,22995],[22992,22995],[23401,23404],[23401,23404],[3800,3803],[3800,3803],[19217,19220],[19217,19220]] \ No newline at end of file diff --git a/src/types/items/itemRegistry.ts b/src/types/items/itemRegistry.ts index 8b79ad5..409be23 100644 --- a/src/types/items/itemRegistry.ts +++ b/src/types/items/itemRegistry.ts @@ -82,6 +82,19 @@ export const setBonuses: Record = { }, explanation: 'Increases army attack and defense by 15%.', }, + 'Soldier Set II': { + apply: () => { + const adventureStore = useAdventureStore() + adventureStore.armyAttackModifier += 0.20 + adventureStore.armyDefenseModifier += 0.20 + }, + remove: () => { + const adventureStore = useAdventureStore() + adventureStore.armyAttackModifier -= 0.20 + adventureStore.armyDefenseModifier -= 0.20 + }, + explanation: 'Increases army attack and defense by 20%.', + }, 'Royal Set': { apply: () => { const resourcesStore = useResourcesStore()