Skip to content

Commit

Permalink
出力の修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Faceless192x committed Jul 4, 2024
1 parent 5ae7741 commit 02376f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/bcdice/game_system/GardenOrder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def look_up_damage_chart(type, damage_value)
row = get_table_by_number(damage_value, table, nil)
return nil if row.nil?

"負傷表(#{chart_type})#{name}[#{damage_value}] > #{row[:damage]}#{row[:name]}#{row[:text]}"
"負傷表:#{name}[#{damage_value}] > #{row[:damage]}#{row[:name]}#{row[:text]}"
end

def look_up_damage_se_chart(type, damage_value)
Expand Down
18 changes: 9 additions & 9 deletions test/data/GardenOrder.toml
Original file line number Diff line number Diff line change
Expand Up @@ -299,55 +299,55 @@ rands = [
[[ test ]]
game_system = "GardenOrder"
input = "dcSL1"
output = "負傷表(DC):切断[1] > 軽傷1 | 切り傷 … 皮膚が切り裂かれる。"
output = "負傷表:切断[1] > 軽傷1 | 切り傷 … 皮膚が切り裂かれる。"
rands = []

[[ test ]]
game_system = "GardenOrder"
input = "dcSL2"
output = "負傷表(DC):切断[2] > 軽傷1 | 切り傷 … 皮膚が切り裂かれる。"
output = "負傷表:切断[2] > 軽傷1 | 切り傷 … 皮膚が切り裂かれる。"
rands = []

[[ test ]]
game_system = "GardenOrder"
input = "dcSL5"
output = "負傷表(DC):切断[5] > 軽傷1 | 切り傷 … 皮膚が切り裂かれる。"
output = "負傷表:切断[5] > 軽傷1 | 切り傷 … 皮膚が切り裂かれる。"
rands = []

[[ test ]]
game_system = "GardenOrder"
input = "dcSL6"
output = "負傷表(DC):切断[6] > 軽傷2/マヒ | 脚部負傷 … 足が切り裂かれ、思わずひざまずく。"
output = "負傷表:切断[6] > 軽傷2/マヒ | 脚部負傷 … 足が切り裂かれ、思わずひざまずく。"
rands = []

[[ test ]]
game_system = "GardenOrder"
input = "dcBL1"
output = "負傷表(DC):銃弾[1] > 軽傷2 | 腕部損傷 … 銃弾が腕をかすめた。"
output = "負傷表:銃弾[1] > 軽傷2 | 腕部損傷 … 銃弾が腕をかすめた。"
rands = []

[[ test ]]
game_system = "GardenOrder"
input = "dcIM1"
output = "負傷表(DC):衝撃[1] > 軽傷1 | 打撲 … 攻撃を受けた箇所がどす黒く腫れ上がる。"
output = "負傷表:衝撃[1] > 軽傷1 | 打撲 … 攻撃を受けた箇所がどす黒く腫れ上がる。"
rands = []

[[ test ]]
game_system = "GardenOrder"
input = "dcBR1"
output = "負傷表(DC):灼熱[1] > 軽傷1 | 火傷 … 皮膚に小さな火傷を負う。"
output = "負傷表:灼熱[1] > 軽傷1 | 火傷 … 皮膚に小さな火傷を負う。"
rands = []

[[ test ]]
game_system = "GardenOrder"
input = "dcRF1"
output = "負傷表(DC):冷却[1] > 軽傷1 | 冷気 … 軽い凍傷を受ける。"
output = "負傷表:冷却[1] > 軽傷1 | 冷気 … 軽い凍傷を受ける。"
rands = []

[[ test ]]
game_system = "GardenOrder"
input = "dcEL1"
output = "負傷表(DC):電撃[1] > 疲労3 | 静電気 … 全身の毛が逆立つ。"
output = "負傷表:電撃[1] > 疲労3 | 静電気 … 全身の毛が逆立つ。"
rands = []

[[ test ]]
Expand Down

0 comments on commit 02376f2

Please sign in to comment.