1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/lib/spells
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
..
AdventureSpellMechanics.cpp Cleanup & formatting 2017-07-04 01:32:40 +03:00
AdventureSpellMechanics.h Moved town portal logic to mechanics class 2017-07-03 21:43:04 +03:00
BattleSpellMechanics.cpp Unified CStack ammo, casts and counterattacks 2017-07-08 20:29:59 +03:00
BattleSpellMechanics.h Unified CStack ammo, casts and counterattacks 2017-07-08 20:29:59 +03:00
CDefaultSpellMechanics.cpp Unified CStack ammo, casts and counterattacks 2017-07-08 20:29:59 +03:00
CDefaultSpellMechanics.h Queries refactoring 2017-07-03 21:43:04 +03:00
CreatureSpellMechanics.cpp Unified CStack ammo, casts and counterattacks 2017-07-08 20:29:59 +03:00
CreatureSpellMechanics.h Queries refactoring 2017-07-03 21:43:04 +03:00
CSpellHandler.cpp Moved town portal logic to mechanics class 2017-07-03 21:43:04 +03:00
CSpellHandler.h Moved town portal logic to mechanics class 2017-07-03 21:43:04 +03:00
ISpellMechanics.cpp Queries refactoring 2017-07-03 21:43:04 +03:00
ISpellMechanics.h Moved town portal logic to mechanics class 2017-07-03 21:43:04 +03:00
Magic.h Spell cast logging refactored. 2016-09-17 23:04:23 +03:00
SpellMechanics.h Rename radious -> radius 2016-01-31 18:01:58 +03:00
ViewSpellInt.cpp Fixed http://bugs.vcmi.eu/view.php?id=2521 2016-09-28 07:58:15 +03:00
ViewSpellInt.h formatting 2015-02-26 20:59:18 +03:00