Penalize fighter combat value for any load, not just bombs
This can affect only planes with capabilities intercept and either cargo or mine. No such planes exist in the stock game.
This commit is contained in:
parent
221027aca5
commit
d3f5fee64b
1 changed files with 2 additions and 2 deletions
|
@ -492,9 +492,9 @@ ac_dog(struct plist *ap, struct plist *dp)
|
||||||
def = pln_def(&dp->plane) * dp->plane.pln_effic / 100;
|
def = pln_def(&dp->plane) * dp->plane.pln_effic / 100;
|
||||||
def = MAX(def, dp->pcp->pl_def / 2);
|
def = MAX(def, dp->pcp->pl_def / 2);
|
||||||
|
|
||||||
if ((ap->pcp->pl_flags & P_F) && ap->bombs != 0)
|
if ((ap->pcp->pl_flags & P_F) && ap->bombs + ap->misc != 0)
|
||||||
att -= 2;
|
att -= 2;
|
||||||
if ((dp->pcp->pl_flags & P_F) && dp->bombs != 0)
|
if ((dp->pcp->pl_flags & P_F) && dp->bombs + ap->misc != 0)
|
||||||
def -= 2;
|
def -= 2;
|
||||||
att += ap->pcp->pl_stealth / 25.0;
|
att += ap->pcp->pl_stealth / 25.0;
|
||||||
def += dp->pcp->pl_stealth / 25.0;
|
def += dp->pcp->pl_stealth / 25.0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue