Skip to content

Develop/next release#804

Merged
yukieiji merged 8 commits into
masterfrom
develop/next-release
Mar 12, 2026
Merged

Develop/next release#804
yukieiji merged 8 commits into
masterfrom
develop/next-release

Conversation

@yukieiji

Copy link
Copy Markdown
Owner

バーターの不具合修正

dependabot Bot and others added 7 commits March 9, 2026 01:20
---
updated-dependencies:
- dependency-name: Roslynator.CodeAnalysis.Analyzers
  dependency-version: 4.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…gine/develop/next-release/Roslynator.CodeAnalysis.Analyzers-4.15.0

Bump Roslynator.CodeAnalysis.Analyzers from 4.14.1 to 4.15.0
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

このプルリクエストは、バーター役職におけるランダムキャスリング機能の不具合を修正し、ゲームプレイの安定性を向上させることを目的としています。具体的には、ランダムキャスリングの誤用を防ぐためのクールダウンメカニズムが導入され、死亡したプレイヤーがスワップの対象から適切に除外されるようになりました。これにより、バーター役職の機能がより意図通りに動作し、予期せぬ挙動が減少します。

Highlights

  • バーター役職の不具合修正: ランダムキャスリングの連打防止機能が追加され、死亡したプレイヤーがスワップ対象から適切に除外されるようになりました。
  • プロジェクトバージョンの更新: ExtremeRoles、ExtremeSkins、ExtremeVoiceEngineの各プロジェクトでバージョン番号が更新されました。
  • 開発ツールの更新: ExtremeVoiceEngineプロジェクトでRoslynator.CodeAnalysis.Analyzersのパッケージバージョンが更新されました。
Changelog
  • ExtremeRoles/ExtremeRoles.csproj
    • プロジェクトのバージョンプレフィックスを更新しました。
  • ExtremeRoles/Module/SystemType/VoteSwapSystem.cs
    • プレイヤーが死亡した際にスワップリストから関連するエントリを削除する新しい静的メソッドを追加しました。
  • ExtremeRoles/Patches/Player/MurderPlayerPatch.cs
    • プレイヤーが殺害された際に、VoteSwapSystemからそのプレイヤーをスワップ対象として削除する呼び出しを追加しました。
  • ExtremeRoles/Roles/Combination/Barter/Barter.cs
    • OnemanMeetingSystemのusingディレクティブを追加しました。
    • ランダムキャスリングの連打防止のためのクールダウンタイマーを導入しました。
    • ランダムキャスリングボタンの表示条件を更新し、OnemanMeetingSystemがアクティブでない場合のみ表示されるようにしました。
    • ランダムキャスリングのターゲット選択ロジックを修正し、死亡したプレイヤーを除外するようにしました。
  • ExtremeSkins/ExtremeSkins.csproj
    • プロジェクトのバージョンを更新しました。
  • ExtremeVoiceEngine/ExtremeVoiceEngine.csproj
    • プロジェクトのバージョンを更新しました。
    • Roslynator.CodeAnalysis.Analyzersのパッケージ参照を更新しました。
Activity
  • このプルリクエストには、現時点ではレビューコメントやその他の活動は記録されていません。
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


バグ修正 バーター役職 安定へ コードは進化す

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

このプルリクエストは、「バーター」の不具合修正に対応し、複数のプロジェクトでバージョン更新を行っています。主な変更点として、プレイヤーが死亡した際に投票スワップのターゲットから削除するメカニズムの追加と、バーター役職の「ランダムキャスリング」アビリティにクールダウンを実装しています。ランダムキャスリングのターゲットから死亡したプレイヤーを除外する修正は、正確性を向上させる良い改善です。

Comment thread ExtremeRoles/Roles/Combination/Barter/Barter.cs Outdated
Comment thread ExtremeRoles/Roles/Combination/Barter/Barter.cs Outdated
Comment thread ExtremeRoles/Roles/Combination/Barter/Barter.cs Outdated
Comment thread ExtremeRoles/Roles/Combination/Barter/Barter.cs Outdated
Comment thread ExtremeRoles/Roles/Combination/Barter/Barter.cs Outdated
Comment thread ExtremeRoles/Module/SystemType/VoteSwapSystem.cs Outdated
@extremeroles-actionsbot

Copy link
Copy Markdown

GitHub Actions MSBuilds

  • Build Result : success

Translation Checker Report

  • FileName:Combination.zh-Hant.resx
Languages Missing TransKeys
TChinese GuesserGuessDefaultRoleMode
TChinese GuesserCanCrewmate
TChinese GuesserCanImpostor
TChinese GuesserCanDove
TChinese GuesserCanMilitant
  • FileName:Combination.zh-Hans.resx
Languages Missing TransKeys
SChinese GuesserGuessDefaultRoleMode
SChinese GuesserCanCrewmate
SChinese GuesserCanImpostor
SChinese GuesserCanDove
SChinese GuesserCanMilitant
  • FileName:ExtremeSkinsTransData.xlsx
Languages Missing TransKeys
English whisky
English geranium
English fuchsia
English safeBlue
SChinese whisky
SChinese geranium
SChinese fuchsia
SChinese safeBlue
TChinese errorCannotGameStart
TChinese errorNotInstalled
TChinese errorOldInstalled
TChinese errorNewInstalled
TChinese errorDiffHostVersion
TChinese innerslothMake
TChinese enableCreatorMode
TChinese disableReadyCreatorMode
TChinese enableReadyCreatorMode
TChinese kusaZunGreen
TChinese darkRed
TChinese mediumVioletRed
TChinese mediumPurple
TChinese rosyBrown
TChinese darkMagenta
TChinese olive
TChinese steelBlue
TChinese dodgerBlue
TChinese darkSeaGreen
TChinese sikon
TChinese konjou
TChinese vermilion
TChinese ivyGreen
TChinese tilleul
TChinese ivory
TChinese kenpou
TChinese grisbleu
TChinese melon
TChinese clan
TChinese Shiraaiiro
TChinese whitePink
TChinese thinPurple
TChinese sienna
TChinese lightAvocado
TChinese lightIwaitya
TChinese diardRed
TChinese diardGreen
TChinese diardBlue
TChinese chaos
TChinese inverted
TChinese oddGreen
TChinese tigr
TChinese kigi
TChinese whisky
TChinese geranium
TChinese fuchsia
TChinese safeBlue

@yukieiji

Copy link
Copy Markdown
Owner Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

このプルリクエストは、主に「バーター」役職の不具合を修正するものです。ランダムキャスリングアビリティの連打防止クールダウンの追加、スワップ対象から死亡したプレイヤーを除外するロジックの修正、そしてプレイヤー死亡時に投票交換リストから適切に削除する処理の追加など、複数の改善が含まれています。
レビューの結果、スワップ対象が不足している場合にクラッシュする可能性のある重大な問題を特定しました。また、コードの可読性と保守性をさらに向上させるための軽微な修正点を2つ提案しました。これらの点を修正することで、より堅牢なコードになるでしょう。

Comment thread ExtremeRoles/Roles/Combination/Barter/Barter.cs
Comment thread ExtremeRoles/Roles/Combination/Barter/Barter.cs
Comment thread ExtremeRoles/Roles/Combination/Barter/Barter.cs
@yukieiji yukieiji merged commit 298d809 into master Mar 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant