任务:宝石相关任务系统达成条件修改
This commit is contained in:
@@ -142,10 +142,10 @@ export function getEquipById(oldEplace: EPlace[], newEplace: EPlace[], eplaceId:
|
||||
return { oldEquip, newEquip }
|
||||
}
|
||||
|
||||
export function getJewelByEquip(oldEquip: EPlace, newEquip: EPlace, jewels: JewelType[]) {
|
||||
let oldJewel = jewels.find(cur => cur && cur.seqId == oldEquip.jewel);
|
||||
let newJewel = jewels.find(cur => cur && cur.seqId == newEquip.jewel);
|
||||
return { oldJewel, newJewel }
|
||||
export function getJewelByEquip(equip: EPlace, jewels: JewelType[]) {
|
||||
if(!equip) return null
|
||||
let jewel = jewels.find(cur => cur && cur.seqId == equip.jewel);
|
||||
return jewel
|
||||
}
|
||||
|
||||
export function isRandSeUnLock(jewelId: number, randSeId: number, stones: Stone[]) {
|
||||
|
||||
Reference in New Issue
Block a user