Browse Source

build: 🚧 edit the data about Occupations

tags/0.1.0
shangfengh 2 years ago
parent
commit
b3321a1c78
3 changed files with 36 additions and 20 deletions
  1. +14
    -14
      logic/Preparation/Interface/IOccupation.cs
  2. +1
    -1
      logic/Preparation/Utility/GameData.cs
  3. +21
    -5
      logic/规则Logic.md

+ 14
- 14
logic/Preparation/Interface/IOccupation.cs View File

@@ -79,13 +79,13 @@ namespace Preparation.Interface
public int alertnessRadius = GameData.basicGhostAlertnessRadius; public int alertnessRadius = GameData.basicGhostAlertnessRadius;
public int AlertnessRadius => alertnessRadius; public int AlertnessRadius => alertnessRadius;


public int viewRange = GameData.basicGhostViewRange ;
public int viewRange = GameData.basicGhostViewRange;
public int ViewRange => viewRange; public int ViewRange => viewRange;


public int speedOfOpeningOrLocking = GameData.basicSpeedOfOpeningOrLocking ;
public int speedOfOpeningOrLocking = GameData.basicSpeedOfOpeningOrLocking;
public int SpeedOfOpeningOrLocking => speedOfOpeningOrLocking; public int SpeedOfOpeningOrLocking => speedOfOpeningOrLocking;


public int speedOfClimbingThroughWindows = GameData.basicGhostSpeedOfClimbingThroughWindows ;
public int speedOfClimbingThroughWindows = GameData.basicGhostSpeedOfClimbingThroughWindows;
public int SpeedOfClimbingThroughWindows => speedOfClimbingThroughWindows; public int SpeedOfClimbingThroughWindows => speedOfClimbingThroughWindows;


public int speedOfOpenChest = (int)(GameData.basicSpeedOfOpenChest * 1.1); public int speedOfOpenChest = (int)(GameData.basicSpeedOfOpenChest * 1.1);
@@ -141,7 +141,7 @@ namespace Preparation.Interface
public const int fixSpeed = 0; public const int fixSpeed = 0;
public int FixSpeed => fixSpeed; public int FixSpeed => fixSpeed;


public const int treatSpeed = GameData.basicTreatSpeed;
public const int treatSpeed = (int)(GameData.basicTreatSpeed*0.7);
public int TreatSpeed => treatSpeed; public int TreatSpeed => treatSpeed;


public const double concealment = GameData.basicConcealment * 0.5; public const double concealment = GameData.basicConcealment * 0.5;
@@ -164,10 +164,10 @@ namespace Preparation.Interface
} }
public class Athlete : IStudentType public class Athlete : IStudentType
{ {
private const int moveSpeed = GameData.basicStudentMoveSpeed * 40 / 38;
private const int moveSpeed = GameData.basicStudentMoveSpeed * 11/10;
public int MoveSpeed => moveSpeed; public int MoveSpeed => moveSpeed;


private const int maxHp = GameData.basicHp * 32 / 30;
private const int maxHp = GameData.basicHp;
public int MaxHp => maxHp; public int MaxHp => maxHp;


private const int maxGamingAddiction = GameData.basicMaxGamingAddiction * 9 / 10; private const int maxGamingAddiction = GameData.basicMaxGamingAddiction * 9 / 10;
@@ -187,13 +187,13 @@ namespace Preparation.Interface
public const double concealment = GameData.basicConcealment * 0.9; public const double concealment = GameData.basicConcealment * 0.9;
public double Concealment => concealment; public double Concealment => concealment;


public const int alertnessRadius = (int)(GameData.basicGhostAlertnessRadius * 0.9);
public const int alertnessRadius =GameData.basicStudentAlertnessRadius;
public int AlertnessRadius => alertnessRadius; public int AlertnessRadius => alertnessRadius;


public int viewRange = (int)(GameData.basicGhostViewRange * 1.1);
public int viewRange = (int)(GameData.basicStudentViewRange * 1.1);
public int ViewRange => viewRange; public int ViewRange => viewRange;


public int speedOfOpeningOrLocking = GameData.basicSpeedOfOpeningOrLocking * 12 / 10;
public int speedOfOpeningOrLocking = GameData.basicSpeedOfOpeningOrLocking;
public int SpeedOfOpeningOrLocking => speedOfOpeningOrLocking; public int SpeedOfOpeningOrLocking => speedOfOpeningOrLocking;


public int speedOfClimbingThroughWindows = GameData.basicStudentSpeedOfClimbingThroughWindows * 12 / 10; public int speedOfClimbingThroughWindows = GameData.basicStudentSpeedOfClimbingThroughWindows * 12 / 10;
@@ -210,7 +210,7 @@ namespace Preparation.Interface
private const int maxHp = (int)(GameData.basicHp * 1.1); private const int maxHp = (int)(GameData.basicHp * 1.1);
public int MaxHp => maxHp; public int MaxHp => maxHp;


private const int maxGamingAddiction = (int)(GameData.basicMaxGamingAddiction * 1.5);
private const int maxGamingAddiction = (int)(GameData.basicMaxGamingAddiction * 1.3);
public int MaxGamingAddiction => maxGamingAddiction; public int MaxGamingAddiction => maxGamingAddiction;


public BulletType InitBullet => BulletType.Null; public BulletType InitBullet => BulletType.Null;
@@ -338,19 +338,19 @@ namespace Preparation.Interface
public List<ActiveSkillType> ListOfIActiveSkill => new(new ActiveSkillType[] { ActiveSkillType.Rouse, ActiveSkillType.Encourage, ActiveSkillType.Inspire }); public List<ActiveSkillType> ListOfIActiveSkill => new(new ActiveSkillType[] { ActiveSkillType.Rouse, ActiveSkillType.Encourage, ActiveSkillType.Inspire });
public List<PassiveSkillType> ListOfIPassiveSkill => new(new PassiveSkillType[] { }); public List<PassiveSkillType> ListOfIPassiveSkill => new(new PassiveSkillType[] { });


public const int fixSpeed = GameData.basicFixSpeed * 11 / 10;
public const int fixSpeed = GameData.basicFixSpeed;
public int FixSpeed => fixSpeed; public int FixSpeed => fixSpeed;


public const int treatSpeed = GameData.basicTreatSpeed * 2; public const int treatSpeed = GameData.basicTreatSpeed * 2;
public int TreatSpeed => treatSpeed; public int TreatSpeed => treatSpeed;


public const double concealment = GameData.basicConcealment * 1.2;
public const double concealment = GameData.basicConcealment;
public double Concealment => concealment; public double Concealment => concealment;


public const int alertnessRadius = (int)(GameData.basicStudentAlertnessRadius * 1.2);
public const int alertnessRadius = GameData.basicStudentAlertnessRadius;
public int AlertnessRadius => alertnessRadius; public int AlertnessRadius => alertnessRadius;


public int viewRange = (int)(GameData.basicStudentViewRange * 1.1);
public int viewRange = GameData.basicStudentViewRange;
public int ViewRange => viewRange; public int ViewRange => viewRange;


public int speedOfOpeningOrLocking = GameData.basicSpeedOfOpeningOrLocking; public int speedOfOpeningOrLocking = GameData.basicSpeedOfOpeningOrLocking;


+ 1
- 1
logic/Preparation/Utility/GameData.cs View File

@@ -224,7 +224,7 @@ namespace Preparation.Utility
public const int numOfTeachingBuilding = 3; public const int numOfTeachingBuilding = 3;
#endregion #endregion
#region 物体相关 #region 物体相关
public const int degreeOfFixedGenerator = 10300000;
public const int degreeOfFixedGenerator = 8180000;
public const int degreeOfLockingOrOpeningTheDoor = 100000; public const int degreeOfLockingOrOpeningTheDoor = 100000;
public const int degreeOfOpenedChest = 100000; public const int degreeOfOpenedChest = 100000;
public const int degreeOfOpenedDoorway = 18000; public const int degreeOfOpenedDoorway = 18000;


+ 21
- 5
logic/规则Logic.md View File

@@ -137,17 +137,18 @@


## 职业与技能 ## 职业与技能


| 职业 | 基本量 | Assassin | Klee | 喧哗者ANoisyPerson |
### 捣蛋鬼

| 捣蛋鬼职业 | 基本量 | Assassin | Klee | 喧哗者ANoisyPerson |
| :------------ | :--------------------- | :--------------------- | :--------------------- | :--------------------- | | :------------ | :--------------------- | :--------------------- | :--------------------- | :--------------------- |
| 移动速度 | 1,503 | 1.1 | 1 | 1.07 | | 移动速度 | 1,503 | 1.1 | 1 | 1.07 |
| 隐蔽度 | 1.0 | 1.5 | 1 | 0.8 | | 隐蔽度 | 1.0 | 1.5 | 1 | 0.8 |
| 警戒范围 | 17000 | 1.3 | 1 | 0.9 | | 警戒范围 | 17000 | 1.3 | 1 | 0.9 |
| 视野范围 | 15000 | 1.2 | 1 | 1 | | 视野范围 | 15000 | 1.2 | 1 | 1 |
| 开锁门时间(ms)| 2500 | 1 | 1 | 1 |
| 开锁门时间(ms)| 2500 | 1/1 | 1 | 1 |
| 翻窗速度 | 1270 | 1 | 1 | 1.1 | | 翻窗速度 | 1270 | 1 | 1 | 1.1 |
| 翻箱时间(ms) | 10000 | 1 | 1/1.1 | 1 |
| 翻箱时间(ms) | 10000 | 1/1 | 1/1.1 | 1 |


### 捣蛋鬼
#### 刺客 #### 刺客
- 普通攻击为 CommonAttackOfGhost - 普通攻击为 CommonAttackOfGhost
- 主动技能 - 主动技能
@@ -175,10 +176,25 @@


### 学生(&老师) ### 学生(&老师)


| 学生职业 | 基本量 | 教师Teacher | 健身狂Athlete | 学霸StraightAStudent | 开心果Sunshine |
| :------------ | :--------------------- | :--------------------- | :--------------------- | :--------------------- | :--------------------- |
| 移动速度 | 1,270 | 3 / 4 | 1.1 | 0.8 | 1 |
| 最大毅力值 | 3000000 | 10 | 1 | 1.1 | 32/30 |
| 最大沉迷度 | 60000 | 10 | 0.9 | 1.3 | 1.1 |
| 学习一科时间(ms) | 81800 | 1/0 | 10/6 | 10/11 | 1 |
| 治疗速度 | 100 | 0.7 | 0.8 | 0.8 | 2 |
| 隐蔽度 | 1.0 | 0.5 | 0.9 | 0.9 | 1 |
| 警戒范围 | 15000 | 0.5 | 1 | 0.9 | 1 |
| 视野范围 | 10000 | 0.9 | 1.1 | 0.9 | 1 |
| 开锁门时间(ms)| 2500 | 1/1 | 1 | 1 | 1 |
| 翻窗速度 | 1270 | 0.5 | 1.2 | 10/12 | 1 |
| 翻箱时间(ms) | 10000 | 1/1 | 1 | 1 | 1 |

#### 运动员 #### 运动员
- 主动技能 - 主动技能
- 冲撞 - 冲撞
在DurationTime内,速度变为三倍,期间撞到捣蛋鬼,会导致捣蛋鬼眩晕7.22s,学生眩晕2.09s
CD:24s 持续时间:5s
在持续时间内,速度变为三倍,期间撞到捣蛋鬼,会导致捣蛋鬼眩晕7.22s,学生眩晕2.09s


#### 教师 #### 教师
- 主动技能 - 主动技能


Loading…
Cancel
Save