Changes between Version 15 and Version 16 of NewEgos


Ignore:
Timestamp:
10/14/11 09:27:00 (8 years ago)
Author:
magnate
Comment:

Removed erroneous example

Legend:

Unmodified
Added
Removed
Modified
  • NewEgos

    v15 v16  
    7272By contrast, if the two affixes we have are Reinforced and Durable, we have weight of 6, which gives a (6*6*4)/(34*100) = 4% chance of acquiring the theme. Both of them and one resist makes 19% - less useful than having two of the resists.  
    7373 
    74 Another example worth mentioning is Gloves of Power - a theme which has only two affixes. Both have weights of 100, so if we get them, we will automatically get this theme. Similarly lanterns of True Sight, and Blessed weapons.  
     74Another example worth mentioning is lanterns of True Sight - a theme which has only two affixes. Both have weights of 100, so if we get them, we will automatically get this theme.  
    7575 
    7676Blessed weapons have three affixes, but one of them has a weighting of zero (of Dweomercraft, the one which provides the random ability - also on Gondolin and *Slay* Evil weapons, Lothlorien bows etc.). This means it doesn't contribute to the weighting, but it is applied in ''obj_apply_theme'' after the theme is chosen. This function simply cycles through all the affixes in the theme and applies all the ones that aren't already on the item. Since you can specify the same affix more than once in a theme (e.g. for extra combat bonuses, or extra random flags), we allow the second and subsequent ones to be applied.