class BCDice::GameSystem::LogHorizon::HeroineTreasureTable

ヒロイン財宝表

Public Instance Methods

pick_item(index) click to toggle source

@param index [Integer] @return [String]

# File lib/bcdice/game_system/LogHorizon.rb, line 381
def pick_item(index)
  if index <= 6
    translate("LogHorizon.TRS.below_lower_limit", value: 6)
  elsif index <= 53
    @items[index]
  else
    translate("LogHorizon.TRS.exceed_upper_limit", value: 54)
  end
end