From bfd61bd95c9bb6ab4f5c5bff128d61e286927a8d Mon Sep 17 00:00:00 2001 From: hujiabin Date: Thu, 22 Sep 2022 11:58:08 +0800 Subject: [PATCH] 1 --- webapp/controller/GunController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/controller/GunController.class.php b/webapp/controller/GunController.class.php index 92e514c9..09ebab39 100644 --- a/webapp/controller/GunController.class.php +++ b/webapp/controller/GunController.class.php @@ -163,18 +163,18 @@ class GunController extends BaseAuthedController { $costItems = array( array( 'item_id' => V_ITEM_GOLD, - 'item_num' => \services\FormulaService::Weapon_Upgrade_CEG_Expend($gunDb['hero_lv']+1) + 'item_num' => \services\FormulaService::Weapon_Upgrade_CEG_Expend($gunDb['gun_lv']+1) ) ); }else{ $costItems = array( array( 'item_id' => V_ITEM_GOLD, - 'item_num' => \services\FormulaService::Weapon_Upgrade_CEG_Expend($gunDb['hero_lv']+1) + 'item_num' => \services\FormulaService::Weapon_Upgrade_CEG_Expend($gunDb['gun_lv']+1) ), array( 'item_id' => V_ITEM_DIAMOND, - 'item_num' => \services\FormulaService::Weapon_Upgrade_CEC_Expend($gunDb['hero_lv']+1) + 'item_num' => \services\FormulaService::Weapon_Upgrade_CEC_Expend($gunDb['gun_lv']+1) ) ); }