e35ac0b1e5
Merge pull request #5733 from MichalZr6/mapeditor_fixes
...
Mapeditor fixes for various crashes
2025-06-16 17:15:29 +03:00
463c404a83
Use bonus only as shared_ptr to avoid memory corruption
2025-06-16 16:22:21 +03:00
0c13f46579
Heroes with neutrals will now always receive terrain penalty
2025-06-16 13:23:14 +03:00
aed832a99d
Fixes following review
2025-06-15 23:47:12 +02:00
9e474422fd
Fix map saving
2025-06-15 23:47:12 +02:00
ba0188ca7f
Bring hero strength for campaigns in line with h3
2025-06-15 17:01:29 +03:00
c279da0798
Minimize hardcoded logic for campaigns. Support for hota h3c's
2025-06-15 17:01:29 +03:00
a842dfb3c4
Support for defining new campaign regions in mods, for hota h3c
2025-06-15 17:01:29 +03:00
022b0f731c
Fix configs, update docs, resolve discovered regressions
2025-06-15 14:36:29 +03:00
d2178f8831
Simplify Necromancy code, update docs
2025-06-15 14:36:29 +03:00
0e2463f9c4
Improvements to skeleton transformer logic
2025-06-15 14:36:29 +03:00
e0de65d56c
Reworked & fixed DARKNESS bonuses and lookout tower / skyship logic
2025-06-15 14:36:29 +03:00
f71db8af07
Configurable Conflux University
2025-06-15 14:36:29 +03:00
ea8f1bc23d
Check SPECIAL_UPGRADE bonus from unit scope
2025-06-15 14:36:29 +03:00
ce5ee6e1df
Merge pull request #5769 from IvanSavenko/mysticism
...
Percentage-based mana regeneration
2025-06-04 21:11:45 +03:00
786324187d
Merge pull request #5767 from IvanSavenko/misc_fixes
...
Miscellaneous fixes
2025-06-04 21:10:22 +03:00
07dcdc1f85
Percentage-based mana regeneration
...
Hota-like mysticism.
Bonus FULL_MANA_REGENERATION (Wizard well) has been replaced with
MANA_PERCENTAGE_REGENERATION bonus. Wizard well now has new bonus with
100% value.
2025-06-03 19:38:54 +03:00
4b05fb204d
Check for visitable objects when selecting boat location and not blocked
2025-06-03 15:45:57 +03:00
032024a432
Fix multi-creature dwelling only giving town growth bonus to last unit
2025-06-03 15:45:31 +03:00
139f41c9b2
Implement STACK_EXPERIENCE_GAIN_PERCENT bonus
...
Suggested on Discord
- implements STACK_EXPERIENCE_GAIN_PERCENT that modifies stack
experience received by units after combat
- removed "EXPERIENCE" primary skill. Changes to experience are now
applied through separate netpack
2025-06-02 21:21:20 +03:00
45a29ac3c3
Merge pull request #5755 from IvanSavenko/misc_fixes
...
Miscelllaneous fixes
2025-05-30 18:30:42 +03:00
689f9250f6
Merge pull request #5754 from GeorgeK1ng/dwellings_text
...
Correct text for dwellings with 2 or 3 creatures
2025-05-30 18:30:35 +03:00
cee3920599
Merge pull request #5747 from IvanSavenko/necrofix
...
Fix handling of upgrades of upgrades for necromancy
2025-05-30 18:30:12 +03:00
0314e10225
Missing ;
2025-05-30 14:33:26 +02:00
afc52b2b76
Update lib/mapObjects/CGDwelling.cpp
...
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com >
2025-05-30 14:32:48 +02:00
afb22e52eb
Add some diagnostics for inablilty to place all stacks on battlefield
2025-05-29 11:24:24 +03:00
1a8f470339
Correct text for dwellings with 2 or 3 creatures
2025-05-28 18:41:37 +02:00
de051cbd46
Show preview for Refugee Camp
...
VCMI will now show preview for Refugee Camp similar to dwelling preview
that show available creatures if player have visited Refugee Camp on
this week, and no other player have visited the Refugee Camp since then
2025-05-27 19:43:02 +03:00
bad46571c0
Fix handling of upgrades of upgrades for necromancy
...
Game will now recognize upgrades of upgrades for Necromancy purposes -
if hero has such units in his army, Necromancy can target them with same
2/3 efficiency like direct upgrades
2025-05-27 18:46:11 +03:00
8255a4b9ae
CGameHandler no longer inherits CGameInfoCallback, reduce direct access
...
to gamestate
2025-05-23 14:17:25 +03:00
cc274c4d34
GameRandomizer is now in lib, add implementation
2025-05-19 18:51:42 +03:00
54a46b77a9
Extract library entity randomization logic to separate class
2025-05-19 18:51:42 +03:00
9dfef773e2
Remove unnecessary includes
2025-05-19 17:56:46 +03:00
c0850f41b3
Pathfinder now uses IGameInfoCallback instead of CGameState
2025-05-19 17:53:15 +03:00
e79c8b9fe1
Remove unnecessary access to gamestate
2025-05-19 17:53:15 +03:00
cb82c6a4f6
Fix calculation of new secondary skill level. Fixes bug with removal
2025-05-16 17:21:39 +03:00
456525109e
Replaced undescriptive bool true/false with more clear enum for
...
absolute/relative change via netpacks
2025-05-16 17:21:39 +03:00
4d4da0454f
map objects hierarchy now uses IGameInfoCallback
2025-05-14 18:33:20 +03:00
6f20235d07
Merge CPrivilegedInfoCallback into CGameInfoCallback
2025-05-14 13:42:20 +03:00
b37a3dc63c
Lighthouse / flaggable objects now has dedicated bonus system node
...
this alows to remove multiple hacks from lighthouse logic
2025-05-14 13:42:19 +03:00
716da918f8
Completely remove IGameCallback class
...
- CClient now inherits directly from CPrivilegedInfoCallback, like
IGameCallback did before. However CClient no longer needs dummy
implementation of IGameEventCallback
- CGObjectInstance hierarchy now uses CPrivilegedInfoCallback for
callback. Actual events can only be emitted in calls that receive
IGameEventCallback pointer, e.g. heroVisit
- CGameHandler now inherits directly from both CPrivilegedInfoCallback
and IGameEventCallback as it did before via IGameCallback
2025-05-14 13:39:41 +03:00
f7d08a7288
Merge pull request #5700 from IvanSavenko/gamestate_pack_visitor
...
Remove CPack::applyGs method in favor of GameStatePackVisitor class
2025-05-14 11:53:15 +03:00
1165dadfd4
Merge pull request #5701 from IvanSavenko/bonus_docs
...
Update documentation for bonuses and fix creature type limiter
2025-05-14 11:53:05 +03:00
c62e1d289e
Merge pull request #5706 from IvanSavenko/antagarich
...
Fix missing messages on events without guards on .vmap's (e.g. Antagarich Burning)
2025-05-14 11:52:52 +03:00
a13ab8f013
Merge pull request #5707 from IvanSavenko/dwelling_fix
...
Fixes for handling of oversized map dwellings
2025-05-14 11:52:40 +03:00
35644da2b7
Reogranize callback-related classes on 1 file = 1 class basis
2025-05-12 22:07:09 +03:00
cb70cc48d6
Fixes for handling of oversized map dwellings
...
- Marked large version of H3 Unicorn's Glade as not usable for random
dwelling replacement
- Shifted oversized dwellings - that have at most 2x2 as blocked tile,
but have non-blocked tile column will now be placed correctly
- This fixes incorrect random dwelling replacement of the only oversized
H3 dwelling - Portal of Glory
- Game will now detect & report invalid dwelling templates from mods
- Updated docs to clarify dwellings format
2025-05-12 18:01:46 +03:00
79591ac587
Fix missing messages on events without guards on .vmap's
2025-05-12 15:42:59 +03:00
4b30336d03
Fix issues detected by Sonar
2025-05-11 19:50:57 +03:00
3d170bb1f4
Fix creature type limiter not considering upgrades of upgrades
2025-05-10 19:09:08 +03:00