I propose a new MG damage formula, it scales much better and can never end up doing negative damage to the boss (The negative damage somehow ends up making you kill yourself occasionally)
damage=(Pow(float(BossHealthMax[boss]), 0.68374)+512.0*(Marketed[boss]*2.0*BossLivesMax[boss]))/5.0;