string Name	= "Ëï½£";
int Model =	20;
int Weapon=50;
int Weapon2=15;
int Team=2;
int View=10000;
int Think=32767;
int Attack1=15;
int Attack2=40;
int Attack3=45;
int Guard=3;
int Dodge=100;
int Jump=10;
int Look=50;
int Burst=30;
int Aim=100;
int GetItem=100;
int Spawn=86;
int HP=32000;


int g_selfAddr;
int g_self;
int HPlast=30;
int Stat=0;
int realHP=0;
int timer=0;
OnInit(int this)
{
	g_selfAddr = this;
}

OnStart()
{
	g_self = GetSelf(g_selfAddr);
	ChangeBehavior(g_self, "wait");
}

OnUpdate()
{

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

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

int HPnow=GetHP(g_self);

if(HPnow<HPlast)
{
int AtkP=HPlast-HPnow;
Say(g_self,"[HP] ",HPnow/10,".",HPnow%10,"   [¹¥»÷Ç¿¶È] ",AtkP/10,".",AtkP%10);HPlast=HPnow;
}



}