1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
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
1c1af5c04a Basic creature joining default behavior configuration 2025-01-23 22:04:35 +01:00
dea1eba20b Rework and optimize turnInfo used by pathfinder 2025-01-04 15:09:50 +00:00
b8a04c6356 Avoid vector allocation when accessing game settings value 2024-12-21 14:43:09 +00:00
f74cd32147 Moved weekly income bonus for AI to game settings 2024-11-26 18:43:25 +00:00
a826b88641 Merge branch 'develop' into spell 2024-10-07 12:55:23 +02:00
be31041a48 "general" -> "interface" 2024-10-01 16:09:22 +02:00
844b078482 color shift parameter to config 2024-09-30 19:46:53 +02:00
713fcd6543 research per day & seperate config 2024-09-30 02:40:28 +02:00
f94f0a3274 new dialog 2024-09-28 15:51:53 +02:00
d929bfb9d1 rename; introduce factor 2024-09-28 15:05:13 +02:00
2052a26031 code review 2024-09-28 14:25:11 +02:00
efcac3b933 settings 2024-09-27 20:16:41 +02:00
bf9a9283a4 Make any hex shooting possibility configurable 2024-09-22 16:58:15 +02:00
ca13fe04df Use alphabetic ordering for game settings 2024-09-12 12:11:18 +00:00
39a2c29c97 Removed creatureBank flag from battle, battles now receive BattleLayout
struct that defines how units are placed in combat
2024-09-12 12:11:18 +00:00
8225eb454e Added GameSettings to gamestate, potentially allowing to define game
settings per map (or in random map template)
2024-09-05 15:16:27 +00:00