1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/lib/spells
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
..
effects Support for configurable town fortifications 2024-08-28 19:42:14 +00:00
AbilityCaster.cpp Remove explicit convesion to int in operators 2023-11-15 15:55:19 +02:00
AbilityCaster.h Remove explicit convesion to int in operators 2023-11-15 15:55:19 +02:00
AdventureSpellMechanics.cpp PlayerState now stores all objects owned by player 2024-08-28 12:51:27 +00:00
AdventureSpellMechanics.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
BattleSpellMechanics.cpp Merge pull request #4437 from IvanSavenko/battle_sides 2024-08-14 18:37:05 +03:00
BattleSpellMechanics.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
BonusCaster.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
BonusCaster.h vcmi: rework ProxyCaster 2023-03-30 14:41:40 +03:00
CSpellHandler.cpp Refactor for previous fix in CSpellHandler 2024-08-23 09:43:41 +02:00
CSpellHandler.h Merge pull request #4433 from IvanSavenko/spell_cleanup 2024-08-14 17:05:22 +03:00
ExternalCaster.cpp Remove explicit convesion to int in operators 2023-11-15 15:55:19 +02:00
ExternalCaster.h Remove explicit convesion to int in operators 2023-11-15 15:55:19 +02:00
ISpellMechanics.cpp Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
ISpellMechanics.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
ObstacleCasterProxy.cpp Remove excessive logging on using Recanter's Cloak in siege of Tower 2024-01-05 18:31:07 +02:00
ObstacleCasterProxy.h Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
Problem.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
Problem.h Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
ProxyCaster.cpp Remove explicit convesion to int in operators 2023-11-15 15:55:19 +02:00
ProxyCaster.h Remove explicit convesion to int in operators 2023-11-15 15:55:19 +02:00
TargetCondition.cpp Renamed JsonNode::meta to more logical modScope. Member is now private 2024-02-26 12:55:49 +02:00
TargetCondition.h TargetCondition: units with 100% MR is immune 2023-05-05 18:57:40 +03:00
ViewSpellInt.cpp Remove more subID access 2023-11-01 14:44:05 +02:00
ViewSpellInt.h Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00