Difference between revisions of "LeveledItem"

Jump to navigation Jump to search
1,566 bytes added ,  18:52, 19 January 2009
Document iLevItemLevelDifferenceMax behavior
imported>Quetzilla
imported>SnakeChomp
(Document iLevItemLevelDifferenceMax behavior)
Line 22: Line 22:
*'''Preview level:''' The assumed level of the player for the Preview Calculated Result button.
*'''Preview level:''' The assumed level of the player for the Preview Calculated Result button.
*'''Preview Count:''' The number of times the list should be generated for the Preview Calculated Result button.
*'''Preview Count:''' The number of times the list should be generated for the Preview Calculated Result button.
== Game settings ==
{{Setting
|Name = iLevItemLevelDifferenceMax
|Default = 0
|Description = When this setting has a non zero value, it specifies the maximum level range that will be considered when selecting items from leveled lists. It is not so easy to understand the behavior of this setting, so consider this example.
You have a leveled list with an item at level 1, an item at level 10, an item at level 20, and "Calculate from all levels <= PC's level" is checked. When the setting is 0 and the player is level 20, actors given items using this list have a 33% chance to select each item, or in other words all items from all levels are considered. If the setting is changed to 1, then only the level 20 item is considered (because the difference between the level 20 item and the level 10 item is more than 1). If the setting is changed to 10, there is a 50% chance to select the level 10 item and the level 20 item.
That example is fairly straightforward, but can be misleading. Change the player's level to 19, so that the level 20 item will no longer be considered. If the setting is still 10, there is now a 50% chance to select the level 10 item and the level 1 item! This is counterintuitive, but it is how the game works. It is considering the highest level item it can select from the list (which is level 10) and comparing it with items lower level than that in the list. In this case, 10 - 1 is 9, and because the setting is 10, the level 1 item is considered. If the setting is changed to 8, the level 1 item will no longer be considered.
}}


== Notes ==
== Notes ==
Anonymous user

Navigation menu