Browse Source

Merge pull request #290 from DragonAura/dev

feat:  change speed
tags/0.1.0
shangfengh GitHub 3 years ago
parent
commit
6bc0426110
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 19 deletions
  1. +8
    -8
      CAPI/cpp/API/include/constants.h
  2. +11
    -11
      CAPI/python/PyAPI/constants.py

+ 8
- 8
CAPI/cpp/API/include/constants.h View File

@@ -28,8 +28,8 @@ namespace Constants
SCCI int basicEncourageSpeed = 100; SCCI int basicEncourageSpeed = 100;
SCCI int basicFixSpeed = 123; SCCI int basicFixSpeed = 123;
SCCI int basicSpeedOfOpeningOrLocking = 4000; SCCI int basicSpeedOfOpeningOrLocking = 4000;
SCCI int basicStudentSpeedOfClimbingThroughWindows = 611;
SCCI int basicTrickerSpeedOfClimbingThroughWindows = 1270;
SCCI int basicStudentSpeedOfClimbingThroughWindows = 1222;
SCCI int basicTrickerSpeedOfClimbingThroughWindows = 2540;
SCCI int basicSpeedOfOpenChest = 1000; SCCI int basicSpeedOfOpenChest = 1000;


SCCI int basicHp = 3000000; SCCI int basicHp = 3000000;
@@ -37,8 +37,8 @@ namespace Constants
SCCI int basicEncouragementDegree = 1500000; SCCI int basicEncouragementDegree = 1500000;
SCCI int basicTimeOfRouse = 1000; SCCI int basicTimeOfRouse = 1000;


SCCI int basicStudentSpeed = 1270;
SCCI int basicTrickerSpeed = 1504;
SCCI int basicStudentSpeed = 3000;
SCCI int basicTrickerSpeed = 3600;


SCCI double basicConcealment = 1; SCCI double basicConcealment = 1;
SCCI int basicStudentAlertnessRadius = 15 * numOfGridPerCell; SCCI int basicStudentAlertnessRadius = 15 * numOfGridPerCell;
@@ -58,10 +58,10 @@ namespace Constants
SCCI int basicRecoveryFromHit = 3700; // 基本命中攻击恢复时长 SCCI int basicRecoveryFromHit = 3700; // 基本命中攻击恢复时长
SCCI int basicStunnedTimeOfStudent = 4300; SCCI int basicStunnedTimeOfStudent = 4300;


SCCI int basicBulletMoveSpeed = 3700; // 基本子弹移动速度
SCCI double basicRemoteAttackRange = 3000; // 基本远程攻击范围
SCCI double basicAttackShortRange = 1100; // 基本近程攻击范围
SCCI double basicBulletBombRange = 1000; // 基本子弹爆炸范围
SCCI int basicBulletMoveSpeed = 7400; // 基本子弹移动速度
SCCI double basicRemoteAttackRange = 6000; // 基本远程攻击范围
SCCI double basicAttackShortRange = 2200; // 基本近程攻击范围
SCCI double basicBulletBombRange = 2000; // 基本子弹爆炸范围


// 道具相关 // 道具相关




+ 11
- 11
CAPI/python/PyAPI/constants.py View File

@@ -27,8 +27,8 @@ class Constants(NoInstance):
basicEncourageSpeed = 100 basicEncourageSpeed = 100
basicLearnSpeed = 123 basicLearnSpeed = 123
basicSpeedOfOpeningOrLocking = 4000 basicSpeedOfOpeningOrLocking = 4000
basicStudentSpeedOfClimbingThroughWindows = 611
basicTrickerSpeedOfClimbingThroughWindows = 1270
basicStudentSpeedOfClimbingThroughWindows = 1222
basicTrickerSpeedOfClimbingThroughWindows = 2540
basicSpeedOfOpenChest = 1000 basicSpeedOfOpenChest = 1000


basicHp = 3000000 basicHp = 3000000
@@ -36,8 +36,8 @@ class Constants(NoInstance):
basicEncouragementDegree = 1500000 basicEncouragementDegree = 1500000
basicTimeOfRouse = 1000 basicTimeOfRouse = 1000


basicStudentSpeed = 1270
basicTrickerSpeed = 1504
basicStudentSpeed = 3000
basicTrickerSpeed = 3600


basicConcealment = 1.0 basicConcealment = 1.0
basicStudentAlertnessRadius = 15 * numOfGridPerCell basicStudentAlertnessRadius = 15 * numOfGridPerCell
@@ -57,10 +57,10 @@ class Constants(NoInstance):
basicRecoveryFromHit = 3700 # 基本命中攻击恢复时长 basicRecoveryFromHit = 3700 # 基本命中攻击恢复时长
basicStunnedTimeOfStudent = 4300 basicStunnedTimeOfStudent = 4300


basicBulletmoveSpeed = 3700 # 基本子弹移动速度
basicRemoteAttackRange = 3000 # 基本远程攻击范围
basicAttackShortRange = 1100 # 基本近程攻击范围
basicBulletBombRange = 1000 # 基本子弹爆炸范围
basicBulletmoveSpeed = 7400 # 基本子弹移动速度
basicRemoteAttackRange = 6000 # 基本远程攻击范围
basicAttackShortRange = 2200 # 基本近程攻击范围
basicBulletBombRange = 2000 # 基本子弹爆炸范围


# 道具相关 # 道具相关


@@ -84,10 +84,10 @@ class Constants(NoInstance):


addedTimeOfSpeedWhenInspire = 1.6 addedTimeOfSpeedWhenInspire = 1.6
timeOfAddingSpeedWhenInspire = 6000 timeOfAddingSpeedWhenInspire = 6000
addHpWhenEncourage = basicHp / 4;
addHpWhenEncourage = basicHp / 4


checkIntervalWhenShowTime = 200;
addAddictionPer100msWhenShowTime = 300;
checkIntervalWhenShowTime = 200
addAddictionPer100msWhenShowTime = 300




class Assassin: class Assassin:


Loading…
Cancel
Save