|
@@ -75,7 +75,7 @@ class StoreProc {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- my_Assert(ctx()->baseInfo->xilianStone >= $needStone, ErrCode::user_store_GemNotXilian);
|
|
|
+ my_Assert(ctx()->baseInfo->xilianStone >= $needStone, ErrCode::user_store_XilianStoneNoEnough);
|
|
|
|
|
|
$dic = GameConfig::predicate();
|
|
|
$pList = array();
|
|
@@ -87,7 +87,7 @@ class StoreProc {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- my_Assert(count($pList) > 0, ErrCode::user_store_GemNotXilian);
|
|
|
+ my_Assert(count($pList) > 0, ErrCode::user_store_NoFindPredicate);
|
|
|
$rand = random_int(0, count($pList)-1);
|
|
|
$pId = $pList[$rand];
|
|
|
ctx()->store->gemStore->$uid->predicateId = $pId;
|