List of bonus value types

From VCMI Project Wiki
Jump to: navigation, search

Total value of Bonus is calculated using the following forumla:

((BASE_NUMBER * (100 + PERCENT_TO_BASE) / 100) + ADDITIVE_VALUE) * (100 + PERCENT_TO_ALL) / 100

Then, INDEPENDENT_MAX and finally INDEPENDENT_MIN caps are applied.

List of all bonus value types

  • ADDITIVE_VALUE
  • BASE_NUMBER
  • PERCENT_TO_ALL
  • PERCENT_TO_BASE
  • INDEPENDENT_MAX
  • INDEPENDENT_MIN

Bonus string constants

Additional links