namespace BF { // 由Lua层读配置更新 public static class BattleConfigure { // 战斗加速比例 public static float TimeScale = 1.0f; // 普攻移动时间 public static float NormalMoveTime = 0.1f; // 后撤移动时间 public static float NormalBackTime = 0.1f; // 场景相机坐标x的范围 public static float CameraMinX = -16.0f; public static float CameraMaxX = 16.0f; // 场景范围 public static float SceneMinX = -24.0f; public static float SceneMaxX = 24.0f; public static float SceneMinZ = -10.0f; public static float SceneMaxZ = 3.2f; // 普攻位移距离 public static float DistanceAttack = 0.0f; // 冲锋攻击的距离 public static float DistanceDash = 0.0f; // 后撤的距离 public static float DistanceBack = 0.0f; public static float BattleCenterPosX = 0.0f; public static float WorldToScreenWidth = 0.0f; public static float CheckMonsterTowardInterval = 0.1f; public static float CheckAITargetPositionInterval = 0.1f; public static float MonsterScaleFactorXZ = 3.0f; public static float SceneMidX = 0.0f; public static float SceneMidZ = -3.4f; // 普攻往后飞的距离 public static float DistanceHitBack = 1.5f; // 击飞往后飞的距离 public static float DistanceHitFly = 6.25f; // 击飞的高度 public static float HeightHitFly = 8.0f; // 击飞的从起飞到落地的时间 public static float TimeHitFly = 1.5f; // 击飞后躺在地上的时间 public static float TimeLie = 1.5f; // 击退的时间 public static float HitBackTime = 0.1f; public static float HitBackSpeed = BattleConst.UNIT_MOVE_DISTANCE / HitBackTime; } }