1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00
Commit Graph

1612 Commits

Author SHA1 Message Date
Ivan Savenko
9070db4a96 Garrisoned hero is now attached to townAndVis node, not to town itself 2025-07-06 14:39:57 +03:00
Laserlicht
13a2b8781e Merge branch 'vcmi:develop' into max_range_spell 2025-07-03 23:25:06 +02:00
SoundSSGood
7f9936cf10 getSourcesForSpell 2025-06-30 18:41:20 +02:00
Ivan Savenko
31786c8135 Town, mines and garrison now use GENERATE_RESOURCE bonus for income 2025-06-26 15:20:45 +03:00
Ivan Savenko
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
Laserlicht
9bfe3a8195 max range for spellcaster 2025-06-25 15:50:31 +02:00
Ivan Savenko
102d932641 Fix crash on attacking town with garrison but without defending heroes 2025-06-21 13:38:33 +03:00
Ivan Savenko
efb31d19a6 Merge pull request #5815 from Laserlicht/cheats
add skill cheat / allow more than 8 skills
2025-06-20 17:56:41 +03:00
George King
88c5f6f6fd Seerhut typo 2025-06-20 08:49:12 +02:00
Laserlicht
cfc09389fa Merge branch 'develop' into cheats 2025-06-19 19:05:31 +02:00
Laserlicht
b0f5c4dd7b allow more than 8 skills 2025-06-19 19:02:39 +02:00
Ivan Savenko
0ad4e80c7d Rework and simplify logic of attaching heroes to bonus system 2025-06-17 14:37:25 +03:00
Ivan Savenko
e35ac0b1e5 Merge pull request #5733 from MichalZr6/mapeditor_fixes
Mapeditor fixes for various crashes
2025-06-16 17:15:29 +03:00
Ivan Savenko
463c404a83 Use bonus only as shared_ptr to avoid memory corruption 2025-06-16 16:22:21 +03:00
Ivan Savenko
0c13f46579 Heroes with neutrals will now always receive terrain penalty 2025-06-16 13:23:14 +03:00
Michał Zaremba
aed832a99d Fixes following review 2025-06-15 23:47:12 +02:00
Michał Zaremba
9e474422fd Fix map saving 2025-06-15 23:47:12 +02:00
Ivan Savenko
ba0188ca7f Bring hero strength for campaigns in line with h3 2025-06-15 17:01:29 +03:00
Ivan Savenko
c279da0798 Minimize hardcoded logic for campaigns. Support for hota h3c's 2025-06-15 17:01:29 +03:00
Ivan Savenko
a842dfb3c4 Support for defining new campaign regions in mods, for hota h3c 2025-06-15 17:01:29 +03:00
Ivan Savenko
022b0f731c Fix configs, update docs, resolve discovered regressions 2025-06-15 14:36:29 +03:00
Ivan Savenko
d2178f8831 Simplify Necromancy code, update docs 2025-06-15 14:36:29 +03:00
Ivan Savenko
0e2463f9c4 Improvements to skeleton transformer logic 2025-06-15 14:36:29 +03:00
Ivan Savenko
e0de65d56c Reworked & fixed DARKNESS bonuses and lookout tower / skyship logic 2025-06-15 14:36:29 +03:00
Ivan Savenko
f71db8af07 Configurable Conflux University 2025-06-15 14:36:29 +03:00
Ivan Savenko
ea8f1bc23d Check SPECIAL_UPGRADE bonus from unit scope 2025-06-15 14:36:29 +03:00
Ivan Savenko
ce5ee6e1df Merge pull request #5769 from IvanSavenko/mysticism
Percentage-based mana regeneration
2025-06-04 21:11:45 +03:00
Ivan Savenko
786324187d Merge pull request #5767 from IvanSavenko/misc_fixes
Miscellaneous fixes
2025-06-04 21:10:22 +03:00
Ivan Savenko
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
Ivan Savenko
4b05fb204d Check for visitable objects when selecting boat location and not blocked 2025-06-03 15:45:57 +03:00
Ivan Savenko
032024a432 Fix multi-creature dwelling only giving town growth bonus to last unit 2025-06-03 15:45:31 +03:00
Ivan Savenko
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
Ivan Savenko
45a29ac3c3 Merge pull request #5755 from IvanSavenko/misc_fixes
Miscelllaneous fixes
2025-05-30 18:30:42 +03:00
Ivan Savenko
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
Ivan Savenko
cee3920599 Merge pull request #5747 from IvanSavenko/necrofix
Fix handling of upgrades of upgrades for necromancy
2025-05-30 18:30:12 +03:00
George King
0314e10225 Missing ; 2025-05-30 14:33:26 +02:00
George King
afc52b2b76 Update lib/mapObjects/CGDwelling.cpp
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2025-05-30 14:32:48 +02:00
Ivan Savenko
afb22e52eb Add some diagnostics for inablilty to place all stacks on battlefield 2025-05-29 11:24:24 +03:00
George King
1a8f470339 Correct text for dwellings with 2 or 3 creatures 2025-05-28 18:41:37 +02:00
Ivan Savenko
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
Ivan Savenko
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
Ivan Savenko
8255a4b9ae CGameHandler no longer inherits CGameInfoCallback, reduce direct access
to gamestate
2025-05-23 14:17:25 +03:00
Ivan Savenko
cc274c4d34 GameRandomizer is now in lib, add implementation 2025-05-19 18:51:42 +03:00
Ivan Savenko
54a46b77a9 Extract library entity randomization logic to separate class 2025-05-19 18:51:42 +03:00
Ivan Savenko
9dfef773e2 Remove unnecessary includes 2025-05-19 17:56:46 +03:00
Ivan Savenko
c0850f41b3 Pathfinder now uses IGameInfoCallback instead of CGameState 2025-05-19 17:53:15 +03:00
Ivan Savenko
e79c8b9fe1 Remove unnecessary access to gamestate 2025-05-19 17:53:15 +03:00
Ivan Savenko
cb82c6a4f6 Fix calculation of new secondary skill level. Fixes bug with removal 2025-05-16 17:21:39 +03:00
Ivan Savenko
456525109e Replaced undescriptive bool true/false with more clear enum for
absolute/relative change via netpacks
2025-05-16 17:21:39 +03:00
Ivan Savenko
4d4da0454f map objects hierarchy now uses IGameInfoCallback 2025-05-14 18:33:20 +03:00