商店:添加名将擂台限制
This commit is contained in:
@@ -417,6 +417,7 @@ export const STATUS = {
|
||||
HERO_NOT_MAX: { code: 30904, simStr: '该武将未升满星' },
|
||||
LV_LIMIT: { code: 30905, simStr: '玩家等级不足' },
|
||||
CAN_NOT_PURCHASE: { code: 30906, simStr: '该商品不可使用该购买方式' },
|
||||
LADDER_LV_LIMIT: { code: 30907, simStr: '名将擂台等级不足' },
|
||||
|
||||
// 任务相关 31001-31100
|
||||
TASK_NOT_REACH_CONDITION: { code: 31001, simStr: '任务不满足条件' },
|
||||
|
||||
@@ -19,6 +19,7 @@ interface ShopItemInDb {
|
||||
num: number;
|
||||
guildLvLimit: number;
|
||||
lvLimit: number;
|
||||
ranklimit: number;
|
||||
purchaseLimit: number;
|
||||
vipPurchaseLimit: number;
|
||||
refreshType: number;
|
||||
@@ -75,6 +76,7 @@ export class ShopDicData {
|
||||
num: number;
|
||||
guildLvLimit: number;
|
||||
lvLimit: number;
|
||||
ranklimit: number;
|
||||
purchaseLimit: number;
|
||||
vipPurchaseLimit: number;
|
||||
refreshType: SHOP_REFRESH_TYPE;
|
||||
@@ -94,6 +96,7 @@ export class ShopDicData {
|
||||
this.num = obj.num;
|
||||
this.guildLvLimit = obj.guildLvLimit;
|
||||
this.lvLimit = obj.lvLimit;
|
||||
this.ranklimit = obj.ranklimit;
|
||||
this.purchaseLimit = obj.purchaseLimit;
|
||||
this.vipPurchaseLimit = obj.vipPurchaseLimit;
|
||||
this.refreshType = obj.refreshType;
|
||||
|
||||
@@ -20,6 +20,8 @@ export interface DicShop {
|
||||
readonly guildLvLimit: number;
|
||||
// 玩家等级需求
|
||||
readonly lvLimit: number;
|
||||
// 名将擂台需求
|
||||
readonly ranklimit: number;
|
||||
// 购买次数限制
|
||||
readonly purchaseLimit: number;
|
||||
// vip购买次数限制
|
||||
|
||||
Reference in New Issue
Block a user