Improve damage formula

Damage = Power * StatAvg^3 / 50000
Attack power is now a straight multiplier, and defense is calculated as
part of the stat average.