fix(webui): max rank up all suits (#917)
Fixes #914 Reviewed-on: OpenWF/SpaceNinjaServer#917 Reviewed-by: Sainan <sainan@calamity.inc> Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									0c1624cc03
								
							
						
					
					
						commit
						079f9ebbdf
					
				@ -627,6 +627,9 @@ function maxRankAllEquipment(categories) {
 | 
				
			|||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    if (category === "Suits") {
 | 
					                    if (category === "Suits") {
 | 
				
			||||||
                        if ("exalted" in itemMap[item.ItemType]) {
 | 
					                        if ("exalted" in itemMap[item.ItemType]) {
 | 
				
			||||||
 | 
					                            if (!batchData["SpecialItems"]) {
 | 
				
			||||||
 | 
					                                batchData["SpecialItems"] = [];
 | 
				
			||||||
 | 
					                            }
 | 
				
			||||||
                            for (const exaltedType of itemMap[item.ItemType].exalted) {
 | 
					                            for (const exaltedType of itemMap[item.ItemType].exalted) {
 | 
				
			||||||
                                const exaltedItem = data["SpecialItems"].find(x => x.ItemType == exaltedType);
 | 
					                                const exaltedItem = data["SpecialItems"].find(x => x.ItemType == exaltedType);
 | 
				
			||||||
                                if (exaltedItem) {
 | 
					                                if (exaltedItem) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user