diff --git a/webapp/controller/GunController.class.php b/webapp/controller/GunController.class.php index 92e514c9..7edba0fb 100644 --- a/webapp/controller/GunController.class.php +++ b/webapp/controller/GunController.class.php @@ -520,7 +520,7 @@ class GunController extends BaseAuthedController { ) ); $rnd = rand(1, 100); - $probability = \services\FormulaService::Weapon_Advanced_Probability($gunDb['quality'] + 1)*100; + $probability = \services\FormulaService::Weapon_Advanced_Probability($gunDb['quality'])*100; if ($rnd > $probability) { Gun::update($gunUniId, array( diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index 67d1affc..a7016c06 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -353,7 +353,7 @@ class HeroController extends BaseAuthedController { ) ); $rnd = rand(1, 100); - $probability = \services\FormulaService::Hero_Advanced_Probability($heroDb['quality'] + 1)*100; + $probability = \services\FormulaService::Hero_Advanced_Probability($heroDb['quality'])*100; if ($rnd > $probability) { Hero::update($heroUniId, array(