Laserlicht
ec005593d3
growth handicap
2024-07-25 23:04:59 +02:00
Xilmi
07108ce03d
Update PriorityEvaluator.cpp
...
Allow defending in priority 2.
2024-07-25 21:49:17 +02:00
Xilmi
183ce82b99
Update Nullkiller.cpp
...
Readded prio-3 tasks for heroes when no prio 0-2 tasks were found. It's anything that doesn't lose more than the loss-threshold.
2024-07-25 21:48:44 +02:00
Xilmi
38da53135b
Update DefenceBehavior.cpp
...
A town will no longer communitcate that it doesn't need defenses, when it currently has a garrisioned hero. Because otherwise the garrisoned hero would just leave and let the town undefended.
2024-07-25 21:47:56 +02:00
Laserlicht
6273e678a4
fix
2024-07-25 10:30:57 +02:00
Laserlicht
bfd1e8a7c8
calculate income
2024-07-25 02:51:00 +02:00
Laserlicht
63b8ac1a58
fix
2024-07-25 00:45:52 +02:00
Laserlicht
d7ffc6ad3e
cleanup
2024-07-25 00:28:49 +02:00
Laserlicht
d54dfe4508
gui improvements
2024-07-25 00:28:49 +02:00
Laserlicht
dc54261574
set handicap
2024-07-25 00:28:49 +02:00
Laserlicht
5310f94e99
gui input
2024-07-25 00:28:49 +02:00
Laserlicht
2b7e42004f
basic gui
2024-07-25 00:28:49 +02:00
Laserlicht
268e0c8c44
change data structure
2024-07-25 00:28:49 +02:00
Laserlicht
fa7153b577
fix
2024-07-25 00:28:49 +02:00
Laserlicht
832e1531fc
handycap percent
2024-07-25 00:28:49 +02:00
Laserlicht
48eacbf830
handicap percent
2024-07-25 00:28:49 +02:00
Laserlicht
97f49030d2
fix
2024-07-25 00:28:49 +02:00
Laserlicht
af2b6a0051
show handicap resources
2024-07-25 00:28:49 +02:00
Laserlicht
afd580b76a
Announce handicap in welcome message
2024-07-25 00:28:34 +02:00
Laserlicht
fea491be82
multiplayer announcement
2024-07-25 00:28:33 +02:00
Laserlicht
8edf77afcc
basic handicap support
2024-07-25 00:28:01 +02:00
Xilmi
909c308614
Update Nullkiller.cpp
...
Removed unused variable.
2024-07-24 21:46:18 +02:00
Xilmi
1e2021fb6d
Update RecruitHero.h
...
Fix warning.
2024-07-24 21:41:49 +02:00
Xilmi
8152b003fe
Update Nullkiller.cpp
...
Fixed a bug that caused tasks that are generated with an initial priority not being executed.
Fixed an error-message wrongfully claiming a hero was locked by STARTUP, when infact the hero was locked by something else (usually a hero-chain).
Recruiting-heros is now handled alongside buying army and buildings.
2024-07-24 21:26:53 +02:00
Xilmi
e2e3cd281c
Update RecruitHero.h
...
Multiple orders for the same hero by different towns are now handled properly instead of trying to buy the same hero several times.
2024-07-24 21:23:20 +02:00
Xilmi
19b969406c
Update PriorityEvaluator.cpp
...
Delivering troops to mains is now considered a priority 0 task that should immediately be fulfilled.
Defending nearby towns against nearby enemies is now also considered a priority 0 task.
Priority 0 tasks are now exclusively scored by distance and armyloss has only a cut-off-point instead of lowering the score.
Building-cost now has more impact on their score.
2024-07-24 21:22:14 +02:00
Xilmi
bbb5157f74
Update RecruitHeroBehavior.cpp
...
Reworked recruit-behavior to be a bit more conservative and avoid recruiting-sprees. Stuff like buying several heros in a row because the next one is always slightly better than the last but using up the whole starting-bank for that.
2024-07-24 21:17:04 +02:00
Xilmi
aade79720f
Update BuildAnalyzer.cpp
...
Allow queuing citadels and castles on other days than satur- and sunday.
2024-07-24 21:14:27 +02:00
Xilmi
69b64a3241
Update ExplorationBehavior.cpp
...
Added missing bracked and changed indenting to make it less confusing.
2024-07-24 15:40:20 +02:00
Xilmi
34e4ab45ee
Fixed what merge-conflict-handling had broken.
...
Restored exploration-without relying on memory but with included whirlpool
2024-07-24 15:21:17 +02:00
Xilmi
b83a214763
Merge remote-tracking branch 'upstream/develop' into develop
2024-07-24 14:59:24 +02:00
Andrii Danylchenko
dbcd7677ac
Merge pull request #4313 from vcmi/nkai-whirlpool
...
NKAI: whirlpool
2024-07-24 00:03:11 +03:00
Alexander Wilms
e2396d2a27
CI: Use URL relative to repo's owner for test data
...
This allows to easily run tests in forks
2024-07-23 01:43:26 +02:00
void
f0568e2195
docs: add building instruction for the NixOS
2024-07-23 07:28:45 +09:00
Xilmi
69efe9cfda
Merge remote-tracking branch 'upstream/develop' into develop
2024-07-22 20:15:40 +02:00
Andrii Danylchenko
da46d5d01b
BattleAI: take into account defender dragon breath and other mutitarget attacks
2024-07-22 20:39:33 +03:00
Andrii Danylchenko
4e83deca92
BattleAI: fix waited attack calculation
2024-07-22 20:39:33 +03:00
Andrii Danylchenko
33e0eeaa8a
BattleAI: fix dragon breath
2024-07-22 20:39:32 +03:00
Ivan Savenko
37cf788079
Merge pull request #4317 from IvanSavenko/split_townhandler
...
Split CTownHandler into smaller chunks
2024-07-22 17:42:48 +03:00
Ivan Savenko
e99fb539c6
Merge pull request #4256 from IvanSavenko/changelog_initial
...
Initial version of 1.6 changelog
2024-07-22 17:42:02 +03:00
Ivan Savenko
e8aa6efbb9
Merge pull request #4261 from kaja47/shrinkage
...
Reduce size of Bonus struct from 320 bytes to 296 bytes.
2024-07-22 17:12:08 +03:00
K
c1e6bbddfe
Reduce size of Bonus struct from 320 bytes to 296 bytes.
...
- Internal enums were resized to occupy single byte.
- Duration bitmask uses 16 bit integer directly instead of std::bitset<11> which consumed 8 bytes.
- Fields shuffled to minimise padding and keep the most useful data on first 2 cache lines.
2024-07-22 14:59:31 +02:00
Ivan Savenko
69c3a6afd5
Merge pull request #4319 from Laserlicht/patch-4
...
fix exiting when bluetooth mouse is connected while running
2024-07-22 12:58:25 +03:00
Laserlicht
3f4368e3de
fix exiting when bluetooth mouse is connected while running
2024-07-22 02:02:30 +02:00
Ivan Savenko
71f0f86226
Initial version of 1.6 changelog, with all changes so far
2024-07-21 18:48:01 +00:00
Ivan Savenko
4aa73b40c9
Split CTownHandler into smaller chunks
2024-07-21 18:21:48 +00:00
Xilmi
6f9309696d
Merge remote-tracking branch 'upstream/develop' into develop
2024-07-21 19:06:14 +02:00
Andrii Danylchenko
683c363946
NKAI: whirlpool
2024-07-21 17:20:54 +03:00
Ivan Savenko
5bd9a32d97
Implemented simple target selection logic for arrow towers
2024-07-21 13:16:33 +00:00
Ivan Savenko
550540f8ab
Merge pull request #4316 from IvanSavenko/crashfixes
...
Crashfixes
2024-07-21 16:15:28 +03:00