probability/rarity.rb
#determination of rarity for the individual unit
determination of rarity for the individual unit
determination of rarity for the individual unit
def unit_rarity
    @unit_dev = (@unit_var / @rarity_run)
    @common_std = [0.0010549450549450549, 7.032967032967034].stdev
    @rarity_dev = [@unit_dev, @common_std].stdev.truncate(2)
    @rarity_rand_dev = [@rarity_rand, @rarity_dev].stdev.truncate(2)
    puts "\nYour rarity score is #{@rarity_dev}. Congrats!".yellow
    puts "\nYour random rarity score is #{@rarity_rand_dev}. Congrats!".yellow
end
def unit_rarity @unit_dev = ( @unit_var / @rarity_run ) @common_std = [ 0.0010549450549450549 , 7.032967032967034 ] . stdev @rarity_dev = [ @unit_dev , @common_std ] . stdev . truncate ( 2 ) @rarity_rand_dev = [ @rarity_rand , @rarity_dev ] . stdev . truncate ( 2 ) puts "\nYour rarity score is #{@rarity_dev}. Congrats!" . yellow puts "\nYour random rarity score is #{@rarity_rand_dev}. Congrats!" . yellow end
determination of rarity for the individual unit
determination of rarity for the individual unit
#most common, least common rarity_run; determination of rarity stat #add in calculations for tranche vs. tranche rarity after the first release tranche has been completed and new stock sourced