76debab846
HasChargesLimiter now works in "bonuses" json section
2025-06-30 18:41:22 +02:00
7f9936cf10
getSourcesForSpell
2025-06-30 18:41:20 +02:00
6752ab3a75
HAS_CHARGES_LIMITER
2025-06-30 18:39:57 +02:00
bd88ae18aa
Merge pull request #5844 from IvanSavenko/bonus_fixes
...
Fixes to bonus system functionality
2025-06-30 11:58:42 +03:00
e31f4367a4
Merge pull request #5814 from Laserlicht/mage_guild
...
Mage guild configurable
2025-06-30 11:56:46 +03:00
6ac57a7cfc
Improvements to bonus system node types / propagators
...
- Node type is now set on construction and never changes
- Added army propagator that also checks for TOWN and HERO
- Renamed existing propagators to be in sync with enumeration
2025-06-25 17:34:20 +03:00
14f0b82f17
configurable window position
2025-06-19 19:48:02 +02:00
fac8fb5952
allow to position spells in mage guild
2025-06-19 15:59:09 +02:00
21db022547
seperate image for each mage guild level possible
2025-06-19 15:03:34 +02:00
463c404a83
Use bonus only as shared_ptr to avoid memory corruption
2025-06-16 16:22:21 +03:00
0fa83c0478
Implemented mod-friendly loading of town building icons for campaigns
2025-06-15 17:01:29 +03:00
2bf951a4cf
Support for objects from mods as campaign scenario bonuses
2025-06-15 17:01:15 +03:00
022b0f731c
Fix configs, update docs, resolve discovered regressions
2025-06-15 14:36:29 +03:00
8d20c1d733
It is now possible to configure power of generic skill & creature
...
specialties
2025-06-15 14:36:29 +03:00
ab0f6ed8cd
Simplified hero creature specialties 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
bc40845340
9 Commanders artifacts
2025-06-14 07:32:13 +02:00
eb9a5bb71b
Implement shortcut for hero skill specialties
...
Should make changes to secondary skill bonuses less mod-breaking, and
reduce chances of incorrectly defined specialties in mods
2025-06-04 20:02:47 +03:00
0945654672
Give custom descriptions to unclear H3 abilities and artifacts
2025-05-25 11:56:54 +03:00
a8fdcf7823
Merge pull request #5735 from IvanSavenko/artifact_bonuses
...
Per-instance bonuses for artifacts
2025-05-23 16:03:59 +03:00
5e02d2a3be
Improve selection of bonus when bonus grouping is active
2025-05-22 18:28:22 +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
25655184d3
Add support for custom icons & descriptions for bonuses
2025-05-21 14:57:10 +03:00
07662a070f
Merge pull request #5724 from IvanSavenko/randomization
...
Better randomization logic
2025-05-21 13:50:28 +03:00
cc274c4d34
GameRandomizer is now in lib, add implementation
2025-05-19 18:51:42 +03:00
e85b1d4c1c
suggested changes
2025-05-17 19:01:04 +02:00
051381d4db
Docs
2025-05-17 15:06:09 +02:00
f614a8a7f5
Discharging conditions
2025-05-16 23:26:42 +02:00
fcc9b8ecfa
Artifacts discharging
2025-05-16 23:24:36 +02:00
9bbebd62e9
GrowUpArtifact pack
2025-05-16 23:20:09 +02: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
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
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
35644da2b7
Reogranize callback-related classes on 1 file = 1 class basis
2025-05-12 22:07:09 +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
69de14a42f
Fix crash on loading map with heroes that have combined art equipped
2025-05-07 18:05:30 +03:00
f1d9d8479f
Extend rewards & limiters functionality
2025-05-06 17:28:12 +03:00
0212b6e37d
Remove artifact from slot as reward
2025-05-06 17:28:12 +03:00
da5c1ffe23
fix crash when opening available artifacts popup for a slot
2025-05-03 12:06:32 +08:00
ac26b3ed9b
Merge pull request #5658 from IvanSavenko/memleak_fix
...
Fix discovered memory leaks & reduce usage of raw pointers
2025-04-30 13:38:37 +03:00
f70ad2c15b
Reorganized artifact-related classes
...
- files now generally contain only 1 class (except for tightly coupled
classes)
- files are now located in lib/entities/artifact directory
- removed excessive includes
No changes to functionality
2025-04-29 13:29:08 +03:00
6f587a243b
Fix build
2025-04-29 13:28:30 +03:00
c0fb1d1b3b
Replace some raw pointers with unique's or optional
2025-04-29 12:11:10 +03:00
99c6ca7e70
Fix build
2025-03-08 16:11:59 +00:00
a061ed04de
Remove usage of ConstTransitivePtr from CTown
2025-03-08 14:04:51 +00:00
645b95ba02
Renamed LibClasses * VLC
to GameLibrary * LIBRARY
2025-02-21 16:54:56 +00:00
2362c6da21
Fixes for multiple new issues from Sonar
2025-02-21 15:57:39 +00:00