-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/jClient #1289
base: main
Are you sure you want to change the base?
Feature/jClient #1289
Conversation
README-EN.md
Outdated
Team : Neutral(Jackal)<br> | ||
Basis : Crewmate or Engineer<br> | ||
|
||
The Client belong to team Jackal, like Inposter's Madmates.<br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
採用可否に関わらず)
Inpost"o"rですね
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
誤字です
(説明の流用元の誤りをそのまま引き継いでしまいました)
修正します
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impostorでは......?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nもだわ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
すみません。
翻訳全般見直しします。
(コピペしたところ色々バグってます・・・)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
採用可否がまだなので大雑把な指摘にとどめておきます
README-EN.md
Outdated
Team : Neutral(Jackal)<br> | ||
Basis : Crewmate or Engineer<br> | ||
|
||
The Client belong to team Jackal, like Inpostor's Madmates.<br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
文脈的にここのインポスターは複数だと思うのでImpostors' Madmatesが正しいと思いますが,別にインポスターがマッドメイトを所有しているわけではないのでMadmates for Impostors(インポスターにとってのマッドメイトのように,...)あたりが適切に思います
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
翻訳系は全般的に見直します
README-EN.md
Outdated
| Client Can Use Vent | | ||
| Client Vent Cooldown | | ||
| Client Max Time In Vents (s) | | ||
| Client Tasks | | ||
| Client Have Impostor Vision | | ||
| Can see task finished Client from Jackal | | ||
| After Jackal Dead Mode | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
全角スペースが混ざっているのと,翻訳とオプション名がズレているのをなんとかしてほしいです
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
修正します
README.md
Outdated
ジャッカル陣営に属しますが、クライアントとジャッカルはお互い誰かはわかりません。<br> | ||
タスクを全て完了させるとジャッカルを認識できるようになります。<br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
日英のreadmeで情報量にかなり差があるようですが,何かそうした理由はありますか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
翻訳系は全般的に見直します
Roles/Neutral/JClient.cs
Outdated
"JClientAfterJackalDeadMode.None", | ||
"JClientAfterJackalDeadMode.Following" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
インデントに違和感がありますが,なにか理由はありますか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不備です。インデント揃えます。
Roles/Neutral/JClient.cs
Outdated
AURoleOptions.EngineerCooldown = JClient.VentCooldown; | ||
AURoleOptions.EngineerInVentMaxTime = JClient.VentMaxTime; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JClient.
が冗長です
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
修正します。
Roles/Neutral/JClient.cs
Outdated
{ | ||
seen ??= seer; | ||
if (!CanAlsoBeExposedToJackal || | ||
!seer.Is(CustomRoles.Jackal) || seen.GetRoleClass() is not JClient jclient || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
特別な事情がなければキャメルケースで命名してほしいです
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jclient ⇒ jClient の指摘でよかったでしょうか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
そんな感じです
それかシンプルにclient
でもいいと思います
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clientで統一したいと思います
Roles/Neutral/JClient.cs
Outdated
//ジャッカル死亡時のクライアント状態変化 | ||
if (AfterJackalDead == AfterJackalDeadMode.None) return; | ||
|
||
var jackal = Main.AllPlayerControls.ToArray().Where(pc => pc.Is(CustomRoles.Jackal)).FirstOrDefault(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ToArray
はないほうがいいと思います
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
処理冗長ですね。修正します。
Roles/Neutral/JClient.cs
Outdated
if (jackal != null && !jackal.Data.IsDead && | ||
!Main.AfterMeetingDeathPlayers.ContainsKey(jackal.PlayerId)) return; | ||
|
||
Logger.Info($"jackal:dead, mode:{AfterJackalDead}", "JClient.AfterMeetingTasks"); | ||
|
||
if (Player.Data.IsDead || !MyTaskState.IsTaskFinished) return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IsAliveではなくIsDeadを使っている理由はありますか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
旧処理の修正漏れです。IsAlive使用します。
JClientInfoLong 設定名の変更 一部翻訳言語の追記
新役職「クライアント」追加
ジャッカル陣営のマッドスニッチ
※ロールベース利用に修正
設定
・ベントを使用できる
・ベントクールダウン
・ベント内での最大時間
・クライアントのタスク数
・インポスターと同じ視界を持つ
・タスクが終わるとジャッカルからも視認できる
・ジャッカル死亡後のモード
なし、後追い