Hierarchy

  • IGameOptionsItemMagic

Properties

bonus: number

The maximum number of additional magical properties the item could spawn with.

bonusChance: number

The chance of a bonus property. Is checked once for each additional property, stopping whenever it fails to add one.

For example, given a chance of 0.5:

  • 50% chance of 1 bonus property
  • 25% chance of 2 bonus properties
  • 12.5% chance of 3 bonus properties
  • etc
bonusChanceUsesContextualMultiplier: boolean

Whether bonus chances also take the "contextual multiplier" into account (based on skill, island distance, etc.)

chance: number

The chance for magical properties to be generated on an item of this quality.

min: number

When spawning an item with magical properties, this is the minimum number it will spawn with.

randomizeAsRange: boolean

Whether to randomize the magical properties as a flat range chance instead of applying bonusChance for every additional property.

Generated using TypeDoc