✨ feat(抽卡): 宝物抽卡逻辑
This commit is contained in:
@@ -30,6 +30,8 @@ export interface DicArtifact {
|
||||
readonly lvAttrPlan: number;
|
||||
// 升品配置方案
|
||||
readonly qualityAttrPlan: number;
|
||||
// 是否可以许愿
|
||||
readonly canHope: number;
|
||||
}
|
||||
|
||||
type KeysEnum<T> = { [P in keyof Required<T>]: true };
|
||||
@@ -47,6 +49,7 @@ const DicArtifactKeys: KeysEnum<DicArtifact> = {
|
||||
seids: true,
|
||||
lvAttrPlan: true,
|
||||
qualityAttrPlan: true,
|
||||
canHope: true
|
||||
}
|
||||
export const dicArtifact = new Map<number, DicArtifact>();
|
||||
export const dicArtifactByGid = new Map<number, number>();
|
||||
|
||||
Reference in New Issue
Block a user