1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00
Commit Graph

2095 Commits

Author SHA1 Message Date
George King
9d3e5e5e8d Fix Lord Haart vs Sir Munlich
In original game from GOG is available for random maps Lord Haart not Sir Munlich. Their swap is directly HotA purpose.
2025-04-14 10:13:21 +02:00
Ivan Savenko
975d9aedc9 Merge branch 'vcmi/beta' into 'vcmi/develop' 2025-04-13 18:53:54 +03:00
Ivan Savenko
896a7ec88e Better support for Adela specialty (+new modding functionality for it)
Fixes Adela specialty that was apparently broken back in #1518 and
replaced with logic that was clearly not tested - it was neither
functional, nor it was following H3 behavior.

- `HAS_ANOTHER_BONUS_LIMITER` now accepts `null` in place of bonus type,
for cases when limiting is needed by bonus source or bonus subtype. This
allows Adela Bless specialty to always work, irregardless of which
bonuses are provided by Bless.
- Implemented `DIVIDE_STACK_LEVEL` updater that functions same as
`TIMES_STACK_LEVEL`, but it divides bonus value, instead of multiplying
it (to make Adela specialty weaker for high-tier units, as in H3)
- Implemented `TIMES_HERO_LEVEL_DIVIDE_STACK_LEVEL` updater that
combines two existing updaters, to implement `val * heroLevel /
unitLevel` formula needed for Adela specialty
- Removed deprecated `ARMY_MOVEMENT` updater. Its functionality has
already been removed in 1.6.X releases, and it was remaining only as a
placeholder
- Updated modding documentation to account for these changes & to remove
some TODO's

Fixed regression from #777 that could led to either duplicated bonuses
or to multiple application of updaters. It introduced double-recursion -
node parents were gathered recursively, and then bonuses were also
collected recursively within each parent. This created situation where
updater could be applied different number of times. For example, hero
bonus that is propagated to unit in combat could be selected directly,
or via hero->combat unit chain, or via hero->garrison unit->combat unit
chains, leading to different calls to updaters if updater handles
garrison unit node type
2025-04-13 16:24:51 +03:00
Ivan Savenko
6247ed80d2 Merge pull request #5592 from GeorgeK1ng/mod_types
Add "Campaigns" mod type
2025-04-09 17:24:32 +03:00
George King
715736ebc2 Update schema 2025-04-07 21:04:36 +02:00
Ivan Savenko
dd823d1681 Merge pull request #5560 from GeorgeK1ng/campaigns
[1.7] Campaigns configurations improvements
2025-04-02 13:54:50 +03:00
Ivan Savenko
7d3e59d7d3 Do not track clipboard on mobile systems to avoid permissions prompt 2025-03-26 16:00:31 +00:00
Ivan Savenko
0197d226c9 Merge pull request #5565 from kdmcser/new_morale_luck
support setting dice molecule for rolling morale and luck
2025-03-26 16:53:13 +02:00
heroesiiifan
032d4bf112 Merge pull request #5574 from heroesiiifan/bela
add belarussian
2025-03-26 16:46:46 +02:00
kdmcser
5c1adc7df5 change config format 2025-03-26 00:18:45 +08:00
George King
a62c658224 Fix AB typo 2025-03-21 17:15:27 +01:00
George King
38f18366ea Merge pull request #2 from vcmi/develop
Update branch
2025-03-21 14:33:49 +01:00
George King
fada0b9d74 Change Chronicles campaigns screen shortcuts to "T" as Tarnum 2025-03-20 19:55:14 +01:00
DjWarmonger
1e9f65693f Merge pull request #5523 from vcmi/town_hints
Town hints
2025-03-20 16:23:44 +01:00
George King
4a0d8a2015 Merge pull request #1 from vcmi/develop
Update branch
2025-03-19 09:45:29 +01:00
George King
29ccc70f17 Fix testing leftover 2025-03-17 21:56:11 +01:00
George King
711adfeb19 Shortcuts configuration 2025-03-14 15:37:09 +01:00
George King
a5542aac50 Campaigns tweaks 2025-03-14 15:32:01 +01:00
Andrey Filipenkov
0435d8f49c [iOS] add setting to honor mute switch 2025-03-13 12:14:25 +03:00
Ivan Savenko
d870a7b742 Merge pull request #5527 from Laserlicht/subtitle_disable
setting to disable subtitle
2025-03-12 14:53:59 +02:00
Laserlicht
7af340e301 setting to disable subtitle 2025-03-10 00:04:44 +01:00
Tomasz Zieliński
38a46d4b3f Allow "notLikeZone" to be vector 2025-03-09 09:21:05 +01:00
heroesiiifan
c49039a3f7 add romanian and bulgarian 2025-03-08 20:10:33 +01:00
Ivan Savenko
eba3a26fca Merge pull request #5357 from GeorgeK1ng/main_menu_1.7
[1.7] Main menu improvements
2025-03-08 19:20:55 +02:00
Ivan Savenko
62165bd378 Merge pull request #5506 from IvanSavenko/regressions
Fix bonus icon loading
2025-03-08 16:03:14 +02:00
Olegmods
885e5df765 Ben Yan fixes (#5485)
Added some config bug fixes made by Ben Yan.
1. Calid is female, not male.
2. Transparent effect of animate dead, sacrifice, summon demon and first aid added.
3. Paralysed creatures can retaliate the attacker now. Seems in H3 paralysed creatures can retaliate: https://heroes.thelazy.net/index.php/Manticore_and_Scorpicore#Special_Ability:_Paralyzing_Venom .
2025-03-08 16:00:38 +02:00
George King
391a119c90 Merge branch 'develop' into main_menu_1.7 2025-03-07 17:25:53 +01:00
George King
cddc02f8ca Update mainmenu.json 2025-03-07 17:21:48 +01:00
George King
0ee350ae20 Update mainmenu.json 2025-03-07 17:21:14 +01:00
Tomasz Zieliński
946e47ee22 Add townHints to random template, define logic 2025-03-05 21:31:33 +01:00
Ivan Savenko
9ed41d3d5c Add schema for validation of bonus type defininitions 2025-03-05 13:42:18 +00:00
Ivan Savenko
6a828e09b9 Rename bonus instance schema to prevent name clash 2025-03-05 13:05:44 +00:00
Ivan Savenko
b0de99fe89 Merge pull request #5478 from heroesiiifan/translation
develop - add greek, japanese, norwegian; harmonize
2025-03-01 23:14:28 +02:00
Ivan Savenko
35fc7f7f03 Use new URL for 1.7 mods 2025-02-28 14:51:33 +00:00
Ivan Savenko
07a46ed03b Configurable icons for bonuses
It is now possible for mods (e.g. vcmi extras) to provide custom icons
for bonuses subtypes or for custom bonuses values without requiring
hardcoded check in vcmi.

All existing hardcoded checks have been removed.

Bonuses config json from mods is now actually loaded.
2025-02-28 14:51:32 +00:00
Ivan Savenko
8f074490a7 Merge branch 'master' into 'develop' 2025-02-27 21:15:42 +00:00
Ivan Savenko
a075ac1ad1 Merge pull request #5468 from Laserlicht/lobby_aspect_ratio
[1.6.7] make lobby 4:3 aspect ratio & fixes
2025-02-26 17:20:53 +02:00
heroesiiifan
68b3421d5d add greek, japanese, norwegian; harmonize 2025-02-25 22:54:19 +01:00
Laserlicht
ac5988a643 Lobby: 4:3 and wide layout 2025-02-25 21:25:01 +01:00
Laserlicht
bf77dd8a7f fix incorrect help for lobby send message button 2025-02-23 20:15:23 +01:00
Laserlicht
d04365c79b fix create room help 2025-02-23 19:22:40 +01:00
Laserlicht
d9e8aa1ec3 fix long text 2025-02-23 19:05:56 +01:00
Laserlicht
ecd5bc1598 make lobby 4:3 aspect ratio 2025-02-23 15:50:07 +01:00
Laserlicht
52f7caa0e4 use settings instead of persistentStorage 2025-02-22 20:34:13 +01:00
Laserlicht
3627731041 (config only) setting to disable async upscaling 2025-02-21 21:59:00 +01:00
Laserlicht
db23cc2ffa add setting for disabling overlay 2025-02-21 21:35:17 +01:00
Ivan Savenko
0548f325e4 Merge branch 'master' into 'develop' 2025-02-21 13:59:34 +00:00
Ivan Savenko
085409bea9 Stables in Castle will now check for and give same bonuses as map stable 2025-02-18 14:35:52 +00:00
Dydzio
58042c5cd6 Remove default focus from spellbook search, allow toggling focus via shortcut 2025-02-15 18:50:43 +01:00
Dydzio
567c88a924 Hero exchange: Q button swaps army + artifacts instead of opening quests 2025-02-15 18:50:14 +01:00