(c += Math.round((t.HPMax() - t.HP()) / t.HPMax() * 5 * t.level)) This is the Javascript code ((HPMax - HP)/HPMax) * 5 * player level) This was the Flash code. Note the different parenthesis placement. The Javascript version gives a flat, very...