1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
Commit Graph

18371 Commits

Author SHA1 Message Date
godric3
1246333350 Initialize town's possibleSpells only if hasn't been initialized already(for example when copying existing town) 2024-10-26 12:15:40 +02:00
Ivan Savenko
638bc174c3 Fix crash on exporting maps for translation 2024-10-25 21:41:24 +00:00
Ivan Savenko
c43844706e Implemented translation support for random map descriptions 2024-10-25 20:41:19 +00:00
George King
c927324b19
Fixed spacing between sentences 2024-10-25 22:13:28 +02:00
Ivan Savenko
26fecbf2ca Simplify income calculation in kingdom overview, account for flaggables 2024-10-25 19:08:13 +00:00
Ivan Savenko
7ae5e2b406 Added support for daily income to flaggable objects 2024-10-25 19:01:00 +00:00
Ivan Savenko
93096dc63c Updated documentation 2024-10-25 18:47:19 +00:00
Ivan Savenko
ee59bc4e71 Add bonus description generation for map objects 2024-10-25 18:36:02 +00:00
Mike
2480c4eae7 Minor update 2024-10-25 09:58:57 -07:00
Ivan Savenko
8a5ac73438 Basic support for configurable flaggable objects
Converted CGLighthouse class into FlaggableMapObject

Bonus provided by Lighthouse/Flaggable is now defined in config and is
accessible to mods.
2024-10-25 16:48:10 +00:00
Mike
9bc84b606e Cleanup 2024-10-24 19:28:21 -07:00
Mike
3690e05e40 Draft to hide scaling dropdown as needed 2024-10-24 18:54:39 -07:00
Laserlicht
53b7c5da6f added MECHANICAL bonus 2024-10-24 21:30:51 +02:00
Ivan Savenko
1826b5bbdf
Merge pull request #4802 from Laserlicht/crash_fix
fix crash & shortcut & layout
2024-10-23 22:23:33 +03:00
Ivan Savenko
f13b5da687
Merge pull request #4796 from nickhuang99/develop
Building dependence of Unicorn Glide in Rampart should include Dendro…
2024-10-23 22:22:32 +03:00
Ivan Savenko
9ba7e227ec
Merge pull request #4801 from Laserlicht/fix_mp3
fix for defect mp3
2024-10-23 22:21:23 +03:00
Ivan Savenko
0c8a529876
Merge pull request #4797 from GeorgeK1ng/develop
Updated Czech translation
2024-10-23 22:20:52 +03:00
Ivan Savenko
246ee0f933
Merge pull request #4803 from XCOM-HUB/patch-6
Update swedish.json
2024-10-23 22:20:22 +03:00
SoundSSGood
83279211e6 CSecSkillPlace done 2024-10-23 15:01:56 +03:00
SoundSSGood
03b4733c64 CSecSkillPlace 2024-10-22 01:54:04 +03:00
SoundSSGood
7955960901 CTradeableItem refactoring 2024-10-22 01:54:00 +03:00
George King
ff1053b0a0
Quality fixes 2024-10-21 23:45:10 +02:00
Xilmi
2b99414793 Using hero's stats instead of level to determine their role.
Since there are custom maps/campaigns in which heroes have pretty high base-stats even at level 1.
2024-10-21 09:37:44 +02:00
Xilmi
60084243af Update PriorityEvaluator.cpp
Fixed losing heroes while exploring.
2024-10-21 09:21:00 +02:00
Xilmi
76f5d925e6 Update PriorityEvaluator.cpp
The army loss will no longer affect the score for defensive decisions.
2024-10-21 08:59:18 +02:00
Xilmi
d93c6211da Road exploration
The non-cheating-AI on 100% and below is now smarter about exploration and will explore alongside roads with higher priority.
2024-10-20 23:32:39 +02:00
Laserlicht
0991f02282 Bonus: prism breath 2024-10-20 22:02:56 +02:00
Xilmi
3a8a67407b Update RecruitHeroBehavior.cpp
AI's willingness to hire hero now depends more on the availability of treasure again.
2024-10-20 16:37:03 +02:00
Xilmi
11980e0f97 Garrisoning behavior improvement
AI will now also garrison a hero as defender if the town to be defended has troops as long as the hero can merge their own troops with the town.

AI will no longer just dismiss existing troops in a town if a hero trying to garrison there can merge with it.
2024-10-20 15:49:23 +02:00
Xilmi
f04e110e2c Update RecruitHeroBehavior.cpp
Removed inclusion of no longer existing and also not needed header.
2024-10-20 12:59:08 +02:00
SoundSSGood
573bb6abc6 CArtPlace now works with artifact ID 2024-10-20 12:56:54 +03:00
Laserlicht
185d036d78 no scrollbar for hotseat title (with ttf fonts) 2024-10-20 03:16:57 +02:00
Laserlicht
98b912dab8 optimize layout 2024-10-20 02:26:40 +02:00
Laserlicht
94606ba5a3 campaign map description size 2024-10-20 02:13:50 +02:00
Xilmi
5d6877e06d Merge remote-tracking branch 'upstream/develop' into develop 2024-10-20 00:49:17 +02:00
George King
28a2fa6790
Quality fixes 2024-10-19 22:43:43 +02:00
George King
681542bd2a
Quality fixes 2024-10-19 22:42:18 +02:00
Maurycy
de0463318c
Update swedish.json
Added new code strings and trimmed down some descriptions so that they will fit in the small description box (hopefully).
2024-10-19 16:16:58 +02:00
Laserlicht
2ea2a3150e fix shortcuts with Modifier Key 2024-10-19 15:59:02 +02:00
Laserlicht
7a190e4929 fix crash 2024-10-19 15:25:26 +02:00
Laserlicht
1df1177506 fix for defect mp3 2024-10-19 13:45:20 +02:00
George King
7dc74f5585
Small fixes
Fixes for new v1.6 strings
2024-10-18 22:42:23 +02:00
George King
19ad4ee0da
Small fixes
Fixed for new v1.6 strings
2024-10-18 20:56:07 +02:00
Laserlicht
a68522b370
fix 2024-10-18 14:37:18 +02:00
Laserlicht
0f41361873
fix edge case 2024-10-18 14:33:29 +02:00
nick huang
7e4b268a78 Building dependence of Unicorn Glide in Rampart should include Dendroid Arches 2024-10-18 20:04:00 +08:00
altiereslima
538c7ce7b1 Update portuguese.json 2024-10-18 07:24:38 -03:00
Laserlicht
f0b7d007a0 video: use global timer; implement frameskip 2024-10-18 10:36:52 +02:00
altiereslima
3ab3132008 Update portuguese.json 2024-10-17 23:51:57 -03:00
altiereslima
cd107c6b4f
Merge branch 'vcmi:develop' into develop 2024-10-17 23:47:00 -03:00