百家学宫消耗

This commit is contained in:
luying
2021-01-05 16:14:51 +08:00
parent d2841f31c7
commit 5f73bd5c98
2 changed files with 3 additions and 3 deletions
@@ -314,7 +314,7 @@ export class RoleHandler {
let friendShipLevels = gameData.friendShipLevel; let friendShipLevels = gameData.friendShipLevel;
if (friendShipLevels[friendShipLevels.length - 1].level > favourLv) { if (friendShipLevels[friendShipLevels.length - 1].level > favourLv) {
update.favour += parseInt(SCROLL.SCROLL_ACTIVE_FAVOUR); update.favour += SCROLL.SCROLL_ACTIVE_FAVOUR;
for (let friendShipLevel of friendShipLevels) { for (let friendShipLevel of friendShipLevels) {
if (friendShipLevel.level < update.favourLv) if (friendShipLevel.level < update.favourLv)
continue; continue;
+2 -2
View File
@@ -22,8 +22,8 @@ export const JOB = {
}; };
export const SCHOOL = { export const SCHOOL = {
SCHOOL_POSITION: '1&1|2&1|3&1|4&0|5&0', // 百家学宫位置锁定 SCHOOL_POSITION: '1&1|2&1|3&1|4&0|5&0', // 百家学宫位置锁定
SCHOOL_UNLOCK_COIN: '31001&100', // 百家学宫解锁位置消耗 SCHOOL_UNLOCK_COIN: '31002&2000', // 百家学宫解锁位置消耗
}; };
export const SCROLL = { export const SCROLL = {
SCROLL_ACTIVE_FAVOUR: '50', // 首次激活增加的好感度 SCROLL_ACTIVE_FAVOUR: 50, // 首次激活增加的好感度
}; };