拍卖行:修改掉落
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
// 公会权限
|
||||
import { readFileAndParse, parseGoodStr } from '../util'
|
||||
import { readFileAndParse } from '../util'
|
||||
import { FILENAME } from '../../consts'
|
||||
import { RewardInter } from '../../pubUtils/interface';
|
||||
|
||||
export interface DicGuildAuction {
|
||||
|
||||
@@ -12,7 +11,7 @@ export interface DicGuildAuction {
|
||||
// 最高名次
|
||||
readonly max: number;
|
||||
// 奖励
|
||||
readonly rewards: RewardInter[];
|
||||
readonly rewards: number;
|
||||
}
|
||||
|
||||
export const dicGuildAuction = new Map<number, DicGuildAuction[]>();
|
||||
@@ -21,7 +20,6 @@ export function loadGuildAuction() {
|
||||
let arr = readFileAndParse(FILENAME.DIC_GUILD_AUCTION);
|
||||
|
||||
arr.forEach(o => {
|
||||
o.rewards = parseGoodStr(o.rewards);
|
||||
let rank = dicGuildAuction.get(o.id)||[];
|
||||
rank.push(o);
|
||||
dicGuildAuction.set(o.id, rank);
|
||||
|
||||
Reference in New Issue
Block a user