1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-08 22:26:51 +02:00
Commit Graph

18921 Commits

Author SHA1 Message Date
9a47c3100c Restructure mod.json 2025-01-27 08:00:33 +01:00
e26fe815e9 Merge pull request #5293 from godric3/fix-using-specific-hero-in-campaing-bonus
Fix loading vcmp campaign with specific hero used in scenario bonuses
2025-01-20 16:26:09 +02:00
2ac2a08d2c Merge pull request #5296 from Laserlicht/right_drag
[1.6.4] Fix Smooth Map Dragging for RMB
2025-01-20 16:23:53 +02:00
f852d81930 Merge pull request #5298 from Laserlicht/gog_screenshot
Gog.com screenshots for docs
2025-01-20 15:48:44 +02:00
dddd32fb98 Merge pull request #5294 from Laserlicht/video_bg
[1.6.4] fix video background
2025-01-20 15:48:08 +02:00
54c86e0292 Merge pull request #5292 from IvanSavenko/nkai_artifact_score
Per-hero artifact scoring for NKAI
2025-01-20 15:47:40 +02:00
9bf53df9a0 add gog screenshots to docs 2025-01-19 18:04:07 +01:00
bd3b33a94e fix invalid hotkey 2025-01-19 00:30:45 +01:00
2ebf1daf0d add smooth drag for RMB & fix drag for new windows 2025-01-19 00:30:23 +01:00
c1e709e8c4 fix video background 2025-01-18 20:35:01 +01:00
dea6a02e1c Fix loading vcmp campaign with specific hero used in scenario bonuses 2025-01-18 14:50:34 +01:00
364286e1b9 Merge pull request #5287 from Laserlicht/xbrz_fix
[1.6.x] fix canvas fillTexture
2025-01-18 15:38:14 +02:00
0a63969a51 Merge pull request #5290 from GeorgeK1ng/mapedit_czech
Updated Czech translation
2025-01-18 15:37:38 +02:00
565a94ee4e Merge pull request #5289 from Laserlicht/asset
[1.6.x] clear generated assets only on client
2025-01-18 15:37:14 +02:00
4993f45423 Merge pull request #5286 from Laserlicht/ger
[1.6.x] Update german
2025-01-18 15:36:45 +02:00
d825868e26 Merge pull request #5198 from Laserlicht/android_native_copy
[1.6.x] Android native copy files
2025-01-18 15:36:19 +02:00
3479ec9651 Per-hero artifact scoring for NKAI
AI now has better (but not perfect) system for scoring artifacts.

All artifacts now have their base score, based on bonuses provided by
the artifact. For composite artifacts, AI will also consider bonuses
from its components.

When exploring, AI will now weight artifacts as min(base score, price /
5), meaning even artifacts that AI can't score will still have some
priority, if only to sell them or deny them to enemy

AI will now also consider what to equip when trading with heroes or on
the end of AI pass. When considering what to equip, hero will use base
score of an artifact, adjusted by how relevant particular bonus /
artifact for a hero. Some examples:
- Morale-bonusing artifacts have their score reduced based on percentage
of undeads in the army, all the way to 0 for undead-only troops
- Artifacts that give spells (books, hat) will have score reduced based
on how many of these spells are already known by hero
- Land movement artifacts have zero score while on water and vice versa
- Necromancy artifacts will have zero score if hero does not have
necromancy
- Archery artifacts are scaled by amount of ranged troops, and only used
if hero has archery skill

AI may still equip 'bad' artifact, however this should only happen if
hero has no other artifacts to equip into said slot.

TODO's for future PR's (although not sure if / when I will work on
these):
- avoid equipping duplicates of the same artifact. Most notably with
scrolls, but may happen with other misc artifacts or rings.

- consideration for various spell-immunity neclaces

- consideration for birectional artifacts, like Shackles of War, or some
Spheres - since these artifacts need consideration on what our expected
enemy is to correctly estimate whether

- equipping artifacts based on immediate need - for example, equipping
recovery artifacts before end of day, equipping legion pieces only in
town on day 7, preparing for strong / weak enemies (or even preparing
for specific enemy in advance)

- transferring resource-generating artifacts and such to scout heroes,
allowing main hero to focus on combat

- ensure that AI can equip combined artifacts even if non-primary slots
are in use - by considering whether score of combined artifact is higher
than score of all used slots
2025-01-18 13:14:24 +00:00
cbfd105d58 Update strings.xml 2025-01-17 20:03:28 +01:00
3b25942648 Updated Czech translation 2025-01-17 19:56:26 +01:00
24a39a8b48 clear generated assets only on client 2025-01-17 19:27:33 +01:00
7e6816959a use static QFile::copy() method 2025-01-17 09:24:09 +03:00
604c466ebd fix canvas fillTexture 2025-01-17 01:23:14 +01:00
3cb647bb2d code review 2025-01-16 22:30:46 +01:00
04ddf17ff1 fix link 2025-01-16 21:14:05 +01:00
ccd1e6fe32 update german 2025-01-16 21:14:05 +01:00
ffc118f605 Merge pull request #5225 from GeorgeK1ng/menu_tweak
Various main menu improvements
2025-01-15 15:10:35 +02:00
ee01284db9 Merge pull request #5259 from IvanSavenko/translation_regenerate
Translation update
2025-01-15 14:54:45 +02:00
ce1350b3a4 Merge pull request #5261 from IvanSavenko/bonus_optimize
Bonus system optimization - per-node invalidation
2025-01-15 14:42:36 +02:00
36e53705a0 Merge pull request #5262 from dydzio0614/vietnamese-translation-2
Updated vietnamese translation by Hunter8x
2025-01-15 14:41:58 +02:00
eb9bcaa420 added dockerfile for android build 2025-01-15 11:04:45 +01:00
65256e8340 android native copy 2025-01-15 11:04:28 +01:00
8a0d3567e4 Updated vietnamese translation by Hunter8x 2025-01-12 20:19:10 +01:00
ce0ddfd580 Merge pull request #5260 from IvanSavenko/version_bump_164
Version bump to 1.6.4
2025-01-12 17:33:34 +02:00
e829d723b2 Replace global bonus tree change counter with per-node counter 2025-01-12 12:23:07 +00:00
5ec5e23534 Add caching for commonly accessed values 2025-01-12 12:21:10 +00:00
1c6fbe4200 Reduce excessive NKAI logging 2025-01-12 12:21:10 +00:00
d935a19504 Merge pull request #5250 from IvanSavenko/optimize_ai
BattleAI optimizations
2025-01-12 14:20:30 +02:00
d32090292e Version bump to 1.6.4
Release date TBD
2025-01-12 12:19:27 +00:00
8edb9f8fc9 Regenerated translations 2025-01-12 12:16:24 +00:00
139a752a56 Update swedish.json (#5256)
* Update swedish.json

* Update swedish.json

* Update swedish.json
2025-01-12 12:15:25 +00:00
d57976fa34 Update swedish.ts (#5254)
* Update swedish.ts

* Update swedish.ts

* Update swedish.ts
2025-01-12 12:15:16 +00:00
8c3cd666ad Merge pull request #5255 from GeorgeK1ng/czech_update
Czech translation update
2025-01-12 14:14:36 +02:00
5bfc837a8f Fix regressions from battlehex PR (mostly related to towers) 2025-01-12 11:07:50 +00:00
14320fb100 Fix spawned wandering monsters not correctly attached to bonus system 2025-01-12 11:06:45 +00:00
3d1bf03a25 Fix potential concurrent access 2025-01-12 11:06:00 +00:00
8d9c28685c MuMap FallBack + campaign buttons displaying validation 2025-01-12 11:35:06 +01:00
58011b8f9c Add files via upload 2025-01-11 12:57:08 +01:00
97ba56f7c5 Add files via upload 2025-01-11 12:49:21 +01:00
1610a1a44a Add files via upload 2025-01-11 12:48:55 +01:00
48473b18f6 move checks for invincible bonus to UnitState & cache 2025-01-10 21:15:37 +00:00