Ploeperpengel
academic precarity
Player feedback about this subject is essential to balance the mod.
The only wierd thing about support fire is that it works on units inside cities aswell - when you attack from out of a city surely the other units you have inside the city are well fortified and if you attack it's only your one unit that vunerable but still it seems that all your units suffer damage.
I just think that units inside cities, not fighting but defending/fortified cant get hit by support fire because they will be too well covered and shielded.
The only wierd thing about support fire is that it works on units inside cities aswell - when you attack from out of a city surely the other units you have inside the city are well fortified and if you attack it's only your one unit that vunerable but still it seems that all your units suffer damage.
I just think that units inside cities, not fighting but defending/fortified cant get hit by support fire because they will be too well covered and shielded.
// Gerikes / Warhammer Mod / 8th August 2006
// Support Fire
[b]// If the plot is not a city, SF is ok. Prevents SF against a city.
if (!plot()->isCity())
{[/b]
// Check for a unit that can be a support fire unit.
CvUnit* pSupportFireUnit = pDefender->plot()->getBestSupportFireDefender(pDefender);
// If we've found one, start supporting fire.
if (pSupportFireUnit != NULL)
{
// Have that defending unit do collateral damage on this unit's attack-from plot
pSupportFireUnit->supportFireCollateralCombat(plot(), this);
}
[b]}[/b]
// Gerikes / End