Page MenuHomeWildfire Games

Change Persian health penalties from additive to multiplicative

Authored by temple on May 25 2017, 6:44 PM.



Similar to the updates to hero auras, I think the health penalties here should be done multiplicatively rather than additively.

Immortals: 200f, 200m for -50% train time, -20 health. Anusiyas have 200 hp, 20 hp = 10%, so change this to -10% health.

Levy Cavalry: 100f for -20% train time, -10 health. Town phase cavalry have 144 or 192 hp, while city phase and veteran units have a bit more, and champion heavy lancers have 300 hp. I thought a 5% reduction seemed about right: 7.2, 9.6, and 15 hp.

Levy Infantry: 100f for -10% train time, -5 health. Town phase infantry are 60 or 120 hp, champions 120 or 200 hp. Here 5% is 3, 6, and 10 hp, which again seems about right. But in this case they should probably get the same 20% training time reduction as cavalry, too.

These values feel right to me, but let me know what you think.

Test Plan

Are the changes reasonable and balanced?

Diff Detail

rP 0 A.D. Public Repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

temple created this revision.May 25 2017, 6:44 PM
fatherbushido added a subscriber: fatherbushido.

Changes welcome and reasonnable.
While at it, I would perhaps add the spaces in the object (after {, before }). Even if most of the old ones are without those.
(eol seems ok but needed to be checked, but don't care with that)

scythetwirler accepted this revision.May 26 2017, 6:49 PM
This revision is now accepted and ready to land.May 26 2017, 6:49 PM
This revision was automatically updated to reflect the committed changes.