瀏覽代碼

[fixed] Underwear in appearance system was not using the new quality attributes

Kevin_Smarts 1 年之前
父節點
當前提交
1c42198d4f
共有 1 個文件被更改,包括 14 次插入6 次删除
  1. 14 6
      locations/AppearanceSystem.qsrc

+ 14 - 6
locations/AppearanceSystem.qsrc

@@ -251,16 +251,24 @@ if $ARGS[0] = 'CalcAccessoriesBonus':
 	shoesQualityBonus = ARGS[2] & !! PShoQuality
 
 	!!bonuses for certain underwear
-	if $pantyworntype = 'lusso':
+	if PanQuality = 6:
 		pantyBonus = 4
-	elseif $pantyworntype = 'fashionista':
+	elseif PanQuality = 5:
+		pantyBonus = 3
+	elseif PanQuality <= 3:
 		pantyBonus = 2
+	else
+		pantyBonus = PanQuality - 1
 	end
 
-	if $braworntype = 'lusso':
-		braBonus = 4
-	elseif $braworntype = 'fashionista':
-		braBonus = 2
+	if BraQuality = 6:
+		pantyBonus = 4
+	elseif BraQuality = 5:
+		pantyBonus = 3
+	elseif BraQuality <= 3:
+		pantyBonus = 2
+	else
+		pantyBonus = BraQuality - 1
 	end
 
 	result = coatQualityBonus + shoesQualityBonus + pantyBonus + braBonus