Skip to content

Commit

Permalink
Update GardenOrder.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
eidals224 committed Jun 27, 2024
1 parent 7d0f027 commit 3490530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bcdice/game_system/GardenOrder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def look_up_damage_chart(type, damage_value)

def get_damage_table_info_by_type(type, damage_value)
data = self.class::DAMAGE_TABLE[type]
result = roll_tables(damage_value, data)
result = data(damage_value)
return nil if result.nil?

return result[:name], result[:texts], result[:damage]
Expand Down

0 comments on commit 3490530

Please sign in to comment.