66bc6c0d52
Update ObjectClusterizer.cpp
...
Fixed warning that prevents compilation on GitHub.
2024-12-04 14:57:46 +01:00
c007bbbcd8
AI improvements
...
AI will no longer skip turns with heroes that are waiting for a delivery that takes more than one turn. Instead they will do something until their delivery is close enough to get it at the same turn.
Fixed an issue where a bunch of heroes all tried to do the same tasks:
Tasks that involve no fighting will now always be performed by the closest eligible hero while all other heroes look for something else to do.
2024-12-03 23:09:13 +01:00
34b8123fba
Hero hiring adjustments
...
The AI is now a lot more likely to buy a hero early on when that hero's army is worth more than half the cost of the hero, regardless of other circumstances.
2024-12-02 15:11:39 +01:00
85b29e453d
Merge remote-tracking branch 'upstream/develop' into develop
2024-12-02 14:38:34 +01:00
150f4904ab
Merge pull request #5005 from Laserlicht/video
...
Video rework
2024-12-02 13:48:51 +02:00
877f47e37f
Merge branch 'develop' into video
2024-12-02 13:48:30 +02:00
fcb4dfa985
Merge pull request #4964 from vcmi/connections_rework
...
Connections rework
2024-12-02 13:21:32 +02:00
306ee95496
Merge pull request #4965 from vcmi/sealed_zone
...
New type of zone - "sealed"
2024-12-02 13:21:02 +02:00
76c9dc10a2
Updated Czech translation with lobby messages ( #5019 )
2024-12-02 13:17:18 +02:00
32b30694fe
Update Portuguese Translation ( #4960 )
...
* Update portuguese.ts
* Update portuguese.json
2024-12-02 13:16:24 +02:00
1fde3e3f09
Merge pull request #5014 from Laserlicht/fix_INVINCIBLE
...
fix INVINCIBLE
2024-12-02 13:14:18 +02:00
38e0b08b34
Merge pull request #5011 from IvanSavenko/markdown_lint
...
Added markdownlint to Github CI
2024-12-02 13:14:03 +02:00
fb7091e51a
Merge pull request #5010 from Laserlicht/fix_warning
...
fix some warnings
2024-12-02 13:13:53 +02:00
304f6bbc90
Merge pull request #5009 from Laserlicht/scroll_fix
...
fix scrolling in search window
2024-12-02 13:13:23 +02:00
f10899ed9e
Merge pull request #5006 from Laserlicht/textfixes
...
text fixes
2024-12-02 13:13:08 +02:00
90fb5ac9c4
Merge pull request #5004 from IvanSavenko/int64_fix
...
Fix deserialization of int64 values
2024-12-02 13:06:34 +02:00
22bd3c5621
Merge pull request #5017 from IvanSavenko/save_compat_fix
...
Fix loading of 1.5 and older 1.6 saves
2024-12-02 13:06:26 +02:00
de7bb264ed
Merge remote-tracking branch 'upstream/develop' into develop
2024-12-01 23:06:17 +01:00
2df9861076
Update DefenceBehavior.cpp
...
Stop iterating over tasks when the curent hero has been found in one.
2024-12-01 23:05:56 +01:00
1d79946825
Fix for AI not defending in some cases
...
Instead of skipping the defense of other towns entirely when hiring a hero was considered as a way of defending, now only hiring the same hero twice will be avoided.
2024-12-01 23:00:35 +01:00
54e2dc4bf8
Fix json in examples
2024-12-01 19:12:07 +00:00
5e57582c47
Replace js -> json5 code blocks
2024-12-01 19:06:50 +00:00
d0c5333a2b
Merge pull request #4986 from kdmcser/chinese
...
update Chinese translation
2024-12-01 18:15:51 +02:00
21f6815187
Fix loading of 1.5 and older 1.6 saves
2024-12-01 16:00:09 +00:00
3f9986c88e
fix wrong translation
2024-12-01 23:47:49 +08:00
22e820b599
Merge pull request #4988 from GeorgeK1ng/develop
...
Updated Czech translation
2024-12-01 16:13:32 +02:00
7b682f9010
Always use json5 for syntax highlighting.
2024-12-01 12:18:06 +00:00
1960d66971
fix INVINCIBLE
2024-12-01 12:25:27 +01:00
36fe8462c5
Address code review, fix few more issues with formatting
2024-12-01 11:15:13 +00:00
74a4a10f48
Added markdownlint to Github CI
...
- Markdown will now be validated as part of Github CI
- Applied auto-fix to most common issues (mostly whitespace related)
- Fixed manually some of more complex cases
Some valid markdownlint rules are currently disabled, to avoid failing
CI, can be enabled in future
2024-11-30 20:20:15 +00:00
e6cd3630e0
fix warning
2024-11-30 17:20:39 +01:00
28fd6c50c4
search box scroll fix
2024-11-30 16:55:45 +01:00
bb2f016f49
text fixes
2024-11-30 00:41:09 +01:00
543185a530
prescale support for video
2024-11-29 23:33:28 +01:00
8808c9538c
use video player for spellbook animation
2024-11-29 21:58:20 +01:00
ccb42deba4
Fix deserialization of int64 values
2024-11-29 16:55:30 +00:00
d4b2ec5b0b
Merge pull request #4995 from IvanSavenko/local_state_fix
...
Fix serialization of selected spellbook page
2024-11-29 15:38:22 +02:00
8b3244cba5
Merge pull request #4997 from IvanSavenko/fix_view_earth
...
Fix View Earth also revealing other objects such as heroes and towns
2024-11-29 15:38:12 +02:00
5138412255
Merge pull request #4998 from IvanSavenko/ai_difficulty
...
Allow per-difficulty parameters for NKAI
2024-11-29 13:22:11 +02:00
7574842e93
Replace defines with constexpr
2024-11-28 15:08:15 +00:00
40aa49acff
Fix typo: Absoolute -> Absolute
2024-11-28 14:44:12 +00:00
90536a5fbe
Remove hardcoded morale chance constant
2024-11-28 12:11:32 +00:00
be2327d000
Removed no longer used or redundant constants
2024-11-28 12:11:13 +00:00
b25702f15e
expose safeAttackRatio to AI config
2024-11-28 11:53:51 +00:00
00492a60a7
Moved retreat decision-making constants to config
2024-11-28 11:39:36 +00:00
f41873fe72
Fix View Earth also revealing other objects such as heroes and towns
2024-11-27 21:26:54 +00:00
71d9664295
Allow per-difficulty parameters for NKAI
2024-11-27 21:26:06 +00:00
57097f4ae6
Fix serialization of selected spellbook page
...
On game start, player interface attempts to load local state from empty
json, resetting all values to 0. However we want to show spellbook at
"all spells" page as default, not as top-most page with air spells
2024-11-27 20:50:12 +00:00
fad91acd3a
Merge pull request #4993 from IvanSavenko/mod_preset_fixes
...
Mod preset fixes
2024-11-27 16:42:25 +02:00
e2512eaa7a
Merge pull request #4992 from IvanSavenko/dungeon_heroes_fix
...
Fix swapped Overlord and Warlock models on adventure map
2024-11-27 16:42:14 +02:00