1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00
Commit Graph

20076 Commits

Author SHA1 Message Date
23c392fe9f Remove old strings, fix key names 2025-05-25 11:56:54 +03:00
00fc74a1e4 Sort json keys and fix json formatting 2025-05-25 11:56:54 +03:00
006da5234d Update Ukrainian translation 2025-05-25 11:56:54 +03:00
6617d9b213 Fix game restart 2025-05-25 11:56:54 +03:00
0945654672 Give custom descriptions to unclear H3 abilities and artifacts 2025-05-25 11:56:54 +03:00
6c5b2b8e63 More generic support for bonus subtypes descriptions 2025-05-25 11:56:54 +03:00
747cf21cab Sort alphabetically and review English bonus descriptions 2025-05-25 11:56:54 +03:00
3f4ff58a5e Merged bonus names with bonus descriptions, since they are never used
separately
2025-05-25 11:56:54 +03:00
4cd911247d Merge pull request #5723 from Laserlicht/cheats
Cheats improvements
2025-05-25 11:26:16 +03:00
2d80443d8f Merge pull request #5739 from IvanSavenko/battleai_fix
Fix handling of double-wide creatures by BattleAI
2025-05-25 11:26:01 +03:00
043075a719 Merge branch 'vcmi:develop' into cheats 2025-05-23 20:38:11 +02:00
9f937e9791 code review 2025-05-23 20:26:17 +02:00
7b3d690998 Merge pull request #5731 from IvanSavenko/gamehandler_reduce
Refactoring - simplify classes derived from CGameInfoCallback
2025-05-23 16:04:27 +03:00
a8fdcf7823 Merge pull request #5735 from IvanSavenko/artifact_bonuses
Per-instance bonuses for artifacts
2025-05-23 16:03:59 +03:00
508c54c23a Fix game startup 2025-05-23 15:18:07 +03:00
1666a5a7e5 Prefer dynamic_cast to unsafe static_cast, fix Sonar 2025-05-23 14:17:43 +03:00
ff0f5290f7 CClient no longer inherits from CGameInfoCallback 2025-05-23 14:17:43 +03:00
fa6bf02b6e Renamed mocked file to represent change in inheritance 2025-05-23 14:17:43 +03:00
d4e886257d Remove unused file 2025-05-23 14:17:43 +03:00
aa9b13b66a Statistics is now managed as part of CGameHandler 2025-05-23 14:17:42 +03:00
af20b39fe6 Reduce non-const access to gamestate on server 2025-05-23 14:17:25 +03:00
8255a4b9ae CGameHandler no longer inherits CGameInfoCallback, reduce direct access
to gamestate
2025-05-23 14:17:25 +03:00
25e57542be Merge pull request #5725 from IvanSavenko/bonus_description
Custom descriptions and icons for creature abilities
2025-05-23 14:02:34 +03:00
f2f4c03fc3 Merge pull request #5423 from MichalZr6/Validator_refactors
[mapeditor] Map validation results window changes
2025-05-23 14:02:11 +03:00
0c715581e7 Merge pull request #5736 from GeorgeK1ng/github_removal
Remove .github folder after mod setup
2025-05-23 14:02:00 +03:00
473cf474a1 Merge pull request #5737 from IvanSavenko/addinfo_fix
Fix validation of addInfo of bonuses
2025-05-23 14:01:52 +03:00
31dd13e89b Merge pull request #5738 from Laserlicht/ui_fixes
Qt UI fixes
2025-05-23 14:01:37 +03:00
5c4ce61d57 Fix handling of double-wide creatures by BattleAI
One of recently added sanity checks was causing crashes during BattleAI
decision-making.

Actual reason turned out to be due to invalid requests generated by
BattleAI when attempting to attack enemy unit from behind with double-
wide unit.

This change should make BattleAI correctly estimate such attacks
2025-05-23 14:00:47 +03:00
263ba46da6 Merge branch 'develop' into cheats 2025-05-22 21:33:29 +02:00
76716fff6a fix spacing in campaign editor 2025-05-22 20:42:52 +02:00
e3197447c4 normal window instead of dialog for campaigneditor 2025-05-22 20:42:27 +02:00
a64a98c08c fix gog install button removement after finish 2025-05-22 20:41:15 +02:00
6fe3666abb Fix validation of addInfo of bonuses
- Added missing docs on addInfo of some bonuses
- Unified naming in docs to match json keys
- Removed addInfo from bonuses that don't actually support it
- Added loading of addInfo to bonuses that support it
2025-05-22 19:00:18 +03:00
5e02d2a3be Improve selection of bonus when bonus grouping is active 2025-05-22 18:28:22 +03:00
9975852d33 Try to improve bonus grouping in creature window 2025-05-21 23:30:24 +03:00
f82b40c8b2 Fix edge case where text breaking might result in too long string if
exactly 1 last symbol generated too long string
2025-05-21 23:29:57 +03:00
62316a6420 Per-instance bonuses for artifacts
It is now possible to give artifacts per-instance bonuses, if needed.

Unlike shared bonuses, per-instance bonuses stack if multiple instances
of same artifacts are equipped on hero.

This to implement resource-producing artifacts in line with H3 -
equipping multiple such artifacts on a single hero will give bonus from
each instance of such artifact.

Also, both existing bonuses and new instanceBonuses fields now use json
object instead of json lists. This allows easier modification of
individual bonuses of artifacts and potentially - custom icons /
descriptions for artifact bonuses.
2025-05-21 19:24:19 +03:00
1e272c603f Merge pull request #5734 from kdmcser/schema_fix
fix schema
2025-05-21 19:14:48 +03:00
70742a69de Remove .github folder after mod setup 2025-05-21 17:58:45 +02:00
bbd6e1e100 fix schema 2025-05-21 23:29:03 +08:00
3f83ad1b40 Merge pull request #5726 from IvanSavenko/breath
Configurable multi-hex attacks
2025-05-21 17:10:59 +03:00
71403265fb Remove debug code, update docs 2025-05-21 14:57:10 +03:00
9787f33798 Update schema & docs 2025-05-21 14:57:10 +03:00
be37b04ca4 Reorder abilities in alphabetic order 2025-05-21 14:57:10 +03:00
25655184d3 Add support for custom icons & descriptions for bonuses 2025-05-21 14:57:10 +03:00
b806775f3a Merge pull request #5727 from IvanSavenko/enchanter
Remove hardcoded mass-casting of ENCHANTER bonus
2025-05-21 13:52:06 +03:00
0fd13a78da Merge pull request #5728 from IvanSavenko/backwards_move
Allow moving double-wide unit 1 tile backwards
2025-05-21 13:51:55 +03:00
550d4d76eb Merge pull request #5730 from IvanSavenko/rewardable_creature_fix
Fix handling of creatures in configurable town buildings
2025-05-21 13:51:43 +03:00
e769efe46a Merge pull request #5729 from dydzio0614/gameplay-improvements
Gameplay improvements
2025-05-21 13:51:34 +03:00
07662a070f Merge pull request #5724 from IvanSavenko/randomization
Better randomization logic
2025-05-21 13:50:28 +03:00