1
This commit is contained in:
parent
b5ddec3153
commit
a6f668002e
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user