This commit is contained in:
aozhiwei 2022-06-15 13:43:31 +08:00
parent b5ddec3153
commit a6f668002e

View File

@ -227,8 +227,8 @@ class HeroController extends BaseAuthedController {
if ($currQualityMeta) {
$nextQualityMeta = mt\HeroQuality::getByQuality($heroDb['quality'] + 1);
if ($nextQualityMeta) {
//$rnd = rand(1, 100);
$rnd = 1000;
$rnd = rand(1, 100);
//$rnd = 1000;
if ($rnd > $nextQualityMeta['success_rate']) {
Hero::update($costHeroUniId,
array(