Skip to content

Commit

Permalink
Update Medic
Browse files Browse the repository at this point in the history
  • Loading branch information
mxyx0412 committed Apr 20, 2024
1 parent 94ed72a commit 49b7963
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 12 deletions.
25 changes: 17 additions & 8 deletions README_ZH-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,30 @@ Even more roles are coming soon.

## 更新日志

### v1.0.3.5:

- #### 新增内容:

- 对模组选项增加英译
- 对所有按钮增加默认冷却为2.5s(给一部分无冷却技能增加提醒)
- 法医:延长被保护的玩家被击杀时闪光提醒时间(从0.5s增加到1.5s)
-

### v1.0.3.4:

- #### Bug修复:

- 豺狼:修复招募后技能按钮不会消失的问题(不确定)
- 交换师:修复无法与追踪者交换的问题
- 告密者:在设置揭示击杀中立但实际是无效的问题
- 优化随机出生与分散技能的代码逻辑(删除多余代码)
- 修复一部分技能按钮文本错误
- 交换师:修复无法与追踪者交换的问题
- 告密者:在设置告密者可揭示击杀中立但实际无法揭示的问题

<details>
<summary>点我查看更多更新日志</summary>

### v1.0.3.3:

- #### 新增内容
- #### 新增内容

- 增加阻止任务获胜的选项(目前无效)
- 使一部分职业无法共同出现
Expand All @@ -46,12 +58,9 @@ Even more roles are coming soon.

- 修复内鬼阵营无法超过3名的问题


<details>
<summary>点我查看更多更新日志</summary>
### v1.0.3.2:

- #### 新增内容
- #### 新增内容

- 新增附加职业:绝境者(在内鬼阵营只剩1名时减少击杀cd)
- 随机出生点可选随机出生至通风口上
Expand Down
Binary file modified Strings.xlsx
Binary file not shown.
2 changes: 1 addition & 1 deletion TheOtherRoles/Patches/PlayerControlPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2069,7 +2069,7 @@ public static void Postfix(PlayerControl __instance, [HarmonyArgument(0)] Player
if (Seer.seer != null &&
(CachedPlayer.LocalPlayer.PlayerControl == Seer.seer || Helpers.shouldShowGhostInfo()) &&
!Seer.seer.Data.IsDead && Seer.seer != target && Seer.mode <= 1)
Helpers.showFlash(new Color(42f / 255f, 187f / 255f, 245f / 255f), message: "灵媒信息: 有人死亡");
Helpers.showFlash(new Color(42f / 255f, 187f / 255f, 245f / 255f), message: getString("seerShowInfoText"));
if (Seer.deadBodyPositions != null) Seer.deadBodyPositions.Add(target.transform.position);

// Tracker store body positions
Expand Down
2 changes: 1 addition & 1 deletion TheOtherRoles/RPC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1514,7 +1514,7 @@ public static void shieldedMurderAttempt(byte blank)
var isMedicAndShow = Medic.medic == CachedPlayer.LocalPlayer.PlayerControl && Medic.showAttemptToMedic;

if (isShieldedAndShow || isMedicAndShow || Helpers.shouldShowGhostInfo())
Helpers.showFlash(Palette.ImpostorRed, 0.5f, ModTranslation.getString("medicShowAttemptText"));
Helpers.showFlash(Palette.ImpostorRed, 1.5f, ModTranslation.getString("medicShowAttemptText"));
}

public static void shifterShift(byte targetId)
Expand Down
2 changes: 1 addition & 1 deletion TheOtherRoles/Resources/stringData.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"13": "\u6a21\u7ec4\u9009\u9879"
},
"TORMapOptionsTitleText": {
"0": "More Options\u2026",
"0": "More Options...",
"13": "\u6a21\u7ec4\u9009\u9879"
},
"GhostsSeeInformationText": {
Expand Down
2 changes: 1 addition & 1 deletion TheOtherRoles/TheOtherRoles.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>1.0.3.4</Version>
<Version>1.0.3.5</Version>
<AssemblyName>TheOtherRoles</AssemblyName>
<Description>TheOtherUs-Edited</Description>
<Authors>mxyx-club</Authors>
Expand Down

0 comments on commit 49b7963

Please sign in to comment.