shawenguan 1 yıl önce
ebeveyn
işleme
bba5ebe27d
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      Scripts/168/pksPlanHelper.js

+ 1 - 1
Scripts/168/pksPlanHelper.js

@@ -960,8 +960,8 @@ function getLuckyRandCostTimes(turnOneCost) {
 			times = 2;
 		}
 	} else {
+		let rv = Math.random();
 		if (nIssue == 5) {
-			let rv = Math.random();
 			if (rv > 0.5) {
 				times = 2;
 			}