Avoid running timer more than once.

This commit is contained in:
MobiusDev 2017-09-15 15:16:09 +00:00
parent 216941d73b
commit 87ea73dd16
3 changed files with 3 additions and 9 deletions

View File

@ -54,9 +54,7 @@ public final class YeSagiraGuards extends AbstractNpcAI
{
monster.setScriptValue(1);
npc.reduceCurrentHp(1, monster, null); // TODO: Find better way for attack
// one target only - schedule / return
startQuestTimer("GUARD_AGGRO", 5000, npc, null, false);
return;
return; // one target only
}
});
}

View File

@ -54,9 +54,7 @@ public final class YeSagiraGuards extends AbstractNpcAI
{
monster.setScriptValue(1);
npc.reduceCurrentHp(1, monster, null); // TODO: Find better way for attack
// one target only - schedule / return
startQuestTimer("GUARD_AGGRO", 5000, npc, null, false);
return;
return; // one target only
}
});
}

View File

@ -54,9 +54,7 @@ public final class YeSagiraGuards extends AbstractNpcAI
{
monster.setScriptValue(1);
npc.reduceCurrentHp(1, monster, null); // TODO: Find better way for attack
// one target only - schedule / return
startQuestTimer("GUARD_AGGRO", 5000, npc, null, false);
return;
return; // one target only
}
});
}