1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-18 03:21:27 +02:00
vcmi/lib/spells/effects
Ivan Savenko 36c1ed670f Support for configurable town fortifications
Removed most of hardcoded checks for fort level or for presence of fort/
citadel/castle buildings.

It is now possible to define which parts of town fortifications are
provided by town buildings

Configuration for H3-like fortifications is provided in
buildingsLibrary.json and will be used automatically by mods as long as
mods have buidings named "fort", "citadel" and "castle".

Alternatively, mods can separately define:
- hitpoints of walls (shared value for all sections)
- hitpoints of central, upper and lower towers (separate values)
- presence of moat
- shooters for each tower (separate values)
2024-08-28 19:42:14 +00:00
..
Catapult.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
Catapult.h
Clone.cpp Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
Clone.h
Damage.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
Damage.h
DemonSummon.cpp Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
DemonSummon.h Block spellcasting if 0 creatures will be raised 2024-04-07 18:50:37 +03:00
Dispel.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
Dispel.h
Effect.cpp
Effect.h
Effects.cpp
Effects.h
EffectsFwd.h
Heal.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
Heal.h
LocationEffect.cpp
LocationEffect.h
Moat.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
Moat.h Implemented 'strict' json support 2024-02-26 12:55:49 +02:00
Obstacle.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
Obstacle.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
Registry.cpp Replace redundant types with auto for the lvalues of template factory functions for smart pointers 2024-01-17 12:50:00 +00:00
Registry.h
RemoveObstacle.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
RemoveObstacle.h
Sacrifice.cpp Split off some netpack structures into separate files 2023-10-23 13:59:15 +03:00
Sacrifice.h
Summon.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
Summon.h Block spellcasting if 0 creatures will be raised 2024-04-07 18:50:37 +03:00
Teleport.cpp Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
Teleport.h
Timed.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
Timed.h
UnitEffect.cpp Split off some netpack structures into separate files 2023-10-23 13:59:15 +03:00
UnitEffect.h