From 60942f556c7c56b487f24201b7066c6b5b36db71 Mon Sep 17 00:00:00 2001 From: shangfengh <3495281661@qq.com> Date: Sun, 16 Apr 2023 03:21:56 +0800 Subject: [PATCH] build: :construction: edit GameData --- dependency/shell/publish.sh | 38 +++++++++++++++++++++++++++ logic/GameRules.md | 20 +++++++------- logic/Preparation/Utility/GameData.cs | 16 +++++------ 3 files changed, 56 insertions(+), 18 deletions(-) create mode 100644 dependency/shell/publish.sh diff --git a/dependency/shell/publish.sh b/dependency/shell/publish.sh new file mode 100644 index 0000000..2a8c775 --- /dev/null +++ b/dependency/shell/publish.sh @@ -0,0 +1,38 @@ +#! /bin/bash +workdir=/d/伤风/软件部/MyTHUAI6/THUAI6/logic +targetdir=/d/伤风/软件部/THUAI6-毕业吧少女 + +mkdir -p ${targetdir} + +pushd ${targetdir} +mkdir -p win/win64 +mkdir -p linux/linux64/ +mkdir -p win/win64/Debug/ +mkdir -p linux/linux64/Debug/ +popd + +pushd ${workdir} + +pushd Server/bin/Release/net6.0/linux-x64/publish +rm *.pdb +cp -rf * ${targetdir}/linux/linux64/ +popd + +pushd Server/bin/Debug/net6.0/linux-x64/publish +cp -rf * ${targetdir}/linux/linux64/Debug/ +popd + +pushd Server/bin/Debug/net6.0/win-x64/publish +cp -rf * ${targetdir}/win/win64/Debug/ +popd + +pushd Server/bin/Release/net6.0/win-x64/publish +rm *.pdb +cp -rf * ${targetdir}/win/win64/ +popd + +pushd Client/bin/Release/net6.0-windows/win-x64/publish +rm *.pdb +cp -rf * ${targetdir}/win/win64/ + +popd diff --git a/logic/GameRules.md b/logic/GameRules.md index 71a2f63..ad4373f 100644 --- a/logic/GameRules.md +++ b/logic/GameRules.md @@ -1,5 +1,5 @@ # 规则 -V4.7 +V4.8 - [规则](#规则) - [简则](#简则) - [地图](#地图) @@ -58,7 +58,7 @@ V4.7 ### 人物 - 人物半径为800 - 人物共有17种不可叠加的状态: -1. (可)移动状态Idel +1. (可)移动状态 Idel 2. 学习 Learning 3. 被勉励 Encouraged 4. 在勉励 Encouraging @@ -83,10 +83,10 @@ V4.7 | 攻击(子弹)类型 |搞蛋鬼的一般攻击CommonAttackOfGhost| 飞刀FlyingKnife | 蹦蹦炸弹BombBomb | 小炸弹JumpyDumpty | | :------------ | :--------------------- | :--------------------- | :--------------------- | :--------------------- | -| 子弹爆炸范围 | 0 | 0 | 1000 | 500 | -| 子弹攻击距离 | 1100 | 39000 | 1100 | 2200 | -| 攻击力 | 1500000 | 1200000 | 1,800,000 | 900000 | -| 移动速度/s | 3700 | 9250 | 3000 | 4300 | +| 子弹爆炸范围 | 0 | 0 | 2000 | 1000 | +| 子弹攻击距离 | 2200 | 78000 | 2200 | 4400 | +| 攻击力 | 1500000 | 1200000 | 1800000 | 900000 | +| 移动速度/s | 7400 | 18500 | 6000 | 8600 | | 前摇(ms) | 297 | 400 | 366 | - | |未攻击至目标时的后摇(ms)| 800 | 0 | 3700 | - | |攻击至目标时的后摇(ms)| 3700 | 0 | 3700 | - | @@ -176,12 +176,12 @@ V4.7 | 捣蛋鬼职业 | Assassin | Klee | 喧哗者ANoisyPerson | Idol | | :------------ | :--------------------- | :--------------------- | :--------------------- | :--------------------- | -| 移动速度/s | 1980 | 1800 | 1926 | 1,800 | +| 移动速度/s | 3960 | 3600 | 3852 | 3600 | | 隐蔽度 | 1.5 | 1 | 0.8 | 0.75| | 警戒范围 | 22,100 | 17000 | 15300 | 17000 | 视野范围 | 15600 | 13000 | 13000 | 14300| | 开锁门速度 | 4000 | 4000 | 4000 |4000 | -| 翻窗速度 | 1270 | 1270 | 1,397 | 1270| +| 翻窗速度 | 2540 | 2540 | 2794 | 2540| | 翻箱速度 | 1000 | 1100 | 1000 |1000| #### Assassin @@ -230,7 +230,7 @@ V4.7 | 学生职业 | 教师Teacher | 健身狂Athlete | 学霸StraightAStudent | 开心果Sunshine | | :------------ | :--------------------- | :--------------------- | :--------------------- | :--------------------- | -| 移动速度 | 1350 | 1575 | 1440 | 1500 | +| 移动速度 | 2700 | 3150 | 2880 | 3000 | | 最大毅力值 | 30000000 | 3000000 | 3300000 | 3200000 | | 最大沉迷度 | 600000 | 54,000 | 78,000 | 66,000 | | 学习一科速度 | 0 | 73 | 135 | 123 | @@ -239,7 +239,7 @@ V4.7 | 警戒范围 | 7500 | 15000 | 13,500 | 15000 | | 视野范围 | 9,000 | 11000 | 9,000 | 10000 | | 开锁门速度 | 4000 | 4000 | 4000 | 2800 | -| 翻窗速度 | 635 | 1,524 | 1,058 | 1270 | +| 翻窗速度 | 1270 | 3048 | 2116 | 2540 | | 翻箱速度 | 1000 | 1000 | 1000 | 900 | #### 运动员 diff --git a/logic/Preparation/Utility/GameData.cs b/logic/Preparation/Utility/GameData.cs index 78dade7..17aca10 100644 --- a/logic/Preparation/Utility/GameData.cs +++ b/logic/Preparation/Utility/GameData.cs @@ -93,8 +93,8 @@ namespace Preparation.Utility public const int basicTreatSpeed = 100; public const int basicFixSpeed = 123; public const int basicSpeedOfOpeningOrLocking = 4000; - public const int basicStudentSpeedOfClimbingThroughWindows = 611; - public const int basicGhostSpeedOfClimbingThroughWindows = 1270; + public const int basicStudentSpeedOfClimbingThroughWindows = 1222; + public const int basicGhostSpeedOfClimbingThroughWindows = 2540; public const int basicSpeedOfOpenChest = 1000; public const int basicHp = 3000000; // 初始血量 @@ -105,9 +105,9 @@ namespace Preparation.Utility public const int basicTimeOfRescue = 1000; #if DEBUG - public const int basicStudentMoveSpeed = 9000;// 基本移动速度,单位:s-1 + public const int basicStudentMoveSpeed = 3000;// 基本移动速度,单位:s-1 #else - public const int basicStudentMoveSpeed = 1500; + public const int basicStudentMoveSpeed = 3000; #endif public const int basicGhostMoveSpeed = (int)(basicStudentMoveSpeed * 1.2); @@ -200,10 +200,10 @@ namespace Preparation.Utility public const int basicRecoveryFromHit = 3700;//基本命中攻击恢复时长 public const int basicStunnedTimeOfStudent = 4300; - public const int basicBulletMoveSpeed = 3700; // 基本子弹移动速度,单位:s-1 - public const double basicRemoteAttackRange = 3000; // 基本远程攻击范围 - public const double basicAttackShortRange = 1100; // 基本近程攻击范围 - public const double basicBulletBombRange = 1000; // 基本子弹爆炸范围 + public const int basicBulletMoveSpeed = 7400; // 基本子弹移动速度,单位:s-1 + public const double basicRemoteAttackRange = 6000; // 基本远程攻击范围 + public const double basicAttackShortRange = 2200; // 基本近程攻击范围 + public const double basicBulletBombRange = 2000; // 基本子弹爆炸范围 #endregion #region 技能相关 public const int maxNumOfSkill = 3;