Page 1 of 1

Bug Reports! Quirks and Oddities in the LT45 Ruelset.

Posted: Thu Feb 07, 2019 4:06 am
by kevin551
-
First the bugs.

1/ AEGIS does not seem to have any boosted defence against cruise missiles, bombers or fighters . It is supposed to be 5X.
Back in LT32 AEGIS cruiser had the setting

Code: Select all

flags = "AEGIS", "BadCityDefender"
this has become

Code: Select all

bonuses       =
   { "flag", "type", "value"
     "AirAttacker", "DefenseMultiplier", 4
   }
flags         = "BadCityDefender"
2/ Destroyers do not seem to have any boosted defence against submarines.
Again this has the new bonuses flag.

3/ Fighters do not have any boosted attack against helicopters.
Again this has the new bonuses flag.

When you right click the enemy unit to see the odds, the percentage chance of killing is low, often zero or 1% for a cruise attack against an AEGIS. But I always won the attacks.

Posted: Thu Feb 07, 2019 3:55 pm
by Wahazar
These bonuses are correctly coded (fighters, missiles etc have "AirAttacker" flag, thus AEGIS have 1+4 = 5x defense multiplier.
The question is, if these bonuses work well?
I checked in version 2.6, civ2civ3 ruleset, everything is correct. Stealth fighter+cruise missle attacked AEGIS, still 70% HP.
Maybe 2.5 is buggy?

Fighters have 2x increased defense against helicopters.

Posted: Thu Feb 07, 2019 4:24 pm
by xandr
I recall my AEGIS killed with a single cruise missile, so what kevin mentioned might be true

Posted: Thu Feb 07, 2019 5:52 pm
by Wahazar
I checked civ2civ3 on freeciv 2.5 and you all are right - there is a bug - odds are calculated properly, but result is wrong.
In case of v. 2.6, it is corrected.
Longturn is migrating to 2.6, fortunately.

BTW, why there is different subroutine for odds and fight?

Posted: Fri Feb 08, 2019 5:00 am
by kevin551
-
Next a major quirk in the longturn ruleset.

4/ SAM batteries are almost useless in the current longturn ruleset.
a/ SAM batteries offer no defence against cruise or missiles. This seems to be a long-standing longturn issue.
Yet the original freeciv was designed such that SAM batteries do offer double defence against missiles. Look at the comment in the relevant section of the code.

Code: Select all

An veteran aegis cruiser in a mountain city with SAM and SDI defense  being attacked by a missile gets defense 288.
b/ SAM batteries seem to offer no defence against bombarding units. Hence bombers are no longer effected by the presence of a SAM battery.

SAM batteries should offer defence against all air attackers.