🐞 fix(gvg): 农场特殊种子加成
This commit is contained in:
@@ -317,7 +317,7 @@ export function calFarmOutput(seedType: number, addType: number, farmId: number,
|
||||
let dicFarm = gameData.gvgResource.get(farmId);
|
||||
if(!dicGVGItem || !dicFarm) return { output: 0, outputStr: '' };
|
||||
let { value: foodBase } = dicGVGItem;
|
||||
let addRatio = seedType == addType? GVG.GVG_SP_FIELD_ADD: 0;
|
||||
let addRatio = seedType == addType? GVG.GVG_SP_FIELD_ADD * 100: 0;
|
||||
let farmRatio = dicFarm.fieldAdd;
|
||||
let cityRatio = getCitiesAdd(cities, GVG_RESOURCE_TYPE.FOOD);
|
||||
let techRatio = getTechAdd(activeTech);
|
||||
|
||||
Reference in New Issue
Block a user