string Name = "黄金圣斗士+紫龙";
int Model = 12;
int Weapon = 6;
int Weapon2 = 6;
int Team = 1;
int View = 10000;
int Think = 10000;
int Attack1 = 30;
int Attack2 = 25;
int Attack3 = 25;
int Guard = 20;
int Dodge = 0;
int Jump = 1;
int Look = 1000;
int Burst = 30;
int Aim = 100;
int GetItem = 105;
int Spawn = 3;
int HP = 7000;
	

int g_selfAddr;
int g_self;
int HPlast=300;
int Stat=0;
int realHP=0;
int timer=0;

OnInit(int this)
{
	g_selfAddr = this;
}

OnStart()
{
	g_self = GetSelf(g_selfAddr);
	ChangeBehavior(g_self, "patrol", 1,3,5,7,9,11,13,15,16,17);
}
OnUpdate()
{

if(Stat==0)
{
Stat++;return 0;
}

if(Stat==1)
{Stat++;realHP=GetHP(g_self);HPlast=realHP;return 0;}

if(timer%60==0)
{
Perform(g_self,"use",5);timer=0;
}

timer++;
int HPnow=GetHP(g_self);

if(HPnow==realHP&&HPlast<realHP)
{
HPlast=realHP;
Say(g_self,"好强的小宇宙！");Perform(g_self,"use",8);Perform(g_self,"use",7);Perform(g_self,"use",9);Perform(g_self,"use",9);Perform(g_self,"use",9);
}

if(HPnow<HPlast)
{
int AtkP=HPlast-HPnow;
Say(g_self,"[HP] ",HPnow/100,".",HPnow%100,"   [攻击强度] ",AtkP/100,".",AtkP%100);HPlast=HPnow;
}

}