1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/AI/Nullkiller/Goals
Xilmi 11980e0f97 Garrisoning behavior improvement
AI will now also garrison a hero as defender if the town to be defended has troops as long as the hero can merge their own troops with the town.

AI will no longer just dismiss existing troops in a town if a hero trying to garrison there can merge with it.
2024-10-20 15:49:23 +02:00
..
AbstractGoal.cpp NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
AbstractGoal.h complete Building-costs as evaluation-context 2024-07-19 15:25:24 +02:00
AdventureSpellCast.cpp Fix case of "Got false in applying struct CastAdvSpell" 2024-09-30 17:57:41 +02:00
AdventureSpellCast.h NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
Build.cpp Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
Build.h Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
BuildBoat.cpp Replaced boost::thread_specific_ptr with thread_local 2023-08-23 16:32:29 +03:00
BuildBoat.h Remove redundant virtual specifiers 2024-02-10 20:46:13 +01:00
BuildThis.cpp Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
BuildThis.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
BuyArmy.cpp Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
BuyArmy.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
CaptureObject.cpp NKAI: remove static ai field 2024-03-31 21:11:25 +03:00
CaptureObject.h Removed typeName and subtypeName properties from CGObjectInstance 2024-10-13 13:05:50 +00:00
CGoal.h Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-31 09:34:21 +00:00
CompleteQuest.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
CompleteQuest.h NKAI: remove static ai field 2024-03-31 21:11:25 +03:00
Composition.cpp NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
Composition.h NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
DigAtTile.cpp NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
DigAtTile.h Remove redundant virtual specifiers 2024-02-10 20:46:13 +01:00
DismissHero.cpp NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
DismissHero.h NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
ExchangeSwapTownHeroes.cpp Garrisoning behavior improvement 2024-10-20 15:49:23 +02:00
ExchangeSwapTownHeroes.h NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
ExecuteHeroChain.cpp Merge remote-tracking branch 'upstream/develop' into develop 2024-10-20 00:49:17 +02:00
ExecuteHeroChain.h NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
ExploreNeighbourTile.cpp NKAI: replace hardcoded pandora with more flexible solution 2024-09-20 16:05:57 +03:00
ExploreNeighbourTile.h NKAI: speedup exploration a bit 2024-05-22 22:49:11 +03:00
GatherArmy.cpp Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
GatherArmy.h Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
Goals.h NKAI: namespace 2022-10-04 08:40:14 +03:00
Invalid.h NKAI: remove static ai field 2024-03-31 21:11:25 +03:00
RecruitHero.cpp NKAI: Do not visit town on recruiting hero 2024-09-19 16:44:48 +00:00
RecruitHero.h Update RecruitHero.h 2024-07-24 21:41:49 +02:00
SaveResources.cpp Replaced boost::thread_specific_ptr with thread_local 2023-08-23 16:32:29 +03:00
SaveResources.h Remove redundant virtual specifiers 2024-02-10 20:46:13 +01:00
StayAtTown.cpp Update StayAtTown.cpp 2024-09-14 02:51:33 +02:00
StayAtTown.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
Trade.cpp NKAI: namespace 2022-10-04 08:40:14 +03:00
Trade.h Remove redundant virtual specifiers 2024-02-10 20:46:13 +01:00