Dydzio
|
44d653b835
|
Update VS files to match latest develop (#424)
|
2018-03-02 14:32:00 +03:00 |
|
Alexander Shishkin
|
8b002ad774
|
Issue2888 (#421)
Fixed issue 2888
* Merged AFTER_ATTACK & BEFORE_ATTACK cast modes.
* Introduced new caster class for creature ability usage
* Added few tests
|
2018-03-02 13:22:51 +03:00 |
|
ArseniyShestakov
|
7fd090786c
|
Merge pull request #379 from henningkoehlernz/hero_specialty_scaling
Hero specialty scaling
|
2018-02-28 15:03:24 +08:00 |
|
AlexVinS
|
f917ec5254
|
Revert "Fixed ancient backward compatibility regression"
This reverts commit 3c67e12620 .
|
2018-02-28 15:00:38 +08:00 |
|
AlexVinS
|
166c04e2e0
|
Hack fixed serializer assertion by completely disabling AI goals serialization
|
2018-02-28 15:00:38 +08:00 |
|
AlexVinS
|
3c67e12620
|
Fixed ancient backward compatibility regression
|
2018-02-24 19:48:49 +03:00 |
|
AlexVinS
|
080a81db3a
|
Fixed summoned units not being removed after battle
|
2018-02-23 21:58:05 +03:00 |
|
Henning Koehler
|
6c443d7094
|
SPECIAL_SPELL_LEV and SPECIAL_BLESS_DAMAGE no longer scale with hero level
|
2018-02-21 09:56:20 +13:00 |
|
AlexVinS
|
6d8536b12a
|
Fixed https://bugs.vcmi.eu/view.php?id=2882
|
2018-02-20 14:29:06 +03:00 |
|
Henning Koehler
|
89cb7b2780
|
formatting fix and code simplification in HeroBonus
|
2018-02-20 23:36:00 +13:00 |
|
AlexVinS
|
2b49df2cab
|
[Spells] Do not use Unit State in heal effect
|
2018-02-20 13:19:01 +03:00 |
|
AlexVinS
|
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 |
|
Henning Koehler
|
9850e7254e
|
updated serialization version to 781
|
2018-02-18 23:32:52 +13:00 |
|
Henning Koehler
|
e2f2568221
|
added extra debug info for Json parsing
|
2018-02-18 20:59:05 +13:00 |
|
Henning Koehler
|
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 |
|
Henning Koehler
|
95e2b44319
|
added TimesStackLevelUpdater
|
2018-02-18 20:36:24 +13:00 |
|
Henning Koehler
|
552bad08b3
|
added TimesHeroLevelUpdater; renamed ScalingUpdater to GrowsWithLevelUpdater
|
2018-02-18 20:36:24 +13:00 |
|
Henning Koehler
|
f9a8cb2876
|
fixed formatting and other small issues
|
2018-02-18 20:22:23 +13:00 |
|
Henning Koehler
|
73f782aa39
|
fixed various specialty bugs retained during conversion
|
2018-02-18 20:22:23 +13:00 |
|
Henning Koehler
|
2b8f111a81
|
converted special.json; fixed bugs in specialty json construction
|
2018-02-18 20:22:23 +13:00 |
|
Henning Koehler
|
dc7132d8b7
|
converted castle.json; fixed bugs in Bonus::toJsonNode()
|
2018-02-18 20:22:23 +13:00 |
|
Henning Koehler
|
00f51e0f98
|
Updaters replace bonuses during inheritance
|
2018-02-18 20:22:23 +13:00 |
|
Henning Koehler
|
ad5a9f7205
|
made HeroSpecial public again
|
2018-02-18 20:08:34 +13:00 |
|
Henning Koehler
|
20172dba7c
|
indentation fix
|
2018-02-18 20:08:34 +13:00 |
|
Henning Koehler
|
ee46862784
|
replaced JsonNode::isEmpty() with JsonNode::containsBaseData()
|
2018-02-18 20:08:34 +13:00 |
|
Henning Koehler
|
6414cd18e8
|
fixed bug with old specialty conversion
|
2018-02-18 20:08:34 +13:00 |
|
Henning Koehler
|
de6d4d8367
|
fixed indentation for switch statements
|
2018-02-18 20:08:34 +13:00 |
|
Henning Koehler
|
6037c19b9a
|
removed specialtyDeprecated from CGHeroInstance; improved savegame compatibility
|
2018-02-18 19:47:38 +13:00 |
|
Henning Koehler
|
81c44dac41
|
minor fixes
|
2018-02-18 19:47:38 +13:00 |
|
Henning Koehler
|
ab7ce6625e
|
moved nameForBonus into Bonus class
|
2018-02-18 19:47:37 +13:00 |
|
Henning Koehler
|
ba7709da50
|
middle-aged specialty format is converted properly and logged
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
16f59fb213
|
fixed base merging and limiter creation
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
6ae103dd63
|
print json in compact format
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
a002df399e
|
updated json loading and schema to fit new specialty format
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
038cb4bf19
|
remove base json from specialty bonuses
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
eb02ce0f31
|
changed specialty json format to struct with base (WIP)
|
2018-02-18 19:27:24 +13:00 |
|
Henning Koehler
|
d7942fd929
|
fixed typo in specialty log
|
2018-02-18 18:53:01 +13:00 |
|
Henning Koehler
|
c31950612c
|
convert spec format in afterLoadFinalization
|
2018-02-18 18:53:01 +13:00 |
|
Henning Koehler
|
26862b4c51
|
improved/fixed specialty json encoding
|
2018-02-18 18:25:49 +13:00 |
|
Henning Koehler
|
05838b3827
|
Bonuse::toJsonNode uses string constants for type/subtype
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
c79b776f3c
|
Limiters (at least creature type limiters) are printed as well
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
89b1ba7538
|
added basics for specialty format updating
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
5d3f6c3b91
|
removed CHeroInstance::specialty
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
2703b035a6
|
added updater to Bonus json format
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
f8a8f6ac72
|
re-fixed type registration bug properly
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
9a335cdb59
|
fixed type registration bug (order matters\!)
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
ef7900d0a2
|
added support for older saves (fails)
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
d594845c32
|
fixed serialization issues
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
3e0022be27
|
added support for new specialty json format; old format is converted to bonuses with updaters
|
2018-02-18 17:33:23 +13:00 |
|
Henning Koehler
|
f867b1a37e
|
invalidate bonus caching on update
|
2018-02-18 16:55:15 +13:00 |
|