Spawn Deton before getting it from world.

This commit is contained in:
MobiusDevelopment
2021-01-19 17:29:55 +00:00
parent d45e5a569d
commit 1cd006fa3d
8 changed files with 8 additions and 8 deletions

View File

@@ -585,8 +585,8 @@ public class StoryOfTauti extends AbstractInstance
}
if (world.isStatus(10) && (archangel.getCurrentHpPercent() < 30))
{
final Npc deton = world.getNpc(DETON);
world.spawnGroup("last_deton");
final Npc deton = world.getNpc(DETON);
deton.setRunning();
deton.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, DETON_MOVE_3);
startQuestTimer("msg_12", 6000, deton, null);

View File

@@ -585,8 +585,8 @@ public class StoryOfTauti extends AbstractInstance
}
if (world.isStatus(10) && (archangel.getCurrentHpPercent() < 30))
{
final Npc deton = world.getNpc(DETON);
world.spawnGroup("last_deton");
final Npc deton = world.getNpc(DETON);
deton.setRunning();
deton.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, DETON_MOVE_3);
startQuestTimer("msg_12", 6000, deton, null);

View File

@@ -585,8 +585,8 @@ public class StoryOfTauti extends AbstractInstance
}
if (world.isStatus(10) && (archangel.getCurrentHpPercent() < 30))
{
final Npc deton = world.getNpc(DETON);
world.spawnGroup("last_deton");
final Npc deton = world.getNpc(DETON);
deton.setRunning();
deton.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, DETON_MOVE_3);
startQuestTimer("msg_12", 6000, deton, null);

View File

@@ -585,8 +585,8 @@ public class StoryOfTauti extends AbstractInstance
}
if (world.isStatus(10) && (archangel.getCurrentHpPercent() < 30))
{
final Npc deton = world.getNpc(DETON);
world.spawnGroup("last_deton");
final Npc deton = world.getNpc(DETON);
deton.setRunning();
deton.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, DETON_MOVE_3);
startQuestTimer("msg_12", 6000, deton, null);

View File

@@ -585,8 +585,8 @@ public class StoryOfTauti extends AbstractInstance
}
if (world.isStatus(10) && (archangel.getCurrentHpPercent() < 30))
{
final Npc deton = world.getNpc(DETON);
world.spawnGroup("last_deton");
final Npc deton = world.getNpc(DETON);
deton.setRunning();
deton.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, DETON_MOVE_3);
startQuestTimer("msg_12", 6000, deton, null);

View File

@@ -585,8 +585,8 @@ public class StoryOfTauti extends AbstractInstance
}
if (world.isStatus(10) && (archangel.getCurrentHpPercent() < 30))
{
final Npc deton = world.getNpc(DETON);
world.spawnGroup("last_deton");
final Npc deton = world.getNpc(DETON);
deton.setRunning();
deton.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, DETON_MOVE_3);
startQuestTimer("msg_12", 6000, deton, null);

View File

@@ -585,8 +585,8 @@ public class StoryOfTauti extends AbstractInstance
}
if (world.isStatus(10) && (archangel.getCurrentHpPercent() < 30))
{
final Npc deton = world.getNpc(DETON);
world.spawnGroup("last_deton");
final Npc deton = world.getNpc(DETON);
deton.setRunning();
deton.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, DETON_MOVE_3);
startQuestTimer("msg_12", 6000, deton, null);

View File

@@ -585,8 +585,8 @@ public class StoryOfTauti extends AbstractInstance
}
if (world.isStatus(10) && (archangel.getCurrentHpPercent() < 30))
{
final Npc deton = world.getNpc(DETON);
world.spawnGroup("last_deton");
final Npc deton = world.getNpc(DETON);
deton.setRunning();
deton.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, DETON_MOVE_3);
startQuestTimer("msg_12", 6000, deton, null);