|
|
@ -125,7 +125,7 @@ const strengthen = () => { |
|
|
|
let idx = lv - successLv - 1; |
|
|
|
let idx = lv - successLv - 1; |
|
|
|
const len = rates.length; |
|
|
|
const len = rates.length; |
|
|
|
idx = idx > len ? len : idx; |
|
|
|
idx = idx > len ? len : idx; |
|
|
|
rate = rates[idx]; |
|
|
|
rate = rates[idx] || 0.2; |
|
|
|
} |
|
|
|
} |
|
|
|
if (Math.random() < rate) { |
|
|
|
if (Math.random() < rate) { |
|
|
|
prop.equip.strengthenLv++ |
|
|
|
prop.equip.strengthenLv++ |
|
|
|