1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-13 01:20:34 +02:00

162 Commits

Author SHA1 Message Date
6752ab3a75 HAS_CHARGES_LIMITER 2025-06-30 18:39:57 +02:00
cfc09389fa Merge branch 'develop' into cheats 2025-06-19 19:05:31 +02:00
b0f5c4dd7b allow more than 8 skills 2025-06-19 19:02:39 +02:00
899701a87d Update docs, fix sonar 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
4e47894e7a Somewhat configurable spell schools 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
a305ed28bb Support for loading custom bonuses, slightly less hardcoded Skeleton
Transformer
2025-06-15 14:36:29 +03:00
91378fba70 9 Commanders artifacts 2025-06-14 07:34:02 +02:00
7548b38830 9 Commanders artifacts 2025-06-14 07:33:20 +02: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
043075a719 Merge branch 'vcmi:develop' into cheats 2025-05-23 20:38:11 +02:00
f2f4c03fc3 Merge pull request #5423 from MichalZr6/Validator_refactors
[mapeditor] Map validation results window changes
2025-05-23 14:02:11 +03:00
263ba46da6 Merge branch 'develop' into cheats 2025-05-22 21:33:29 +02:00
d102f660a0 color filter cheats 2025-05-19 02:48:13 +02: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
1021928c6b Fix CI builds 2025-05-13 12:51:40 +02:00
4b30336d03 Fix issues detected by Sonar 2025-05-11 19:50:57 +03:00
0212b6e37d Remove artifact from slot as reward 2025-05-06 17:28:12 +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
4e8e85e3e4 Fix issues reported by Sonar, review fixes 2025-04-27 14:57:31 +03:00
829739da24 Reduce usage of implicit conversions to int 2025-04-27 14:57:31 +03:00
ab11d2b075 Remove quests from CMap, now solely owned by quest objects 2025-04-27 14:57:30 +03:00
47cfe01141 seperate identifier 2025-04-11 00:49:26 +02:00
5b74f7f19e code review (first batch) 2025-04-10 21:04:24 +02:00
2fdf40e7a9 Remove connection pointer from CPack 2025-03-03 10:46:00 +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
57f16be9a6 Merge pull request #5417 from IvanSavenko/hota_h3m
[1.7] Support for loading HotA 1.7.X maps and campaigns
2025-02-20 16:32:49 +02:00
f9fe8fc312 Cleanup hota object loading code 2025-02-13 19:10:29 +00:00
d996726fe7 Support for parsing HotA 1.7.0 maps 2025-02-13 19:10:29 +00:00
ec970c7b22 Support for configuring minimal cost for moving between tiles
- Added `movementCostBase` parameter to game config that defines minimal
amount of movement points that will be spent when moving from one tile
on another while offroad (and cost of Fly / Town Portal spells)
- Added `BASE_TILE_MOVEMENT_COST` bonus type that allows modifying
`movementCostBase` on per-hero basis

Example usage for hota-like pathfinding skill
```json
"tileCostReduction" : {
	"type" : "BASE_TILE_MOVEMENT_COST",
	"val" : -15
}
```
2025-02-03 22:52:33 +00:00
baa9b1e312 Load unknown objects as "Nothing" object 2025-01-24 19:26:40 +00:00
8468469976 Fixes for AI town building logic
- Fixes AI not considering non-built dwellings
- AI will now skip evaluation of towns in which construction today is no
longer possible
2025-01-06 16:20:53 +00:00
65fc50d33b Simplified building ID logic
- Replaced overcomplicated and broken math on dwelling ID's with fixed
enum
- Fixed broken 2nd upgrades and 8th dwelling
- Removed no longer used enumeration values from building ID's
2024-12-25 19:16:21 +00:00
e035cf9e63 Optimized getHeroStrength method
- replaced 4x access to bonus system with single access
- fixed formula for Diplomacy
- fxied formula for hero transfer in campaigns
- removed pointless sqrt(pow()) construct
2024-12-22 14:49:35 +00:00
4f80ccd648 Small micro-optimizations for code that gets called A LOT 2024-12-21 14:43:09 +00:00
99fcf136ec Nullkiller AI is now also capable of upgrading dwellings a second time if that's possible 2024-12-16 23:45:21 +01:00
9012560e38 Fix for AI not recognizing 2nd T7-building of Factory as dwelling
This lead to it being built dead-last in the build-order instead of the AI trying to go for it quite early.
2024-12-16 17:19:07 +01:00
b29d7e8cfd third upgrade for 8th dwelling 2024-11-24 17:57:49 +01:00
10ad0fc760 Split CHeroHandler.cpp/.h into 1 file per class
All parts of CHeroHandler.cpp are now in lib/entities/hero
Adjusted includes to use new paths
No functionality changes
2024-10-13 14:01:09 +00:00
408a632002 Deprecate artifact-related building types 2024-08-28 13:50:08 +00:00
55fd7bd7aa Thieves guild information level is now a bonus type 2024-08-28 13:50:07 +00:00
8ef8ffa5c4 Implemented configurable blacksmith. Deprecated ballistaYard type 2024-08-28 13:49:42 +00:00
691a1a666d Moved most of town growth handling to NewTurnProcessor 2024-08-28 13:03:13 +00:00
3e605253db Merge pull request #4481 from Laserlicht/fix_hota
fix for 8th creature
2024-08-24 16:06:12 +03:00
43fc741a15 cleaner 2024-08-21 21:24:06 +02:00