if (trg7 == 0)
{
c = GetAnyChar("金枪侍卫");
c2 = GetAnyChar("大刀侍卫");
c3 = GetAnyChar("野和尚﹒甲");
c4 = GetAnyChar("野和尚﹒乙");
if (c>=0 && GetHP(c)<=0 && c2>=0 && GetHP(c2)<=0 && c3>=0 && GetHP(c3)<=0 &&
c4>=0 && GetHP(c4)<=0)
{
RemoveNPC(c);
RemoveNPC(c2);
RemoveNPC(c3);
RemoveNPC(c4);
trg7 = 1;
timer1 = GetGameTime() + 5;
}
}
if (trg7 == 1)
{
if (GetGameTime() > timer1)
{
AddNPC("npc05_03");
AddNPC("npc05_04");
trg7 = 2;
}
}
}-----------------以下是新加的------------------
if (trg0 != 0)
{
if (c>=0 && now>timer4)
{
PlayerPerform("use", 4);
timer4 = now + 150;
}
}
if (trg0 != 0)
{
if (c>=0 && now>timer5)
{
PlayerPerform("use", 34);
timer5 = now + 400;
}
}