string Name	= "黄金圣斗士.甲";
int Model =	10;
int Weapon = 57;
int Weapon2 = 0;
int Team = 2;
int View = 400;
int Think = 100;
int	Attack1	= 50;
int Attack2 = 30;
int Attack3 = 20;
int	Guard =	20;
int	Dodge =	10;
int Jump = 5;
int Look = 10;
int Burst = 2;
int Aim = 60;
int GetItem = 3;
int Spawn = 3;
int HP = 6000;	

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;
}

}