summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md14
-rw-r--r--app/models/equipment.rb6
-rw-r--r--app/models/item_infix.rb2
3 files changed, 18 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 85684df..8dc100a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,20 @@ All notable changes to this project will be documented in this file.
roll occurs, and may cause equipment and/or infix breakage depending on its result. This means, at most, only
one piece of equipment and one infix can break per timer. It also means that in many cases, fewer breakage rolls
are happening per timer.
+ - Equipment breakage
+ - A random slot is determined for breakage (or no slot, if nothing breaks). If a slot is
+ selected in which you have nothing equipped, then no item breaks. Combat is still the only case where all
+ equipped items are threatened. Everywhere else, only items providing you with a skill speed increase are
+ threatened.
+ - There is a 1/1500 chance for the left ring, right ring, or neck slot to be targeted. If the roll was too
+ low for this to happen, the same roll is checked against a 1/1000 chance. If the roll is high enough to meet
+ the 1/1000 chance, the back, waist, or curio slot is targeted. If the roll is also too low for this to happen,
+ the same roll is checked against a 1/500 chance, and if it is high enough, one of the other slots are targeted.
+ - Infix breakage (fading)
+ - If the break roll succeeds (AKA something breaks), a random infix from the relevant skill breaks.
+ - There is a 1/100 chance for the break roll to succeed. This means that infixes will be used much more rapidly
+ than they were before this release (except for people with 5 or more infix slots, which no one has at the time
+ of this writing).
### Items
- Apprentice wand can now be equipped in mainhand or offhand.
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