(LND_AMM): Became weird in 4.2.3: ammo use depends on l_dam if l_ammo
is non-zero; actual value of non-zero l_ammo was unimportant. Side effect: it substantially increased ammunition consumption at high tech, because the change made the value increase with tech. Back out 4.2.3's change, just use l_ammo. This lets deities customize ammunition consumption independent of damage. Remove second parameter. Callers changed.
This commit is contained in:
parent
35758fe053
commit
99fc82b94d
3 changed files with 3 additions and 3 deletions
|
@ -1364,7 +1364,7 @@ lnd_set_tech(struct lndstr *lp, int tlev)
|
|||
lp->lnd_frg = (int)LND_FRG(lcp->l_frg, tech_diff);
|
||||
lp->lnd_acc = (int)LND_ACC(lcp->l_acc, tech_diff);
|
||||
lp->lnd_dam = (int)LND_DAM(lcp->l_dam, tech_diff);
|
||||
lp->lnd_ammo = (int)LND_AMM(lcp->l_ammo, lcp->l_dam, tech_diff);
|
||||
lp->lnd_ammo = (int)LND_AMM(lcp->l_ammo, tech_diff);
|
||||
lp->lnd_aaf = (int)LND_AAF(lcp->l_aaf, tech_diff);
|
||||
lp->lnd_fuelc = (int)LND_FC(lcp->l_fuelc, tech_diff);
|
||||
lp->lnd_fuelu = (int)LND_FU(lcp->l_fuelu, tech_diff);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue