25.02.2020, 06:17:17
func void B_CYCLE_FUNCTION()
{
if(hero.attribute[ATR_HITPOINTS_MAX] == 0)
{
Wld_SendTrigger("CYCLE_TRIGGER");
return;
};
var C_NPC npc;
npc = Hlp_GetNpc(ORC_8537_SHAMAN);
var int Test1;
if(Npc_IsDead(npc) && (Test1 == FALSE))
{
Wld_SendTrigger("TEST1");
Test1 = true;
};
Wld_SendTrigger("CYCLE_TRIGGER");
};
{
if(hero.attribute[ATR_HITPOINTS_MAX] == 0)
{
Wld_SendTrigger("CYCLE_TRIGGER");
return;
};
var C_NPC npc;
npc = Hlp_GetNpc(ORC_8537_SHAMAN);
var int Test1;
if(Npc_IsDead(npc) && (Test1 == FALSE))
{
Wld_SendTrigger("TEST1");
Test1 = true;
};
Wld_SendTrigger("CYCLE_TRIGGER");
};