|
@@ -462,6 +462,7 @@ class ActiveProc {
|
|
|
my_Assert(null != $mo, ErrCode::err_const_no); # 防御找不到配置
|
|
|
|
|
|
my_Assert(ctx()->baseInfo->cash >= explode(',', $mo->cost)[1], ErrCode::notenough_cash_msg);
|
|
|
+ ctx()->baseInfo->Consume_Cash(explode(',', $mo->cost)[1]);
|
|
|
|
|
|
$rewardArr = ctx()->privateState->limitTsBuy_RewardRecord;
|
|
|
$count = array_count_values(array_keys($rewardArr, $typeId))[$typeId];
|