Item mods: Difference between revisions

38 bytes added ,  19:52, 9 October 2021
m
no edit summary
mNo edit summary
mNo edit summary
Line 9: Line 9:
Each mod has a rarity value of either Common, Uncommon, Rare, or Mega Rare. The rarity of the mod affects its weighted chance of appearing on procedurally generated items within the overall mod pool for that item. The rarities have the following weights.{{Code Reference|namespace=XRL.World|class=ModificationFactory|method=getBaseRarityWeight}}<ref>The actual weights for mods by rarirty are 1000000, 400000, 120000, and 1500, but those numbers have been simplified to the lowest common factors for this article.</ref>
Each mod has a rarity value of either Common, Uncommon, Rare, or Mega Rare. The rarity of the mod affects its weighted chance of appearing on procedurally generated items within the overall mod pool for that item. The rarities have the following weights.{{Code Reference|namespace=XRL.World|class=ModificationFactory|method=getBaseRarityWeight}}<ref>The actual weights for mods by rarirty are 1000000, 400000, 120000, and 1500, but those numbers have been simplified to the lowest common factors for this article.</ref>
   {| class="wikitable"
   {| class="wikitable"
   ! Rarity
   ! colspan="2" | Rarity
   ! Weight
   ! Weight
   |-
   |-
  | C
   | Common mods
   | Common mods
   | 2000
   | 2000
   |-
   |-
  | U
   | Uncommon mods
   | Uncommon mods
   | 800
   | 800
   |-
   |-
  | R
   | Rare mods
   | Rare mods
   | 240
   | 240
   |-
   |-
  | M
   | Mega Rare mods
   | Mega Rare mods
   | 3
   | 3