mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
It is now possible to give artifacts per-instance bonuses, if needed. Unlike shared bonuses, per-instance bonuses stack if multiple instances of same artifacts are equipped on hero. This to implement resource-producing artifacts in line with H3 - equipping multiple such artifacts on a single hero will give bonus from each instance of such artifact. Also, both existing bonuses and new instanceBonuses fields now use json object instead of json lists. This allows easier modification of individual bonuses of artifacts and potentially - custom icons / descriptions for artifact bonuses.