#library "MAKAACS"
#include "zcommon.acs"

str EnragedExosName[2] = { "\c[m6]Enraged\c- \c[z3]Legendary Exos\c- \c[m6]MKII\c-"};
int EnragedExosHealth[2] = {13000};

Script "EnragedExosUpgrade" (int tier)
{
  int UTimer;
  delay(25);
  while (UTimer < 100)
  {
    PrintBold(s:"Enraged Legendary Exos Augmentation: ", d:UTimer, s:"% complete");
	delay(35);
	//UTimer = Utimer+Random(3,5);
	UTimer = Utimer+Random(9,18);
  }
  PrintBold(s:"Enraged Legendary Exos Augmentation : 100% complete");
  SetActorProperty(0,APROP_Health,EnragedExosHealth[tier]);
  SetActorProperty(0,APROP_SpawnHealth,EnragedExosHealth[tier]);
  SetActorProperty(0,APROP_NameTag,EnragedExosName[tier]);
  SetActorState(0,"UpgradeEnd");
  delay(35);
  PrintBold(s:"");
  terminate;
}
