自动凝血
int on_receive_message(string org, string msg)
{
if (org == MSG_SYSTEM)
{
if(msg=="使用凝血离魂."||msg=="稍候才能使用.")
{wizard_config["auto_use_blood"]=0;return 1;}
if(msg=="凝血离魂使用完毕.")
{wizard_config["auto_use_blood"]=1;return 1;}
else return 0;
}
}
void a()
{
wizard_config["auto_use_blood"]=1;
}
set_timer(120,"a","a");