Fix: [SW2] バトルダンサーの宣言特技枠追加の内容がバトルダンサーでなくともチャットパレットに出力される不具合を修正 #376
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.
現象
バトルダンサー技能を習得していないキャラクターであっても、バトルダンサーの「宣言特技枠追加」で習得した戦闘特技(宣言特技)が、チャットパレットに出力されてしまう。
再現方法
再現サンプル
このシートはバトルダンサー技能を習得していない。

しかし、チャットパレットには、「宣言特技枠追加」で選択した《斬り返しⅠ》が出力されてしまっている。
原因
チャットパレットの当該部分生成時に、バトルダンサーであるか否かを問わず「宣言特技枠追加」の内容を参照してしまっていた。
修正方針
「宣言特技枠追加」の内容を参照するのは、バトルダンサー技能である(
$::pc{lvBat} > 0)場合にかぎる。