Skip to content

Commit

Permalink
Trpg::Kancolle: ダイス結果挿入時のキーワードを $$ から @@ に変更した
Browse files Browse the repository at this point in the history
  • Loading branch information
koi-chan committed Aug 11, 2015
1 parent ea8d33d commit a0405bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions data/trpg/kancolle/tables/makurakotoba.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Page: 211
Added: 2015-08-08
Modified: 2015-08-08
Body:
- "$$1d6$$"
- "@@1d6@@"
- "最強"
- "私立"
- "銀河"
Expand All @@ -15,7 +15,7 @@ Body:
- "御存じ"
- "風雲"
- "独立"
- "$$2d6$$"
- "@@2d6@@"
- "神聖"
- ""
- "国際"
Expand All @@ -24,4 +24,4 @@ Body:
- "株式会社"
- "さらば"
- "王立"
- "$$d66$$"
- "@@d66@@"
4 changes: 2 additions & 2 deletions lib/rgrb/plugin/trpg/kancolle/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ module Kancolle
NUM_RE = /[1-9]/
NUMS_RE = /[1-9]\d*/
# ダイスロールを表す正規表現
BASICDICE_RE = /$$(#{NUMS_RE}*)d(#{NUMS_RE}*)$$/io
BASICDICE_RE = /@@(#{NUMS_RE}*)d(#{NUMS_RE}*)@@/io
# dxxロールを表す正規表現
DXXDICE_RE = /$$d(#{NUM_RE}+)$$/io
DXXDICE_RE = /@@d(#{NUM_RE}+)@@/io
end
end
end
Expand Down

0 comments on commit a0405bd

Please sign in to comment.