抽卡:修改抽卡概率
This commit is contained in:
@@ -13,6 +13,8 @@ export interface DicGacha {
|
||||
readonly cost: RewardInter[];
|
||||
// 概率
|
||||
readonly percent: { id: number, weight: number }[];
|
||||
// 哪一个是大奖
|
||||
readonly floorReward: number;
|
||||
}
|
||||
|
||||
export const dicGacha = new Map<number, DicGacha>(); // id => dic
|
||||
|
||||
Reference in New Issue
Block a user