1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-27 00:41:08 +02:00
Commit Graph

7110 Commits

Author SHA1 Message Date
2b49df2cab [Spells] Do not use Unit State in heal effect 2018-02-20 13:19:01 +03:00
2add0e443e [Spells] Added "summonByHealth" option to Summon effect
* with summonByHealth on, effect power (levelPower * SP) treated as HP
* default behavior (effect power = amount) not changed
* tests included
2018-02-20 08:08:34 +03:00
9850e7254e updated serialization version to 781 2018-02-18 23:32:52 +13:00
e2f2568221 added extra debug info for Json parsing 2018-02-18 20:59:05 +13:00
6442842731 added one-line option for standard creature specialty; also fixes bug for creatures where upgrades have different attack/defense 2018-02-18 20:59:05 +13:00
95e2b44319 added TimesStackLevelUpdater 2018-02-18 20:36:24 +13:00
552bad08b3 added TimesHeroLevelUpdater; renamed ScalingUpdater to GrowsWithLevelUpdater 2018-02-18 20:36:24 +13:00
f9a8cb2876 fixed formatting and other small issues 2018-02-18 20:22:23 +13:00
73f782aa39 fixed various specialty bugs retained during conversion 2018-02-18 20:22:23 +13:00
2b8f111a81 converted special.json; fixed bugs in specialty json construction 2018-02-18 20:22:23 +13:00
dc7132d8b7 converted castle.json; fixed bugs in Bonus::toJsonNode() 2018-02-18 20:22:23 +13:00
00f51e0f98 Updaters replace bonuses during inheritance 2018-02-18 20:22:23 +13:00
ad5a9f7205 made HeroSpecial public again 2018-02-18 20:08:34 +13:00
20172dba7c indentation fix 2018-02-18 20:08:34 +13:00
ee46862784 replaced JsonNode::isEmpty() with JsonNode::containsBaseData() 2018-02-18 20:08:34 +13:00
6414cd18e8 fixed bug with old specialty conversion 2018-02-18 20:08:34 +13:00
de6d4d8367 fixed indentation for switch statements 2018-02-18 20:08:34 +13:00
6037c19b9a removed specialtyDeprecated from CGHeroInstance; improved savegame compatibility 2018-02-18 19:47:38 +13:00
81c44dac41 minor fixes 2018-02-18 19:47:38 +13:00
ab7ce6625e moved nameForBonus into Bonus class 2018-02-18 19:47:37 +13:00
ba7709da50 middle-aged specialty format is converted properly and logged 2018-02-18 19:27:24 +13:00
16f59fb213 fixed base merging and limiter creation 2018-02-18 19:27:24 +13:00
6ae103dd63 print json in compact format 2018-02-18 19:27:24 +13:00
a002df399e updated json loading and schema to fit new specialty format 2018-02-18 19:27:24 +13:00
038cb4bf19 remove base json from specialty bonuses 2018-02-18 19:27:24 +13:00
eb02ce0f31 changed specialty json format to struct with base (WIP) 2018-02-18 19:27:24 +13:00
d7942fd929 fixed typo in specialty log 2018-02-18 18:53:01 +13:00
c31950612c convert spec format in afterLoadFinalization 2018-02-18 18:53:01 +13:00
26862b4c51 improved/fixed specialty json encoding 2018-02-18 18:25:49 +13:00
05838b3827 Bonuse::toJsonNode uses string constants for type/subtype 2018-02-18 17:33:23 +13:00
c79b776f3c Limiters (at least creature type limiters) are printed as well 2018-02-18 17:33:23 +13:00
89b1ba7538 added basics for specialty format updating 2018-02-18 17:33:23 +13:00
5d3f6c3b91 removed CHeroInstance::specialty 2018-02-18 17:33:23 +13:00
2703b035a6 added updater to Bonus json format 2018-02-18 17:33:23 +13:00
f8a8f6ac72 re-fixed type registration bug properly 2018-02-18 17:33:23 +13:00
9a335cdb59 fixed type registration bug (order matters\!) 2018-02-18 17:33:23 +13:00
ef7900d0a2 added support for older saves (fails) 2018-02-18 17:33:23 +13:00
d594845c32 fixed serialization issues 2018-02-18 17:33:23 +13:00
3e0022be27 added support for new specialty json format; old format is converted to bonuses with updaters 2018-02-18 17:33:23 +13:00
f867b1a37e invalidate bonus caching on update 2018-02-18 16:55:15 +13:00
f1fd00f005 renamed & reused CBonusSystemNode::updateBonuses; tweaked updater signature 2018-02-18 16:55:15 +13:00
67330efa4a added basics for Bonus updater 2018-02-18 16:34:15 +13:00
3795985de9 Eliminate warnings / errors. Pull request #388 2018-02-11 15:17:14 +03:00
3c1c72319b CMake: update version on each compiling 2018-02-11 13:52:29 +03:00
8bbe747e8e Cleanup undef for min / max. NOMINMAX is already in Global.h 2018-02-11 05:42:49 +03:00
e11e69750a Merge pull request #411 from drizt/fallthrough
Hide "this statement may fall through" warnings
2018-02-10 22:34:39 +03:00
324717acbe Spelling fixes: privilaged -> privileged, retreive -> retrieve 2018-02-10 21:52:23 +03:00
eea50a044c Hide "this statement may fall through" warnings 2018-02-10 22:27:00 +05:00
c94daf6faa Fixed https://bugs.vcmi.eu/view.php?id=2864 2018-02-10 07:31:02 +03:00
10dd7e8a43 Cleanup 2018-02-10 04:03:17 +03:00