HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Specific IgWalls combat bonus
Introduce a combat bonus that suppresses city improvement defense bonuses of specific defenders (actually, may be applied as "calculate EFT_DEFEND_BONUS in
get_target_bonus_effects() with NULL as city parameter"). In civ2 ruleset, give it to non-Missile air units against fighters (i.e., fighters don't use SAM).
#3 Updated by Alexandro Ignatiev 11 months ago
Probably the most natural way to get the compatible behaviour is introducing a class attribute that lists classes against which that one can't have a city-related DefenseBonus effect. Thus, fighters get to a separate class. The city ignoring lists will be:
Air [bombers]: "Land"
Fighter: "Land", "Air", "Fighter"
Or, even simpler, so: give to "Land" class the special flag "OnlySameClassCityBonus" and connect "Scramble" unit combat bonus with also ignoring city defense.
#4 Updated by Alexandro Ignatiev about 1 month ago
First draft, applied over my scramble patch. Works but needs more testing for related AI behaviour.
Unit classes without "GroundDefense" flag get no defend bonus in cities against classes with "GroundAttack" flag.In civ2, Land class needs both flags, likely outside of cities no such effect is needed.