From a8b825afdde63adef2491541ab7d6829ab8298dd Mon Sep 17 00:00:00 2001 From: luying Date: Mon, 11 Jul 2022 13:38:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=81=E7=BB=8A=EF=BC=9A=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/pubUtils/dictionary/DicFriendShip.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shared/pubUtils/dictionary/DicFriendShip.ts b/shared/pubUtils/dictionary/DicFriendShip.ts index 9cd93e2f4..e715eda21 100644 --- a/shared/pubUtils/dictionary/DicFriendShip.ts +++ b/shared/pubUtils/dictionary/DicFriendShip.ts @@ -18,10 +18,10 @@ export interface DicFriendShip { // 属性加成 readonly attributes: Array<{id: number, number: number}> // 升到这一级所需的羁绊值 - readonly shipValue: number; + readonly shipExp: number; } -export const friendShips = new Map(); +export const friendShips = new Map(); export const friendShipsByLv = new Map(); export function loadFriendShip() { friendShips.clear(); @@ -36,8 +36,8 @@ export function loadFriendShip() { friendShips.set(key1, []); shipSumValue = 0; } - shipSumValue += o.shipValue; - friendShips.get(key1).push({ level: o.level, shipValue: shipSumValue }); + shipSumValue += o.shipExp; + friendShips.get(key1).push({ level: o.level, shipExp: shipSumValue }); let key2 = `${o.actorId}_${o.shipId}_${o.level}`; friendShipsByLv.set(key2, o);