1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/lib/mapObjects
AlexVinS 4f14f22d3a Unified CStack ammo, casts and counterattacks
* it is possible now to add casts and shoots OTF (f.e. with spell bonus)

Centralized stack 'ammo' loading from bonus system.
* introduced small proxy class for local bonus cache
(no need to use global cache if particular selector used on node only in one place)
* handle killing resurrected creatures
* use IBonusBearer::MaxHealth() where possible
* Fixed https://bugs.vcmi.eu/view.php?id=2486
* Possible fix for 0 HP after resurrection.
* Hack-fixed https://bugs.vcmi.eu/view.php?id=2584
* Unified CStack health API
* Use CHealth for CStack count and health points
* increased SERIALIZATION_VERSION
2017-07-08 20:29:59 +03:00
..
CArmedInstance.cpp Fix memory problems with BonusList 2016-09-29 15:08:00 +02:00
CArmedInstance.h Use JsonSerializeFormat for map objects 2016-02-22 02:37:19 +03:00
CBank.cpp Fixed a few CWE-457 2016-11-27 22:07:01 +03:00
CBank.h Refactoring: only use RNGs explicitly to avoid bug prone code in future 2016-09-11 00:10:46 +03:00
CGHeroInstance.cpp Unified CStack ammo, casts and counterattacks 2017-07-08 20:29:59 +03:00
CGHeroInstance.h [Refactoring] use virtual method for object specific actions when new map object is created 2017-05-28 16:23:42 +03:00
CGMarket.cpp Refactoring: only use RNGs explicitly to avoid bug prone code in future 2016-09-11 00:10:46 +03:00
CGMarket.h Refactoring: only use RNGs explicitly to avoid bug prone code in future 2016-09-11 00:10:46 +03:00
CGPandoraBox.cpp * WIP on event condition format 2017-05-27 00:23:19 +03:00
CGPandoraBox.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
CGTownInstance.cpp fix 2017-05-28 18:42:36 +03:00
CGTownInstance.h [Refactoring] use virtual method for object specific actions when new map object is created 2017-05-28 16:23:42 +03:00
CObjectClassesHandler.cpp Fixed CID 1366431, CID 1366430 2016-12-05 02:55:05 +03:00
CObjectClassesHandler.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
CObjectHandler.cpp [Refactoring] use virtual method for object specific actions when new map object is created 2017-05-28 16:23:42 +03:00
CObjectHandler.h [Refactoring] use virtual method for object specific actions when new map object is created 2017-05-28 16:23:42 +03:00
CommonConstructors.cpp Fixed a few CWE-457 2016-11-27 22:07:01 +03:00
CommonConstructors.h Fixed CID 1366376 2016-11-25 13:38:26 +03:00
CQuest.cpp [Refactoring] use virtual method for object specific actions when new map object is created 2017-05-28 16:23:42 +03:00
CQuest.h [Refactoring] use virtual method for object specific actions when new map object is created 2017-05-28 16:23:42 +03:00
CRewardableConstructor.cpp * WIP on event condition format 2017-05-27 00:23:19 +03:00
CRewardableConstructor.h Use const for ObjectTemplate 2016-09-08 18:06:28 +03:00
CRewardableObject.cpp Fixed a few CWE-457 2016-11-27 22:07:01 +03:00
CRewardableObject.h Do not send netpack inside netpack handler. 2016-10-09 19:38:13 +03:00
JsonRandom.cpp * WIP on event condition format 2017-05-27 00:23:19 +03:00
JsonRandom.h Fix mismatched-tags Clang warnings 2016-09-08 19:42:59 +03:00
MapObjects.h
MiscObjects.cpp Unified CStack ammo, casts and counterattacks 2017-07-08 20:29:59 +03:00
MiscObjects.h Squashed commit of PR #314: 2017-06-30 23:51:43 +03:00
ObjectTemplate.cpp Fix http://bugs.vcmi.eu/view.php?id=2677. 2017-05-28 12:23:03 +02:00
ObjectTemplate.h * WIP on event condition format 2017-05-27 00:23:19 +03:00