class BCDice::GameSystem::LogHorizon::ExpansionTreasureTable
拡張ルール財宝表
Public Instance Methods
pick_item(index)
click to toggle source
@param index [Integer] @return [String]
# File lib/bcdice/game_system/LogHorizon.rb, line 396 def pick_item(index) if index <= 6 translate("LogHorizon.TRS.below_lower_limit", value: 6) elsif index <= 162 @items[index] elsif index <= 172 "#{@items[index - 10]}&200G" elsif index <= 182 "#{@items[index - 20]}&400G" elsif index <= 187 "#{@items[index - 30]}&600G" else translate("LogHorizon.TRS.exceed_upper_limit", value: 188) end end