Skip to content
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

ゲームシステム固有コマンドのResult対応をする #423

Open
ysakasin opened this issue Apr 20, 2021 · 1 comment
Open

ゲームシステム固有コマンドのResult対応をする #423

ysakasin opened this issue Apr 20, 2021 · 1 comment

Comments

@ysakasin
Copy link
Member

ysakasin commented Apr 20, 2021

BCDice 3.0.0でコマンドの 成功/失敗/クリティカル/ファンブル が判別できるように Result という仕組みを導入した。一部のコマンドでのみ利用されている状態なので、各ゲームシステムの固有コマンドに適用する。

Resultの仕様

Resultでは text, success, failure, critical, fumble を設定する

  • text: String, 結果の文字列全体
  • success: true / false, コマンドの結果が成功ならtrue
  • failure: true / false, 失敗ならtrue
  • critical: true / false, クリティカルならtrue
  • fumble: true / false, ファンブルならtrue

Result.success などの生成用メソッドが用意済み。

制約

  1. successfailureは同時にtrueにならない

注記

check_nDx 系は全て result_ndxに移行したため対応済み(#418)

対応状況

  • AFF2e
  • AceKillerGene
  • Ainecadette
  • Airgetlamh
  • AlchemiaStruggle
  • Alsetto
  • Alshard
  • AlterRaise
  • Amadeus
  • Amadeus:Korean
  • AngelGear
  • AnimaAnimus
  • Arianrhod
  • ArsMagica
  • Avandner
  • BBN
  • BadLife
  • BarnaKronika
  • BattleTech
  • BeastBindTrinity
  • BeginningIdol
  • BeginningIdol:Korean
  • BladeOfArcana
  • BlindMythos
  • BloodCrusade
  • BloodMoon
  • CardRanker
  • ChaosFlare
  • Chill
  • Chill3
  • CodeLayerd
  • ColossalHunter
  • Comes
  • CrashWorld
  • Cthulhu
  • Cthulhu7th
  • Cthulhu7th:ChineseTraditional
  • Cthulhu7th:Korean
  • Cthulhu:ChineseTraditional
  • Cthulhu:Korean
  • CthulhuTech
  • DarkBlaze
  • DarkDaysDrive
  • DarkSouls
  • DeadlineHeroes
  • DemonParasite
  • DesperateRun
  • DetatokoSaga
  • DetatokoSaga:Korean
  • DiceBot
  • DiceOfTheDead
  • DoubleCross
  • DoubleCross:Korean
  • Dracurouge
  • Dracurouge:Korean
  • DungeonsAndDragons
  • EarthDawn
  • EarthDawn3
  • EarthDawn4
  • EclipsePhase
  • Elric
  • Elysion
  • EmbryoMachine
  • Emoklore
  • EndBreaker
  • EtrianOdysseySRS
  • Fiasco
  • Fiasco:Korean
  • FilledWith
  • FullMetalPanic
  • FutariSousa
  • FutariSousa:Korean
  • GURPS
  • Garako
  • GardenOrder
  • GehennaAn
  • GeishaGirlwithKatana
  • GoblinSlayer
  • GoldenSkyStories
  • Gorilla
  • GranCrest
  • Gundog
  • GundogRevised
  • GundogZero
  • GurpsFW
  • HarnMaster
  • HatsuneMiku
  • Hieizan
  • HouraiGakuen
  • HuntersMoon
  • Illusio
  • InfiniteBabeL
  • InfiniteFantasia
  • Insane
  • Insane:Korean
  • IthaWenUa
  • JamesBond
  • JekyllAndHyde
  • JuinKansen
  • Kamigakari
  • Kamigakari:Korean
  • KanColle
  • KemonoNoMori
  • KillDeathBusiness
  • KillDeathBusiness:Korean
  • KurayamiCrying
  • LiveraDoll
  • LogHorizon
  • LogHorizon:Korean
  • LostRecord
  • LostRoyal
  • MagicaLogia
  • MagicaLogia:Korean
  • MeikyuDays
  • MeikyuKingdom
  • MeikyuKingdomBasic
  • MetalHead
  • MetalHeadExtream
  • MetallicGuardian
  • MonotoneMuseum
  • MonotoneMuseum:Korean
  • NSSQ
  • Nechronica
  • Nechronica:Korean
  • NeverCloud
  • NightWizard
  • NightWizard3rd
  • NightmareHunterDeep
  • NinjaSlayer
  • NjslyrBattle
  • Nuekagami
  • OneWayHeroics
  • OracleEngine
  • OrgaRain
  • Oukahoushin3rd
  • Paradiso
  • Paranoia
  • ParanoiaRebooted
  • ParasiteBlood
  • Pathfinder
  • Peekaboo
  • Pendragon
  • PhantasmAdventure
  • Postman
  • PulpCthulhu
  • Raisondetre
  • RecordOfLodossWar
  • RecordOfSteam
  • RokumonSekai2
  • RoleMaster
  • RuinBreakers
  • RuneQuest
  • RyuTuber
  • Ryutama
  • SRS
  • SamsaraBallad
  • Satasupe
  • ScreamHighSchool
  • SevenFortressMobius
  • ShadowRun
  • ShadowRun4
  • ShadowRun5
  • SharedFantasia
  • ShinMegamiTenseiKakuseihen
  • ShinkuuGakuen
  • ShinobiGami
  • ShoujoTenrankai
  • Skynauts
  • SteamPunkers
  • StellarKnights
  • SterileLife
  • StrangerOfSwordCity
  • StratoShout
  • StratoShout:Korean
  • Strave
  • SwordWorld
  • SwordWorld2.0
  • SwordWorld2.5
  • TherapieSein
  • TokumeiTenkousei
  • TokyoGhostResearch
  • TokyoNova
  • Torg
  • Torg1.5
  • TorgEternity
  • TrinitySeven
  • TunnelsAndTrolls
  • TwilightGunsmoke
  • UnsungDuet
  • Utakaze
  • VampireTheMasquerade5th
  • Villaciel
  • WARPS
  • WaresBlade
  • Warhammer
  • Warhammer4
  • WitchQuest
  • WorldOfDarkness
  • YankeeYogSothoth
  • YearZeroEngine
  • Yggdrasill
  • ZettaiReido
@GenKuzumochi
Copy link
Contributor

ネクロニカ、コードレイヤード、スカイノーツ、ガラコあたりは中身をよく見ているので実装し次第PRを出します。

This was referenced Apr 30, 2021
This was referenced May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants