|
@@ -844,7 +844,8 @@ class HeroProc {
|
|
|
$user = ctx();
|
|
|
$yanling = $user->store->yanling;
|
|
|
|
|
|
- my_Assert(CommUtil::isPropertyExists($yanling, $uid), ErrCode::store_weapon_err); # 玩家拥有此英雄
|
|
|
+ my_Assert(!in_array($uid, $yanlingList), ErrCode::store_notRemoveYanlingSelf); # 玩家拥有此英雄
|
|
|
+ my_Assert(CommUtil::isPropertyExists($yanling, $uid), ErrCode::store_NotHaveYanling); # 玩家拥有此英雄
|
|
|
$myPacketItems = $user->store->items;
|
|
|
//消耗材料道具
|
|
|
$total = 0;
|