struct Medicine

Defined in:

mechanics/craft.cr

Constant Summary

CAT_NAMES = ["ребенка", "охотника", "старика"]

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(categories : Array(Int32), chance : Float64) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def categories : Array(Int32) #

def chance : Float64 #

def clone #

[View source]
def copy_with(categories _categories = @categories, chance _chance = @chance) #

[View source]
def desc #

[View source]