✨ feat(稷下学宫): 修改带出英灵奖励数量, 修改特性卡随机权重(流派、品质、等级相关)
This commit is contained in:
@@ -15,7 +15,7 @@ export interface DicRougeLayerPlan {
|
||||
readonly rewardPlan: number; // 每层可以赠送的奖励
|
||||
readonly shopPlan: number; // 该层可以随机到的商店方案
|
||||
readonly takeoutReward: RewardInter[]; //额外奖励
|
||||
readonly spiritPlan: number; //英灵随机奖励
|
||||
readonly spiritPlan: RewardInter[]; //英灵随机奖励
|
||||
}
|
||||
export const dicRougeLayerPlan = new Map<string, DicRougeLayerPlan>();
|
||||
export const dicRougeLayerPlanByPlanId = new Map<number, DicRougeLayerPlan[]>();
|
||||
@@ -29,6 +29,8 @@ export function loadRougeLayerPlan() {
|
||||
arr.forEach(o => {
|
||||
|
||||
o.takeoutReward = parseGoodStr(o.takeoutReward);
|
||||
o.spiritPlan = parseGoodStr(o.spiritPlan);
|
||||
|
||||
dicRougeLayerPlan.set(o.planId + '_' + o.layerIndex, o);
|
||||
|
||||
if (!dicRougeLayerPlanByPlanId.get(o.planId)) dicRougeLayerPlanByPlanId.set(o.planId, []);
|
||||
|
||||
Reference in New Issue
Block a user