1
This commit is contained in:
parent
1750ddcd22
commit
24bcbc0b2c
@ -159,10 +159,10 @@ class GunController extends BaseAuthedController {
|
||||
'item_id' => V_ITEM_GOLD,
|
||||
'item_num' => $nextLevelMeta['gold']
|
||||
),
|
||||
array(
|
||||
'item_id' => V_ITEM_DIAMOND,
|
||||
'item_num' => $nextLevelMeta['diamond']
|
||||
),
|
||||
// array(
|
||||
// 'item_id' => V_ITEM_DIAMOND,
|
||||
// 'item_num' => $nextLevelMeta['diamond']
|
||||
// ),
|
||||
);
|
||||
|
||||
$newGunDb = $gunDb;
|
||||
@ -220,10 +220,10 @@ class GunController extends BaseAuthedController {
|
||||
'item_id' => V_ITEM_GOLD,
|
||||
'item_num' => $nextLevelMeta['gold']
|
||||
),
|
||||
array(
|
||||
'item_id' => V_ITEM_DIAMOND,
|
||||
'item_num' => $nextLevelMeta['diamond']
|
||||
),
|
||||
// array(
|
||||
// 'item_id' => V_ITEM_DIAMOND,
|
||||
// 'item_num' => $nextLevelMeta['diamond']
|
||||
// ),
|
||||
);
|
||||
$lackItem = null;
|
||||
if (!$this->_hasEnoughItems($costItems, $lackItem)) {
|
||||
|
@ -131,10 +131,10 @@ class HeroController extends BaseAuthedController {
|
||||
'item_id' => V_ITEM_GOLD,
|
||||
'item_num' => $nextLevelMeta['gold']
|
||||
),
|
||||
array(
|
||||
'item_id' => V_ITEM_DIAMOND,
|
||||
'item_num' => $nextLevelMeta['diamond']
|
||||
)
|
||||
// array(
|
||||
// 'item_id' => V_ITEM_DIAMOND,
|
||||
// 'item_num' => $nextLevelMeta['diamond']
|
||||
// )
|
||||
);
|
||||
|
||||
$heroDto = Hero::toDto($heroDb);
|
||||
@ -222,10 +222,10 @@ class HeroController extends BaseAuthedController {
|
||||
'item_id' => V_ITEM_GOLD,
|
||||
'item_num' => $nextLevelMeta['gold']
|
||||
),
|
||||
array(
|
||||
'item_id' => V_ITEM_DIAMOND,
|
||||
'item_num' => $nextLevelMeta['diamond']
|
||||
)
|
||||
// array(
|
||||
// 'item_id' => V_ITEM_DIAMOND,
|
||||
// 'item_num' => $nextLevelMeta['diamond']
|
||||
// )
|
||||
);
|
||||
$lackItem = null;
|
||||
if (!$this->_hasEnoughItems($costItems, $lackItem)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user