[Home]DamageCalculation

Robo Home | Changes | Preferences | AllPages

Kawigi and Vuen forgot to update the wiki with this info. =)
The damage a bullet inflicts is 4 * x for bullet powers below 1, and 4 * x + 2 * (x - 1) for higher-powered bullets

Calculate like so:

double bulletDamage = 4 * x + Math.max(0, 2 * (x - 1))

Robo Home | Changes | Preferences | AllPages
Edit text of this page | View other revisions
Last edited October 15, 2003 17:22 EST by PEZ (diff)
Search: