チャットパレットから現在のラウンド数を変数記法で参照できるように#113
Open
ViVi-shark wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
変更内容
チャットパレットから現在のラウンド数を変数記法で参照できるように
背景と目的
ゲームによっては、「現在のラウンド数」を参照する処理が存在する。
メジャーなタイトルの一例としては、『銀剣のステラナイツ』が挙げられる。
『ステラナイツ』には、ラウンドごとの「チャージ判定」(同書P.140)というルールが存在し、これには“「キャラクターごとの固定値+現在のラウンド数」のダイスを振る”という処理が含まれている。これはすべてのステラナイト(いわゆるPCに相当)が毎ラウンドかならずおこなう処理であり、ゲームの場における発生頻度が一定程度に高い。
また『ステラナイツ』には他にも、ラウンド数を参照する効果の「スキル」が多数存在する(収録されている構築済みキャラクターデータでいうと、3分の2ほどのステラナイトがそのようなスキルを有している)。
こうしたゲームのプレイでは、チャットパレット上で「現在のラウンド数」を参照したい需要が大きく存在する。
手作業でそのような変数を設けることもむろん可能ではあるものの、ルーム自体のラウンド数と合わせて二重管理となり、ラウンドの推移に応じて値を更新することを忘れやすいという問題があるため、ルーム側のもっているラウンド数を参照できるようにしたい。
仕様
{ROUND}と記述すると、現在のラウンド数を参照できる。