shawenguan há 1 ano atrás
pai
commit
92a194e467
1 ficheiros alterados com 12 adições e 1 exclusões
  1. 12 1
      Scripts/168/pksPlanHelper.js

+ 12 - 1
Scripts/168/pksPlanHelper.js

@@ -950,7 +950,7 @@ function getLuckyRandCostTimes(turnOneCost) {
 		if (rv > 0.8) {
 			times = 1 / 2;
 		} else if (rv > 0.6) {
-			times = 1.5;
+			times = 1;
 		} else if (rv < 0.35) {
 			times = 1 / 2;
 		}
@@ -959,6 +959,17 @@ function getLuckyRandCostTimes(turnOneCost) {
 		if (rv > 0.5) {
 			times = 2;
 		}
+	} else {
+		if (nIssue == 5) {
+			let rv = Math.random();
+			if (rv > 0.5) {
+				times = 2;
+			}
+		} else if (nIssue == 3) {
+			if (rv > 0.8) {
+				times = 2;
+			}
+		}
 	}
 	return times;
 }