Open
Conversation
- xDM<=yDz (加算), xDM<=yDt-z (減算), xDM<=yDxz (乗算) 形式のダイスボーナスに対応 - 表記揺れ吸収: D*z→DXz, D+z→Dz, 全角→半角変換 - ガイアケアTRPGダイスボットをエモクロアTRPGからの継承で追加 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- ダイス数・判定値に四則演算を使用可能に(例: 2+2DM<=3+2) - ダイスボーナス記法をD/DT/DXからEに変更(例: 2DM<=5E2) - Preprocessorの replace_implicit_d との衝突を回避するため - Rubocop違反を修正(%r記法、ExtraSpacing) - roll_daにダイス数0以下の防御チェックを追加 - change_textから旧記法の変換処理(D*→DX, D+→D)を削除 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
2+2DM<=5,2DM<=3+2)Ezを追加(例:2DM<=5E2→ 4個で判定値5,3DM<=5E-1→ 2個で判定値5)roll_daにダイス数0以下の防御チェックを追加変更ファイル
lib/bcdice/game_system/Emoklore.rb— 本体実装lib/bcdice/game_system/GaiaCare.rb— 新規追加test/data/Emoklore.toml— テストケース追加・更新test/data/GaiaCare.toml— 新規追加Test plan
bundle exec rake test全19,706テスト通過bundle exec rake rubocop432ファイル 0 offenses🤖 Generated with Claude Code