Item mods: Difference between revisions

174 bytes added ,  19:34, 9 October 2021
m
no edit summary
mNo edit summary
mNo edit summary
Line 7: Line 7:
== Mod Rarity ==
== Mod Rarity ==


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}}
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
   ! Rarity