Class: ArkTools::Levels

Inherits:
Thor
  • Object
show all
Defined in:
lib/ark_tool/commands.rb

Instance Method Summary collapse

Instance Method Details

#dinoObject



46
47
48
49
50
51
52
# File 'lib/ark_tool/commands.rb', line 46

def dino
  puts Generate::ArkGameLevels.new(options[:level].to_i,
                                   {
                                     max_exp:     options[:exp].to_i,
                                     growth_rate: options[:growth].to_f
                                   }).dino_levels
end

#playerObject



22
23
24
25
26
27
28
# File 'lib/ark_tool/commands.rb', line 22

def player
  puts Generate::ArkGameLevels.new(options[:level].to_i,
                                   {
                                     max_exp:     options[:exp].to_i,
                                     growth_rate: options[:growth].to_f
                                   }).player_levels
end