diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/equipment.rb | 6 | ||||
-rw-r--r-- | app/models/item_infix.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/models/equipment.rb b/app/models/equipment.rb index f5dd530..12e8ae7 100644 --- a/app/models/equipment.rb +++ b/app/models/equipment.rb @@ -7,11 +7,11 @@ class Equipment < ApplicationRecord def self.random_break_slot roll = rand - if roll >= 0.9998 + if roll >= 0.99933333 [:neck, :left_ring, :right_ring].sample - elsif roll >= 0.9996 - [:back, :waist, :curio].sample elsif roll >= 0.999 + [:back, :waist, :curio].sample + elsif roll >= 0.998 [:mainhand, :offhand, :head, :torso, :grip, :legs, :feet].sample end end diff --git a/app/models/item_infix.rb b/app/models/item_infix.rb index 40b2339..c484242 100644 --- a/app/models/item_infix.rb +++ b/app/models/item_infix.rb @@ -6,7 +6,7 @@ class ItemInfix < ApplicationRecord before_create :check_max_infixes def self.break_check - rand > 0.998 + rand >= 0.99 end def effects |