ChamberOfProphecies timers should always check for npc value.

This commit is contained in:
MobiusDev
2018-07-07 18:59:19 +00:00
parent fd58e1bfa7
commit 4cae5898ba
4 changed files with 8 additions and 8 deletions

View File

@@ -352,7 +352,7 @@ public final class ChamberOfProphecies extends AbstractInstance
world.openCloseDoor(DOOR_4, true);
cancelQuestTimers("ATTACK2");
npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE, player);
startQuestTimer("CLOSE", 15000, null, player);
startQuestTimer("CLOSE", 15000, world.getNpc(GRAIL), player);
break;
}
case "CLOSE":
@@ -365,7 +365,7 @@ public final class ChamberOfProphecies extends AbstractInstance
}
else
{
startQuestTimer("CLOSE", 3000, null, player);
startQuestTimer("CLOSE", 3000, npc, player);
}
break;
}

View File

@@ -352,7 +352,7 @@ public final class ChamberOfProphecies extends AbstractInstance
world.openCloseDoor(DOOR_4, true);
cancelQuestTimers("ATTACK2");
npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE, player);
startQuestTimer("CLOSE", 15000, null, player);
startQuestTimer("CLOSE", 15000, world.getNpc(GRAIL), player);
break;
}
case "CLOSE":
@@ -365,7 +365,7 @@ public final class ChamberOfProphecies extends AbstractInstance
}
else
{
startQuestTimer("CLOSE", 3000, null, player);
startQuestTimer("CLOSE", 3000, npc, player);
}
break;
}

View File

@@ -352,7 +352,7 @@ public final class ChamberOfProphecies extends AbstractInstance
world.openCloseDoor(DOOR_4, true);
cancelQuestTimers("ATTACK2");
npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE, player);
startQuestTimer("CLOSE", 15000, null, player);
startQuestTimer("CLOSE", 15000, world.getNpc(GRAIL), player);
break;
}
case "CLOSE":
@@ -365,7 +365,7 @@ public final class ChamberOfProphecies extends AbstractInstance
}
else
{
startQuestTimer("CLOSE", 3000, null, player);
startQuestTimer("CLOSE", 3000, npc, player);
}
break;
}

View File

@@ -352,7 +352,7 @@ public final class ChamberOfProphecies extends AbstractInstance
world.openCloseDoor(DOOR_4, true);
cancelQuestTimers("ATTACK2");
npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE, player);
startQuestTimer("CLOSE", 15000, null, player);
startQuestTimer("CLOSE", 15000, world.getNpc(GRAIL), player);
break;
}
case "CLOSE":
@@ -365,7 +365,7 @@ public final class ChamberOfProphecies extends AbstractInstance
}
else
{
startQuestTimer("CLOSE", 3000, null, player);
startQuestTimer("CLOSE", 3000, npc, player);
}
break;
}