1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00
Files
vcmi/lib
Ivan Savenko 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
..
2025-01-31 11:41:44 +00:00
2025-01-23 23:50:04 +01:00
2024-12-14 22:26:26 +01:00
2025-01-06 23:18:20 +01:00
2025-01-06 23:18:20 +01:00
2024-10-15 16:51:29 +03:00
2024-10-30 16:57:03 +00:00
2025-01-06 23:28:45 +01:00
2024-08-15 00:21:02 +02:00
2025-01-10 15:07:59 +00:00
2024-08-17 15:25:25 +00:00
2024-09-05 16:34:42 +02:00
2025-01-04 15:09:50 +00:00