Minor improvement at Labyrinth of Belis.
This commit is contained in:
parent
c1e8bb8876
commit
5d7c341ce8
@ -376,7 +376,9 @@ public final class LabyrinthOfBelis extends AbstractInstance
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
if (npc.getId() == OFFICER)
|
||||
switch (npc.getId())
|
||||
{
|
||||
case OFFICER:
|
||||
{
|
||||
final InstanceWorld world = InstanceManager.getInstance().getWorld(npc.getInstanceId());
|
||||
switch (world.getStatus())
|
||||
@ -412,17 +414,19 @@ public final class LabyrinthOfBelis extends AbstractInstance
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (npc.getId() == VERIFICATION_SYSTEM)
|
||||
case VERIFICATION_SYSTEM:
|
||||
{
|
||||
return "33215-01.html";
|
||||
}
|
||||
else if (npc.getId() == ELECTRICITY_GENERATOR)
|
||||
case ELECTRICITY_GENERATOR:
|
||||
{
|
||||
final InstanceWorld world = InstanceManager.getInstance().getWorld(npc.getInstanceId());
|
||||
if (world.getStatus() < 12)
|
||||
{
|
||||
return "33216-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user