|
@@ -543,8 +543,8 @@ class FightProc {
|
|
|
}
|
|
|
|
|
|
if ($tag) {
|
|
|
- my_Assert($mask > $gateInfo->FirstReward, ErrCode::gate_GatePriceHasReceive);
|
|
|
- $gateInfo->FirstReward = $mask;
|
|
|
+ my_Assert(!in_array($mask,$gateInfo->FirstReward), ErrCode::gate_GatePriceHasReceive);
|
|
|
+ $gateInfo->FirstReward[] = $mask;
|
|
|
StoreProc::AddMultiItemInStore($prize);
|
|
|
}
|
|
|
ctx()->gates->GateList->$gateId = $gateInfo;
|
|
@@ -555,6 +555,7 @@ class FightProc {
|
|
|
'store' => ctx()->store,
|
|
|
'task' => ctx()->task,
|
|
|
'gold' => ctx()->baseInfo->gold,
|
|
|
+ 'reward'=> StoreProc::$reward,
|
|
|
);
|
|
|
return Resp::ok($ret);
|
|
|
}
|