Bläddra i källkod

动态出怪表经验倍率脚本删除

wgl 5 månader sedan
förälder
incheckning
012c2b5d4d

+ 1 - 1
ActionTowerDefense/Assets/GameLevelEditor/GameMap/CoreScripts/Editor/GameMapEdPopup.cs

@@ -552,7 +552,7 @@ public class GameMapEdPopup : PopupWindowContent
 			gameMap.showIdent = gameMap.ident;
 			int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D5"), out GameMapEditor.mapSize_w);
 			int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D6"), out GameMapEditor.mapSize_h);
-			float.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[mapIdx - 1], "F5"), out gameMap.expRatio);
+			float.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[mapIdx], "F5"), out gameMap.expRatio);
 			gameMap.Resize(GameMapEditor.mapSize_w, GameMapEditor.mapSize_h);
 			gameMap.isDynamic = true;
 		}