Repairing units

A forum to discuss custom scenarios, campaigns and modding in general.

Moderators: Slitherine Core, The Lordz

Post Reply
Kossatx
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 241
Joined: Wed Nov 27, 2013 3:27 pm

Repairing units

Post by Kossatx »

Hi again, ¿any idea about where is the function which penalizes repairing units in enermy original hexes? :?:
Robotron
Brigadier-General - Elite Grenadier
Brigadier-General - Elite Grenadier
Posts: 2173
Joined: Tue Nov 23, 2010 3:35 pm

Re: Repairing units

Post by Robotron »

The repair penalty is not for simply being on enemy hexes, but for being on enemy hexes in difficult terrain, namely dunes, deserts, swamps, mountains, rough.

function GetRepairCost(unit)

in game_repair.lua
Image
Slitherine's Commander the Great War - Director's Cut: POTZBLITZ mod!
FIND IT HERE: http://www.slitherine.com/forum/viewtopic.php?f=218&t=77884&p=662610#p662610
Kossatx
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 241
Joined: Wed Nov 27, 2013 3:27 pm

Re: Repairing units

Post by Kossatx »

Robotron wrote: Wed Sep 23, 2020 1:06 pm The repair penalty is not for simply being on enemy hexes, but for being on enemy hexes in difficult terrain, namely dunes, deserts, swamps, mountains, rough.

function GetRepairCost(unit)

in game_repair.lua
Ok, I thought it was a general penalty for being in enemy territory :mrgreen: Thanks Robotron!
Post Reply

Return to “Commander the Great War : Mods & Scenario Design”