|
|
@@ -12,365 +12,365 @@ |
|
|
|
|
|
|
|
|
namespace Constants |
|
|
namespace Constants |
|
|
{ |
|
|
{ |
|
|
SCCI int frameDuration = 50; // 每帧毫秒数 |
|
|
|
|
|
|
|
|
SCCI int32_t frameDuration = 50; // 每帧毫秒数 |
|
|
// 地图相关 |
|
|
// 地图相关 |
|
|
SCCI int numOfGridPerCell = 1000; // 单位坐标数 |
|
|
|
|
|
SCCI int rows = 50; // 地图行数 |
|
|
|
|
|
SCCI int cols = 50; // 地图列数 |
|
|
|
|
|
|
|
|
SCCI int32_t numOfGridPerCell = 1000; // 单位坐标数 |
|
|
|
|
|
SCCI int32_t rows = 50; // 地图行数 |
|
|
|
|
|
SCCI int32_t cols = 50; // 地图列数 |
|
|
|
|
|
|
|
|
SCCI int numOfClassroom = 10; // 教室数量 |
|
|
|
|
|
SCCI int numOfChest = 8; // 宝箱数量 |
|
|
|
|
|
|
|
|
SCCI int32_t numOfClassroom = 10; // 教室数量 |
|
|
|
|
|
SCCI int32_t numOfChest = 8; // 宝箱数量 |
|
|
|
|
|
|
|
|
SCCI int maxClassroomProgress = 10000000; // 教室最大进度 |
|
|
|
|
|
SCCI int maxDoorProgress = 10000000; // 开关门最大进度 |
|
|
|
|
|
SCCI int maxChestProgress = 10000000; // 宝箱最大进度 |
|
|
|
|
|
SCCI int maxGateProgress = 18000; // 大门最大进度 |
|
|
|
|
|
|
|
|
SCCI int32_t maxClassroomProgress = 10000000; // 教室最大进度 |
|
|
|
|
|
SCCI int32_t maxDoorProgress = 10000000; // 开关门最大进度 |
|
|
|
|
|
SCCI int32_t maxChestProgress = 10000000; // 宝箱最大进度 |
|
|
|
|
|
SCCI int32_t maxGateProgress = 18000; // 大门最大进度 |
|
|
|
|
|
|
|
|
SCCI int numOfRequiredClassroomForGate = 7; // 打开大门需要完成的教室数量 |
|
|
|
|
|
SCCI int numOfRequiredClassroomForHiddenGate = 3; // 打开隐藏门需要完成的教室数量 |
|
|
|
|
|
|
|
|
SCCI int32_t numOfRequiredClassroomForGate = 7; // 打开大门需要完成的教室数量 |
|
|
|
|
|
SCCI int32_t numOfRequiredClassroomForHiddenGate = 3; // 打开隐藏门需要完成的教室数量 |
|
|
|
|
|
|
|
|
// 人物属性相关 |
|
|
// 人物属性相关 |
|
|
SCCI int basicEncourageSpeed = 100; |
|
|
|
|
|
SCCI int basicFixSpeed = 123; |
|
|
|
|
|
SCCI int basicSpeedOfOpeningOrLocking = 5000; |
|
|
|
|
|
SCCI int basicStudentSpeedOfClimbingThroughWindows = 1222; |
|
|
|
|
|
SCCI int basicTrickerSpeedOfClimbingThroughWindows = 2540; |
|
|
|
|
|
SCCI int basicSpeedOfOpenChest = 1250; |
|
|
|
|
|
|
|
|
SCCI int32_t basicEncourageSpeed = 100; |
|
|
|
|
|
SCCI int32_t basicFixSpeed = 123; |
|
|
|
|
|
SCCI int32_t basicSpeedOfOpeningOrLocking = 5000; |
|
|
|
|
|
SCCI int32_t basicStudentSpeedOfClimbingThroughWindows = 1222; |
|
|
|
|
|
SCCI int32_t basicTrickerSpeedOfClimbingThroughWindows = 2540; |
|
|
|
|
|
SCCI int32_t basicSpeedOfOpenChest = 1250; |
|
|
|
|
|
|
|
|
SCCI int basicHp = 3000000; |
|
|
|
|
|
SCCI int basicMaxGamingAddiction = 60000; |
|
|
|
|
|
SCCI int basicEncouragementDegree = 1500000; |
|
|
|
|
|
SCCI int basicTimeOfRouse = 1000; |
|
|
|
|
|
|
|
|
SCCI int32_t basicHp = 3000000; |
|
|
|
|
|
SCCI int32_t basicMaxGamingAddiction = 60000; |
|
|
|
|
|
SCCI int32_t basicEncouragementDegree = 1500000; |
|
|
|
|
|
SCCI int32_t basicTimeOfRouse = 1000; |
|
|
|
|
|
|
|
|
SCCI int basicStudentSpeed = 3000; |
|
|
|
|
|
SCCI int basicTrickerSpeed = 3600; |
|
|
|
|
|
|
|
|
SCCI int32_t basicStudentSpeed = 3000; |
|
|
|
|
|
SCCI int32_t basicTrickerSpeed = 3600; |
|
|
|
|
|
|
|
|
SCCI double basicConcealment = 1; |
|
|
SCCI double basicConcealment = 1; |
|
|
SCCI int basicStudentAlertnessRadius = 15 * numOfGridPerCell; |
|
|
|
|
|
SCCI int basicTrickerAlertnessRadius = 17 * numOfGridPerCell; |
|
|
|
|
|
SCCI int basicStudentViewRange = 10 * numOfGridPerCell; |
|
|
|
|
|
SCCI int basicTrickerViewRange = 13 * numOfGridPerCell; |
|
|
|
|
|
SCCI int PinningDownRange = 5 * numOfGridPerCell; |
|
|
|
|
|
|
|
|
SCCI int32_t basicStudentAlertnessRadius = 15 * numOfGridPerCell; |
|
|
|
|
|
SCCI int32_t basicTrickerAlertnessRadius = 17 * numOfGridPerCell; |
|
|
|
|
|
SCCI int32_t basicStudentViewRange = 10 * numOfGridPerCell; |
|
|
|
|
|
SCCI int32_t basicTrickerViewRange = 13 * numOfGridPerCell; |
|
|
|
|
|
SCCI int32_t PinningDownRange = 5 * numOfGridPerCell; |
|
|
|
|
|
|
|
|
SCCI int maxNumOfProp = 3; // 人物道具栏容量 |
|
|
|
|
|
|
|
|
SCCI int32_t maxNumOfProp = 3; // 人物道具栏容量 |
|
|
|
|
|
|
|
|
// 攻击相关 |
|
|
// 攻击相关 |
|
|
|
|
|
|
|
|
SCCI int basicApOfTricker = 1500000; |
|
|
|
|
|
SCCI int basicCD = 3000; // 初始子弹冷却 |
|
|
|
|
|
SCCI int basicCastTime = 500; // 基本前摇时间 |
|
|
|
|
|
SCCI int basicBackswing = 800; // 基本后摇时间 |
|
|
|
|
|
SCCI int basicRecoveryFromHit = 3700; // 基本命中攻击恢复时长 |
|
|
|
|
|
SCCI int basicStunnedTimeOfStudent = 4300; |
|
|
|
|
|
|
|
|
SCCI int32_t basicApOfTricker = 1500000; |
|
|
|
|
|
SCCI int32_t basicCD = 3000; // 初始子弹冷却 |
|
|
|
|
|
SCCI int32_t basicCastTime = 500; // 基本前摇时间 |
|
|
|
|
|
SCCI int32_t basicBackswing = 800; // 基本后摇时间 |
|
|
|
|
|
SCCI int32_t basicRecoveryFromHit = 3700; // 基本命中攻击恢复时长 |
|
|
|
|
|
SCCI int32_t basicStunnedTimeOfStudent = 4300; |
|
|
|
|
|
|
|
|
SCCI int basicBulletMoveSpeed = 7400; // 基本子弹移动速度 |
|
|
|
|
|
|
|
|
SCCI int32_t basicBulletMoveSpeed = 7400; // 基本子弹移动速度 |
|
|
SCCI double basicRemoteAttackRange = 6000; // 基本远程攻击范围 |
|
|
SCCI double basicRemoteAttackRange = 6000; // 基本远程攻击范围 |
|
|
SCCI double basicAttackShortRange = 2200; // 基本近程攻击范围 |
|
|
SCCI double basicAttackShortRange = 2200; // 基本近程攻击范围 |
|
|
SCCI double basicBulletBombRange = 2000; // 基本子弹爆炸范围 |
|
|
SCCI double basicBulletBombRange = 2000; // 基本子弹爆炸范围 |
|
|
|
|
|
|
|
|
// 道具相关 |
|
|
// 道具相关 |
|
|
|
|
|
|
|
|
SCCI int apPropAdd = basicApOfTricker * 12 / 10; |
|
|
|
|
|
SCCI int apSpearAdd = basicApOfTricker * 6 / 10; |
|
|
|
|
|
|
|
|
SCCI int32_t apPropAdd = basicApOfTricker * 12 / 10; |
|
|
|
|
|
SCCI int32_t apSpearAdd = basicApOfTricker * 6 / 10; |
|
|
|
|
|
|
|
|
// 职业相关 |
|
|
// 职业相关 |
|
|
struct Assassin |
|
|
struct Assassin |
|
|
{ |
|
|
{ |
|
|
SCCI int moveSpeed = basicTrickerSpeed * 11 / 10; |
|
|
|
|
|
|
|
|
SCCI int32_t moveSpeed = basicTrickerSpeed * 11 / 10; |
|
|
SCCI double concealment = 1.5; |
|
|
SCCI double concealment = 1.5; |
|
|
SCCI int alertnessRadius = basicTrickerAlertnessRadius * 13 / 10; |
|
|
|
|
|
SCCI int viewRange = basicTrickerViewRange * 12 / 10; |
|
|
|
|
|
SCCI int speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int speedOfClimbingThroughWindows = basicTrickerSpeedOfClimbingThroughWindows; |
|
|
|
|
|
SCCI int speedOfOpenChest = basicSpeedOfOpenChest; |
|
|
|
|
|
|
|
|
SCCI int32_t alertnessRadius = basicTrickerAlertnessRadius * 13 / 10; |
|
|
|
|
|
SCCI int32_t viewRange = basicTrickerViewRange * 12 / 10; |
|
|
|
|
|
SCCI int32_t speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int32_t speedOfClimbingThroughWindows = basicTrickerSpeedOfClimbingThroughWindows; |
|
|
|
|
|
SCCI int32_t speedOfOpenChest = basicSpeedOfOpenChest; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct Klee |
|
|
struct Klee |
|
|
{ |
|
|
{ |
|
|
SCCI int moveSpeed = basicTrickerSpeed; |
|
|
|
|
|
|
|
|
SCCI int32_t moveSpeed = basicTrickerSpeed; |
|
|
SCCI double concealment = 1; |
|
|
SCCI double concealment = 1; |
|
|
SCCI int alertnessRadius = basicTrickerAlertnessRadius; |
|
|
|
|
|
SCCI int viewRange = basicTrickerViewRange; |
|
|
|
|
|
SCCI int speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int speedOfClimbingThroughWindows = basicTrickerSpeedOfClimbingThroughWindows; |
|
|
|
|
|
SCCI int speedOfOpenChest = basicSpeedOfOpenChest * 11 / 10; |
|
|
|
|
|
|
|
|
SCCI int32_t alertnessRadius = basicTrickerAlertnessRadius; |
|
|
|
|
|
SCCI int32_t viewRange = basicTrickerViewRange; |
|
|
|
|
|
SCCI int32_t speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int32_t speedOfClimbingThroughWindows = basicTrickerSpeedOfClimbingThroughWindows; |
|
|
|
|
|
SCCI int32_t speedOfOpenChest = basicSpeedOfOpenChest * 11 / 10; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct ANoisyPerson |
|
|
struct ANoisyPerson |
|
|
{ |
|
|
{ |
|
|
SCCI int moveSpeed = (int)(basicTrickerSpeed * 1.07); |
|
|
|
|
|
|
|
|
SCCI int32_t moveSpeed = (int32_t)(basicTrickerSpeed * 1.07); |
|
|
SCCI double concealment = 0.8; |
|
|
SCCI double concealment = 0.8; |
|
|
SCCI int alertnessRadius = basicTrickerAlertnessRadius * 9 / 10; |
|
|
|
|
|
SCCI int viewRange = basicTrickerViewRange; |
|
|
|
|
|
SCCI int speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int speedOfClimbingThroughWindows = basicTrickerSpeedOfClimbingThroughWindows * 11 / 10; |
|
|
|
|
|
SCCI int speedOfOpenChest = basicSpeedOfOpenChest * 11 / 10; |
|
|
|
|
|
|
|
|
SCCI int32_t alertnessRadius = basicTrickerAlertnessRadius * 9 / 10; |
|
|
|
|
|
SCCI int32_t viewRange = basicTrickerViewRange; |
|
|
|
|
|
SCCI int32_t speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int32_t speedOfClimbingThroughWindows = basicTrickerSpeedOfClimbingThroughWindows * 11 / 10; |
|
|
|
|
|
SCCI int32_t speedOfOpenChest = basicSpeedOfOpenChest * 11 / 10; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct Idol |
|
|
struct Idol |
|
|
{ |
|
|
{ |
|
|
SCCI int moveSpeed = basicTrickerSpeed; |
|
|
|
|
|
|
|
|
SCCI int32_t moveSpeed = basicTrickerSpeed; |
|
|
SCCI double concealment = 0.75; |
|
|
SCCI double concealment = 0.75; |
|
|
SCCI int alertnessRadius = basicTrickerAlertnessRadius; |
|
|
|
|
|
SCCI int viewRange = basicTrickerViewRange * 11 / 10; |
|
|
|
|
|
SCCI int speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int speedOfClimbingThroughWindows = basicTrickerSpeedOfClimbingThroughWindows; |
|
|
|
|
|
SCCI int speedOfOpenChest = basicSpeedOfOpenChest; |
|
|
|
|
|
|
|
|
SCCI int32_t alertnessRadius = basicTrickerAlertnessRadius; |
|
|
|
|
|
SCCI int32_t viewRange = basicTrickerViewRange * 11 / 10; |
|
|
|
|
|
SCCI int32_t speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int32_t speedOfClimbingThroughWindows = basicTrickerSpeedOfClimbingThroughWindows; |
|
|
|
|
|
SCCI int32_t speedOfOpenChest = basicSpeedOfOpenChest; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct Athlete |
|
|
struct Athlete |
|
|
{ |
|
|
{ |
|
|
SCCI int moveSpeed = basicStudentSpeed * 105 / 100; |
|
|
|
|
|
SCCI int maxHp = basicHp; |
|
|
|
|
|
SCCI int maxAddiction = basicMaxGamingAddiction * 9 / 10; |
|
|
|
|
|
SCCI int fixSpeed = basicFixSpeed * 6 / 10; |
|
|
|
|
|
SCCI int encourageSpeed = basicEncourageSpeed * 9 / 10; |
|
|
|
|
|
|
|
|
SCCI int32_t moveSpeed = basicStudentSpeed * 105 / 100; |
|
|
|
|
|
SCCI int32_t maxHp = basicHp; |
|
|
|
|
|
SCCI int32_t maxAddiction = basicMaxGamingAddiction * 9 / 10; |
|
|
|
|
|
SCCI int32_t fixSpeed = basicFixSpeed * 6 / 10; |
|
|
|
|
|
SCCI int32_t encourageSpeed = basicEncourageSpeed * 9 / 10; |
|
|
SCCI double concealment = 0.9; |
|
|
SCCI double concealment = 0.9; |
|
|
SCCI int alertnessRadius = basicStudentAlertnessRadius; |
|
|
|
|
|
SCCI int viewRange = basicStudentViewRange * 11 / 10; |
|
|
|
|
|
SCCI int speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int speedOfClimbingThroughWindows = basicStudentSpeedOfClimbingThroughWindows * 12 / 10; |
|
|
|
|
|
SCCI int speedOfOpenChest = basicSpeedOfOpenChest; |
|
|
|
|
|
|
|
|
SCCI int32_t alertnessRadius = basicStudentAlertnessRadius; |
|
|
|
|
|
SCCI int32_t viewRange = basicStudentViewRange * 11 / 10; |
|
|
|
|
|
SCCI int32_t speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int32_t speedOfClimbingThroughWindows = basicStudentSpeedOfClimbingThroughWindows * 12 / 10; |
|
|
|
|
|
SCCI int32_t speedOfOpenChest = basicSpeedOfOpenChest; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct Teacher |
|
|
struct Teacher |
|
|
{ |
|
|
{ |
|
|
SCCI int moveSpeed = basicStudentSpeed * 9 / 10; |
|
|
|
|
|
SCCI int maxHp = basicHp * 10; |
|
|
|
|
|
SCCI int maxAddiction = basicMaxGamingAddiction * 10; |
|
|
|
|
|
SCCI int fixSpeed = (int)(basicFixSpeed * 50 / 123); |
|
|
|
|
|
SCCI int encourageSpeed = basicEncourageSpeed * 8 / 10; |
|
|
|
|
|
|
|
|
SCCI int32_t moveSpeed = basicStudentSpeed * 9 / 10; |
|
|
|
|
|
SCCI int32_t maxHp = basicHp * 10; |
|
|
|
|
|
SCCI int32_t maxAddiction = basicMaxGamingAddiction * 10; |
|
|
|
|
|
SCCI int32_t fixSpeed = (int32_t)(basicFixSpeed * 50 / 123); |
|
|
|
|
|
SCCI int32_t encourageSpeed = basicEncourageSpeed * 8 / 10; |
|
|
SCCI double concealment = 0.5; |
|
|
SCCI double concealment = 0.5; |
|
|
SCCI int alertnessRadius = basicStudentAlertnessRadius * 2 / 3; |
|
|
|
|
|
SCCI int viewRange = basicStudentViewRange * 8 / 10; |
|
|
|
|
|
SCCI int speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int speedOfClimbingThroughWindows = (int)(basicStudentSpeedOfClimbingThroughWindows * 1000 / 1222); |
|
|
|
|
|
SCCI int speedOfOpenChest = basicSpeedOfOpenChest; |
|
|
|
|
|
|
|
|
SCCI int32_t alertnessRadius = basicStudentAlertnessRadius * 2 / 3; |
|
|
|
|
|
SCCI int32_t viewRange = basicStudentViewRange * 8 / 10; |
|
|
|
|
|
SCCI int32_t speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int32_t speedOfClimbingThroughWindows = (int32_t)(basicStudentSpeedOfClimbingThroughWindows * 1000 / 1222); |
|
|
|
|
|
SCCI int32_t speedOfOpenChest = basicSpeedOfOpenChest; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct StraightAStudent |
|
|
struct StraightAStudent |
|
|
{ |
|
|
{ |
|
|
SCCI int moveSpeed = basicStudentSpeed * 24 / 25; |
|
|
|
|
|
SCCI int maxHp = basicHp * 11 / 10; |
|
|
|
|
|
SCCI int maxAddiction = basicMaxGamingAddiction * 13 / 10; |
|
|
|
|
|
SCCI int fixSpeed = basicFixSpeed * 11 / 10; |
|
|
|
|
|
SCCI int encourageSpeed = basicEncourageSpeed; |
|
|
|
|
|
|
|
|
SCCI int32_t moveSpeed = basicStudentSpeed * 24 / 25; |
|
|
|
|
|
SCCI int32_t maxHp = basicHp * 11 / 10; |
|
|
|
|
|
SCCI int32_t maxAddiction = basicMaxGamingAddiction * 13 / 10; |
|
|
|
|
|
SCCI int32_t fixSpeed = basicFixSpeed * 11 / 10; |
|
|
|
|
|
SCCI int32_t encourageSpeed = basicEncourageSpeed; |
|
|
SCCI double concealment = 0.9; |
|
|
SCCI double concealment = 0.9; |
|
|
SCCI int alertnessRadius = basicStudentAlertnessRadius * 9 / 10; |
|
|
|
|
|
SCCI int viewRange = basicStudentViewRange * 9 / 10; |
|
|
|
|
|
SCCI int speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int speedOfClimbingThroughWindows = basicStudentSpeedOfClimbingThroughWindows * 10 / 12; |
|
|
|
|
|
SCCI int speedOfOpenChest = basicSpeedOfOpenChest; |
|
|
|
|
|
|
|
|
SCCI int32_t alertnessRadius = basicStudentAlertnessRadius * 9 / 10; |
|
|
|
|
|
SCCI int32_t viewRange = basicStudentViewRange * 9 / 10; |
|
|
|
|
|
SCCI int32_t speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int32_t speedOfClimbingThroughWindows = basicStudentSpeedOfClimbingThroughWindows * 10 / 12; |
|
|
|
|
|
SCCI int32_t speedOfOpenChest = basicSpeedOfOpenChest; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct Robot |
|
|
struct Robot |
|
|
{ |
|
|
{ |
|
|
SCCI int moveSpeed = basicStudentSpeed * 9 / 10; |
|
|
|
|
|
SCCI int maxHp = basicHp * 3 / 10; |
|
|
|
|
|
SCCI int maxAddiction = basicMaxGamingAddiction * 0; |
|
|
|
|
|
SCCI int fixSpeed = basicFixSpeed * 7 / 10; |
|
|
|
|
|
SCCI int encourageSpeed = 0; |
|
|
|
|
|
|
|
|
SCCI int32_t moveSpeed = basicStudentSpeed * 9 / 10; |
|
|
|
|
|
SCCI int32_t maxHp = basicHp * 3 / 10; |
|
|
|
|
|
SCCI int32_t maxAddiction = basicMaxGamingAddiction * 0; |
|
|
|
|
|
SCCI int32_t fixSpeed = basicFixSpeed * 7 / 10; |
|
|
|
|
|
SCCI int32_t encourageSpeed = 0; |
|
|
SCCI double concealment = 0.8; |
|
|
SCCI double concealment = 0.8; |
|
|
SCCI int alertnessRadius = 0; |
|
|
|
|
|
SCCI int viewRange = 0; |
|
|
|
|
|
SCCI int speedOfOpeningOrLocking = 0; |
|
|
|
|
|
SCCI int speedOfClimbingThroughWindows = 1; |
|
|
|
|
|
SCCI int speedOfOpenChest = basicSpeedOfOpenChest * 4 / 5; |
|
|
|
|
|
|
|
|
SCCI int32_t alertnessRadius = 0; |
|
|
|
|
|
SCCI int32_t viewRange = 0; |
|
|
|
|
|
SCCI int32_t speedOfOpeningOrLocking = 0; |
|
|
|
|
|
SCCI int32_t speedOfClimbingThroughWindows = 1; |
|
|
|
|
|
SCCI int32_t speedOfOpenChest = basicSpeedOfOpenChest * 4 / 5; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct TechOtaku |
|
|
struct TechOtaku |
|
|
{ |
|
|
{ |
|
|
SCCI int moveSpeed = (int)(basicStudentSpeed * 0.96); |
|
|
|
|
|
SCCI int maxHp = basicHp * 9 / 10; |
|
|
|
|
|
SCCI int maxAddiction = basicMaxGamingAddiction; |
|
|
|
|
|
SCCI int fixSpeed = (int)(basicFixSpeed * 0.9); |
|
|
|
|
|
SCCI int encourageSpeed = basicEncourageSpeed; |
|
|
|
|
|
|
|
|
SCCI int32_t moveSpeed = (int32_t)(basicStudentSpeed * 0.96); |
|
|
|
|
|
SCCI int32_t maxHp = basicHp * 9 / 10; |
|
|
|
|
|
SCCI int32_t maxAddiction = basicMaxGamingAddiction; |
|
|
|
|
|
SCCI int32_t fixSpeed = (int32_t)(basicFixSpeed * 0.9); |
|
|
|
|
|
SCCI int32_t encourageSpeed = basicEncourageSpeed; |
|
|
SCCI double concealment = 1.1; |
|
|
SCCI double concealment = 1.1; |
|
|
SCCI int alertnessRadius = basicStudentAlertnessRadius; |
|
|
|
|
|
SCCI int viewRange = basicStudentViewRange * 9 / 10; |
|
|
|
|
|
SCCI int speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int speedOfClimbingThroughWindows = (int)(basicStudentSpeedOfClimbingThroughWindows * 0.9); |
|
|
|
|
|
SCCI int speedOfOpenChest = basicSpeedOfOpenChest * 22 / 25; |
|
|
|
|
|
|
|
|
SCCI int32_t alertnessRadius = basicStudentAlertnessRadius; |
|
|
|
|
|
SCCI int32_t viewRange = basicStudentViewRange * 9 / 10; |
|
|
|
|
|
SCCI int32_t speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking; |
|
|
|
|
|
SCCI int32_t speedOfClimbingThroughWindows = (int32_t)(basicStudentSpeedOfClimbingThroughWindows * 0.9); |
|
|
|
|
|
SCCI int32_t speedOfOpenChest = basicSpeedOfOpenChest * 22 / 25; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct Sunshine |
|
|
struct Sunshine |
|
|
{ |
|
|
{ |
|
|
SCCI int moveSpeed = basicStudentSpeed; |
|
|
|
|
|
SCCI int maxHp = basicHp * 16 / 15; |
|
|
|
|
|
SCCI int maxAddiction = basicMaxGamingAddiction * 11 / 10; |
|
|
|
|
|
SCCI int fixSpeed = basicFixSpeed; |
|
|
|
|
|
SCCI int encourageSpeed = basicEncourageSpeed * 6 / 5; |
|
|
|
|
|
|
|
|
SCCI int32_t moveSpeed = basicStudentSpeed; |
|
|
|
|
|
SCCI int32_t maxHp = basicHp * 16 / 15; |
|
|
|
|
|
SCCI int32_t maxAddiction = basicMaxGamingAddiction * 11 / 10; |
|
|
|
|
|
SCCI int32_t fixSpeed = basicFixSpeed; |
|
|
|
|
|
SCCI int32_t encourageSpeed = basicEncourageSpeed * 6 / 5; |
|
|
SCCI double concealment = 1; |
|
|
SCCI double concealment = 1; |
|
|
SCCI int alertnessRadius = basicStudentAlertnessRadius; |
|
|
|
|
|
SCCI int viewRange = basicStudentViewRange; |
|
|
|
|
|
SCCI int speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking * 7 / 10; |
|
|
|
|
|
SCCI int speedOfClimbingThroughWindows = basicStudentSpeedOfClimbingThroughWindows; |
|
|
|
|
|
SCCI int speedOfOpenChest = basicSpeedOfOpenChest * 9 / 10; |
|
|
|
|
|
|
|
|
SCCI int32_t alertnessRadius = basicStudentAlertnessRadius; |
|
|
|
|
|
SCCI int32_t viewRange = basicStudentViewRange; |
|
|
|
|
|
SCCI int32_t speedOfOpeningOrLocking = basicSpeedOfOpeningOrLocking * 7 / 10; |
|
|
|
|
|
SCCI int32_t speedOfClimbingThroughWindows = basicStudentSpeedOfClimbingThroughWindows; |
|
|
|
|
|
SCCI int32_t speedOfOpenChest = basicSpeedOfOpenChest * 9 / 10; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
// 技能相关 |
|
|
// 技能相关 |
|
|
SCCI int maxNumOfSkill = 3; |
|
|
|
|
|
SCCI int commonSkillCD = 30000; // 普通技能标准冷却时间 |
|
|
|
|
|
SCCI int commonSkillTime = 10000; // 普通技能标准持续时间 |
|
|
|
|
|
|
|
|
SCCI int32_t maxNumOfSkill = 3; |
|
|
|
|
|
SCCI int32_t commonSkillCD = 30000; // 普通技能标准冷却时间 |
|
|
|
|
|
SCCI int32_t commonSkillTime = 10000; // 普通技能标准持续时间 |
|
|
|
|
|
|
|
|
SCCI int timeOfTrickerStunnedWhenCharge = 7220; |
|
|
|
|
|
SCCI int timeOfStudentStunnedWhenCharge = 2090; |
|
|
|
|
|
|
|
|
SCCI int32_t timeOfTrickerStunnedWhenCharge = 7220; |
|
|
|
|
|
SCCI int32_t timeOfStudentStunnedWhenCharge = 2090; |
|
|
|
|
|
|
|
|
SCCI int timeOfTrickerStunnedWhenPunish = 3070; |
|
|
|
|
|
|
|
|
SCCI int32_t timeOfTrickerStunnedWhenPunish = 3070; |
|
|
|
|
|
|
|
|
SCCI int timeOfTrickerSwingingAfterHowl = 800; |
|
|
|
|
|
SCCI int timeOfStudentStunnedWhenHowl = 5500; |
|
|
|
|
|
|
|
|
SCCI int32_t timeOfTrickerSwingingAfterHowl = 800; |
|
|
|
|
|
SCCI int32_t timeOfStudentStunnedWhenHowl = 5500; |
|
|
|
|
|
|
|
|
SCCI int timeOfStunnedWhenJumpyDumpty = 3070; |
|
|
|
|
|
|
|
|
SCCI int32_t timeOfStunnedWhenJumpyDumpty = 3070; |
|
|
|
|
|
|
|
|
SCCI double addedTimeOfSpeedWhenInspire = 1.6; |
|
|
SCCI double addedTimeOfSpeedWhenInspire = 1.6; |
|
|
SCCI int timeOfAddingSpeedWhenInspire = 6000; |
|
|
|
|
|
|
|
|
SCCI int32_t timeOfAddingSpeedWhenInspire = 6000; |
|
|
|
|
|
|
|
|
SCCI int addHpWhenEncourage = basicHp / 4; |
|
|
|
|
|
|
|
|
SCCI int32_t addHpWhenEncourage = basicHp / 4; |
|
|
|
|
|
|
|
|
SCCI int checkIntervalWhenShowTime = 200; |
|
|
|
|
|
SCCI int addAddictionPer100msWhenShowTime = 300; |
|
|
|
|
|
|
|
|
SCCI int32_t checkIntervalWhenShowTime = 200; |
|
|
|
|
|
SCCI int32_t addAddictionPer100msWhenShowTime = 300; |
|
|
struct CanBeginToCharge |
|
|
struct CanBeginToCharge |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 2; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 3 / 10; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 2; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 3 / 10; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct BecomeInvisible |
|
|
struct BecomeInvisible |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 4 / 3; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 4 / 3; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct Punish |
|
|
struct Punish |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 3 / 2; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 0; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 3 / 2; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 0; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct SparksNSplash |
|
|
struct SparksNSplash |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 3 / 2; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 1; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 3 / 2; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 1; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct HaveTea |
|
|
struct HaveTea |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 3; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 0; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 3; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 0; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct Rouse |
|
|
struct Rouse |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 4; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 0; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 4; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 0; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct Encourage |
|
|
struct Encourage |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 4; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 0; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 4; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 0; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct Inspire |
|
|
struct Inspire |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 4; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 0; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 4; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 0; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct Howl |
|
|
struct Howl |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 25 / 30; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 0; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 25 / 30; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 0; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct ShowTime |
|
|
struct ShowTime |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 8 / 3; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 1; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 8 / 3; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 1; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct JumpyBomb |
|
|
struct JumpyBomb |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD / 2; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 3 / 10; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD / 2; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 3 / 10; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct UseKnife |
|
|
struct UseKnife |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 1; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime / 10; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 1; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime / 10; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct UseRobot |
|
|
struct UseRobot |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD / 15; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 0; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD / 15; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 0; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct WriteAnswers |
|
|
struct WriteAnswers |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 1; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 0; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 1; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 0; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct SummonGolem |
|
|
struct SummonGolem |
|
|
{ |
|
|
{ |
|
|
SCCI int skillCD = commonSkillCD * 4 / 3; |
|
|
|
|
|
SCCI int durationTime = commonSkillTime * 6; |
|
|
|
|
|
|
|
|
SCCI int32_t skillCD = commonSkillCD * 4 / 3; |
|
|
|
|
|
SCCI int32_t durationTime = commonSkillTime * 6; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct CommonAttackOfTricker |
|
|
struct CommonAttackOfTricker |
|
|
{ |
|
|
{ |
|
|
SCCI double BulletBombRange = 0; |
|
|
SCCI double BulletBombRange = 0; |
|
|
SCCI double BulletAttackRange = basicAttackShortRange; |
|
|
SCCI double BulletAttackRange = basicAttackShortRange; |
|
|
SCCI int ap = basicApOfTricker; |
|
|
|
|
|
SCCI int Speed = basicBulletMoveSpeed; |
|
|
|
|
|
|
|
|
SCCI int32_t ap = basicApOfTricker; |
|
|
|
|
|
SCCI int32_t Speed = basicBulletMoveSpeed; |
|
|
SCCI bool IsRemoteAttack = false; |
|
|
SCCI bool IsRemoteAttack = false; |
|
|
|
|
|
|
|
|
SCCI int CastTime = (int)BulletAttackRange * 1000 / Speed; |
|
|
|
|
|
SCCI int Backswing = basicBackswing; |
|
|
|
|
|
SCCI int RecoveryFromHit = basicRecoveryFromHit; |
|
|
|
|
|
SCCI int cd = basicBackswing; |
|
|
|
|
|
SCCI int maxBulletNum = 1; |
|
|
|
|
|
|
|
|
SCCI int32_t CastTime = (int32_t)BulletAttackRange * 1000 / Speed; |
|
|
|
|
|
SCCI int32_t Backswing = basicBackswing; |
|
|
|
|
|
SCCI int32_t RecoveryFromHit = basicRecoveryFromHit; |
|
|
|
|
|
SCCI int32_t cd = basicBackswing; |
|
|
|
|
|
SCCI int32_t maxBulletNum = 1; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct FlyingKnife |
|
|
struct FlyingKnife |
|
|
{ |
|
|
{ |
|
|
SCCI double BulletBombRange = 0; |
|
|
SCCI double BulletBombRange = 0; |
|
|
SCCI double BulletAttackRange = basicRemoteAttackRange * 13; |
|
|
SCCI double BulletAttackRange = basicRemoteAttackRange * 13; |
|
|
SCCI int ap = basicApOfTricker * 4 / 5; |
|
|
|
|
|
SCCI int Speed = basicBulletMoveSpeed * 25 / 10; |
|
|
|
|
|
|
|
|
SCCI int32_t ap = basicApOfTricker * 4 / 5; |
|
|
|
|
|
SCCI int32_t Speed = basicBulletMoveSpeed * 25 / 10; |
|
|
SCCI bool IsRemoteAttack = true; |
|
|
SCCI bool IsRemoteAttack = true; |
|
|
|
|
|
|
|
|
SCCI int CastTime = basicCastTime * 6 / 5; |
|
|
|
|
|
SCCI int Backswing = 0; |
|
|
|
|
|
SCCI int RecoveryFromHit = 0; |
|
|
|
|
|
SCCI int cd = basicBackswing * 3 / 4; |
|
|
|
|
|
SCCI int maxBulletNum = 1; |
|
|
|
|
|
|
|
|
SCCI int32_t CastTime = basicCastTime * 6 / 5; |
|
|
|
|
|
SCCI int32_t Backswing = 0; |
|
|
|
|
|
SCCI int32_t RecoveryFromHit = 0; |
|
|
|
|
|
SCCI int32_t cd = basicBackswing * 3 / 4; |
|
|
|
|
|
SCCI int32_t maxBulletNum = 1; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct BombBomb |
|
|
struct BombBomb |
|
|
{ |
|
|
{ |
|
|
SCCI double BulletBombRange = basicBulletBombRange; |
|
|
SCCI double BulletBombRange = basicBulletBombRange; |
|
|
SCCI double BulletAttackRange = basicAttackShortRange; |
|
|
SCCI double BulletAttackRange = basicAttackShortRange; |
|
|
SCCI int ap = basicApOfTricker * 6 / 5; |
|
|
|
|
|
SCCI int Speed = basicBulletMoveSpeed * 30 / 37; |
|
|
|
|
|
|
|
|
SCCI int32_t ap = basicApOfTricker * 6 / 5; |
|
|
|
|
|
SCCI int32_t Speed = basicBulletMoveSpeed * 30 / 37; |
|
|
SCCI bool IsRemoteAttack = false; |
|
|
SCCI bool IsRemoteAttack = false; |
|
|
|
|
|
|
|
|
SCCI int CastTime = (int)BulletAttackRange * 1000 / Speed; |
|
|
|
|
|
SCCI int Backswing = basicBackswing * 3 / 2; |
|
|
|
|
|
SCCI int RecoveryFromHit = basicRecoveryFromHit; |
|
|
|
|
|
SCCI int cd = basicCD; |
|
|
|
|
|
SCCI int maxBulletNum = 1; |
|
|
|
|
|
|
|
|
SCCI int32_t CastTime = (int32_t)BulletAttackRange * 1000 / Speed; |
|
|
|
|
|
SCCI int32_t Backswing = basicBackswing * 3 / 2; |
|
|
|
|
|
SCCI int32_t RecoveryFromHit = basicRecoveryFromHit; |
|
|
|
|
|
SCCI int32_t cd = basicCD; |
|
|
|
|
|
SCCI int32_t maxBulletNum = 1; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct JumpyDumpty |
|
|
struct JumpyDumpty |
|
|
{ |
|
|
{ |
|
|
SCCI double BulletBombRange = basicBulletBombRange / 2; |
|
|
SCCI double BulletBombRange = basicBulletBombRange / 2; |
|
|
SCCI double BulletAttackRange = basicAttackShortRange * 16 / 22; |
|
|
SCCI double BulletAttackRange = basicAttackShortRange * 16 / 22; |
|
|
SCCI int ap = (int)(basicApOfTricker * 0.6); |
|
|
|
|
|
SCCI int Speed = basicBulletMoveSpeed * 43 / 37; |
|
|
|
|
|
|
|
|
SCCI int32_t ap = (int32_t)(basicApOfTricker * 0.6); |
|
|
|
|
|
SCCI int32_t Speed = basicBulletMoveSpeed * 43 / 37; |
|
|
SCCI bool IsRemoteAttack = false; |
|
|
SCCI bool IsRemoteAttack = false; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
@@ -378,15 +378,15 @@ namespace Constants |
|
|
{ |
|
|
{ |
|
|
SCCI double BulletBombRange = 0; |
|
|
SCCI double BulletBombRange = 0; |
|
|
SCCI double BulletAttackRange = basicAttackShortRange; |
|
|
SCCI double BulletAttackRange = basicAttackShortRange; |
|
|
SCCI int ap = basicApOfTricker * 16 / 15; |
|
|
|
|
|
SCCI int Speed = basicBulletMoveSpeed * 125 / 148; |
|
|
|
|
|
|
|
|
SCCI int32_t ap = basicApOfTricker * 16 / 15; |
|
|
|
|
|
SCCI int32_t Speed = basicBulletMoveSpeed * 125 / 148; |
|
|
SCCI bool IsRemoteAttack = false; |
|
|
SCCI bool IsRemoteAttack = false; |
|
|
|
|
|
|
|
|
SCCI int CastTime = basicCastTime * 16 / 25; |
|
|
|
|
|
SCCI int Backswing = basicBackswing; |
|
|
|
|
|
SCCI int RecoveryFromHit = basicRecoveryFromHit; |
|
|
|
|
|
SCCI int cd = basicBackswing; |
|
|
|
|
|
SCCI int maxBulletNum = 1; |
|
|
|
|
|
|
|
|
SCCI int32_t CastTime = basicCastTime * 16 / 25; |
|
|
|
|
|
SCCI int32_t Backswing = basicBackswing; |
|
|
|
|
|
SCCI int32_t RecoveryFromHit = basicRecoveryFromHit; |
|
|
|
|
|
SCCI int32_t cd = basicBackswing; |
|
|
|
|
|
SCCI int32_t maxBulletNum = 1; |
|
|
}; |
|
|
}; |
|
|
} // namespace Constants |
|
|
} // namespace Constants |
|
|
#endif |
|
|
#endif |