Difference between revisions of "List of bonus value types"

From VCMI Project Wiki
Jump to: navigation, search
(Additional links)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Total value of Bonus is calculated using the following forumla:
 
Total value of Bonus is calculated using the following forumla:
  
((BASE_NUMBER * (100 + PERCENT_TO_BASE) / 100) + ADDITIVE_VALUE) * (* 100 + PERCENT_TO_ALL) / 100
+
((BASE_NUMBER * (100 + PERCENT_TO_BASE) / 100) + ADDITIVE_VALUE) * (100 + PERCENT_TO_ALL) / 100
  
 
Then, INDEPENDENT_MAX and finally INDEPENDENT_MIN caps are applied.
 
Then, INDEPENDENT_MAX and finally INDEPENDENT_MIN caps are applied.
Line 12: Line 12:
 
* INDEPENDENT_MAX
 
* INDEPENDENT_MAX
 
* INDEPENDENT_MIN
 
* INDEPENDENT_MIN
= Additional links =
+
{{Bonuses}}
*[[Bonus system]]
 
*[[Bonus Format]]
 

Revision as of 18:06, 5 February 2013

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