Skip to content

Commit

Permalink
Merge pull request #143 from bcdice/fix_DaD
Browse files Browse the repository at this point in the history
ダンジョンズ&ドラゴンズのIDを修正
  • Loading branch information
ysakasin authored Mar 29, 2020
2 parents 2f4153f + 87eaa1b commit dc99a93
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# ChangeLog

### Unreleased
- ダンジョンズ&ドラゴンズのIDを修正 (#143)

### Ver2.04.00 2020/03/26
- ダイスボットに「獸ノ森」を追加。ゆいこさんありがとうっ! (#124)
- ダイスボットに「ADVANCED FIGHTING FANTASY 2nd Edition」を追加。opparcoさんありがとうっ! (#135)
Expand Down
2 changes: 1 addition & 1 deletion src/configBcDice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
DoubleCross
Dracurouge
Dracurouge:Korean
DungeonsAndDoragons
DungeonsAndDragons
EarthDawn
EarthDawn3
EarthDawn4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
# frozen_string_literal: true

class DungeonsAndDoragons < DiceBot
class DungeonsAndDragons < DiceBot
# ゲームシステムの識別子
ID = 'DungeonsAndDoragons'
ID = 'DungeonsAndDragons'

# ゲームシステム名
NAME = 'ダンジョンズ&ドラゴンズ'
Expand Down
4 changes: 2 additions & 2 deletions src/diceBot/Pathfinder.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
# frozen_string_literal: true

require 'diceBot/DungeonsAndDoragons'
require 'diceBot/DungeonsAndDragons'

class Pathfinder < DungeonsAndDoragons
class Pathfinder < DungeonsAndDragons
# ゲームシステムの識別子
ID = 'Pathfinder'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
input:
1D4>=3
output:
DungeonsAndDoragons : (1D4>=3) > 3 > 成功
DungeonsAndDragons : (1D4>=3) > 3 > 成功
rand:3/4
============================
input:
1D6>=5
output:
DungeonsAndDoragons : (1D6>=5) > 5 > 成功
DungeonsAndDragons : (1D6>=5) > 5 > 成功
rand:5/6
============================
input:
1D8>=7
output:
DungeonsAndDoragons : (1D8>=7) > 7 > 成功
DungeonsAndDragons : (1D8>=7) > 7 > 成功
rand:7/8
============================
input:
1D10>=9
output:
DungeonsAndDoragons : (1D10>=9) > 9 > 成功
DungeonsAndDragons : (1D10>=9) > 9 > 成功
rand:9/10
============================
input:
1D12>=11
output:
DungeonsAndDoragons : (1D12>=11) > 11 > 成功
DungeonsAndDragons : (1D12>=11) > 11 > 成功
rand:11/12
============================
input:
1D20>=19
output:
DungeonsAndDoragons : (1D20>=19) > 19 > 成功
DungeonsAndDragons : (1D20>=19) > 19 > 成功
rand:19/20
============================
input:
(1+2)D10+3>=12
output:
DungeonsAndDoragons : (3D10+3>=12) > 12[3,4,5]+3 > 15 > 成功
DungeonsAndDragons : (3D10+3>=12) > 12[3,4,5]+3 > 15 > 成功
rand:3/10,4/10,5/10
============================
input:
S1D10>=10
output:
DungeonsAndDoragons : (1D10>=10) > 9 > 失敗###secret dice###
DungeonsAndDragons : (1D10>=10) > 9 > 失敗###secret dice###
rand:9/10
4 changes: 2 additions & 2 deletions src/test/testDiceBotLoaders.rb
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,8 @@ def test_Dracurouge_Korean
assertDiceBotWithoutLoader('Dracurouge:Korean', 'Dracurouge_Korean')
end

def test_DungeonsAndDoragons
assertDiceBotWithoutLoader('DungeonsAndDoragons')
def test_DungeonsAndDragons
assertDiceBotWithoutLoader('DungeonsAndDragons')
end

def test_EtrianOdysseySRS
Expand Down

0 comments on commit dc99a93

Please sign in to comment.