1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-20 20:23:03 +02:00
vcmi/config/creatures
Henning Koehler 02b5a5e830 Make bonus stacking configurable + fix duplicate propagation/inheritance (#433)
Addresses several related problems:
* Propagation / unpropagation of duplicate bonuses is inconsistent, causing bugs
* Duplicate bonuses never stack, which is not always intended behaviour (e.g. multiple copies of resource generating artifacts)
* Different bonuses always stack, which is not always intended behaviour (e.g. Angel + Archangel morale bonuses)

This is addressed as follows:
* Duplicate bonuses are never eliminated during propagation/inheritance.
* Unpropagation eliminates only a single copy of duplicated bonus
* Bonus receives a new field stacking that determines stacking behaviour:
* * empty string = no stacking with duplicates (default)
* * "ALWAYS" = stacks with duplicates & everything else
* * some other value = no stacking with bonuses with same stacking value
Also Morale/Luck window now hides non-stacking bonuses.
2018-03-27 14:54:58 +07:00
..
castle.json Make bonus stacking configurable + fix duplicate propagation/inheritance (#433) 2018-03-27 14:54:58 +07:00
conflux.json Fix mantis #2642 2017-02-01 10:25:25 +01:00
dungeon.json Extend Bonus.addInfo to integer vector (#427) 2018-03-12 08:20:18 +03:00
fortress.json - updated wog/vcmi mod.json files 2013-08-20 19:32:21 +00:00
inferno.json Make bonus stacking configurable + fix duplicate propagation/inheritance (#433) 2018-03-27 14:54:58 +07:00
necropolis.json Make bonus stacking configurable + fix duplicate propagation/inheritance (#433) 2018-03-27 14:54:58 +07:00
neutral.json Fix mantis bugs: #2884. #2885, #2886 2018-02-24 08:18:25 +03:00
rampart.json Large changeset, first part of editing H3 objects via mods feature. Changes: 2013-04-21 12:49:26 +00:00
special.json Siege tower handling improvements (#392) 2017-11-18 12:41:07 +03:00
stronghold.json Rename ADVANCED_CATAPULT bonus to reflect the purpose better 2017-02-01 15:05:46 +01:00
tower.json Large changeset, first part of editing H3 objects via mods feature. Changes: 2013-04-21 12:49:26 +00:00