{
return "gludio_prison_keeper_q0512_01a.htm";
}
if (player.canEnterInstance(INSTANCE_ZONE_ID))
{
InstantZone iz = InstantZoneHolder.getInstance().getInstantZone(INSTANCE_ZONE_ID);
Prison prison = null;
if (!_prisons.isEmpty())
{
prison = _prisons.get(castle.getId());
if ((prison != null) && prison.isLocked())
{
player.sendPacket(new SystemMessage(SystemMessage.C1_MAY_NOT_RE_ENTER_YET).addName(player));
return null;
}
}
prison = new Prison(castle.getId(), iz);
_prisons.put(prison.getCastleId(), prison);
Reflection r = ReflectionManager.getInstance().get(prison.getReflectionId());
r.setReturnLoc(player.getLoc());
for (Player member : player.getParty().getPartyMembers())
{
if (member != player)
{
newQuestState(member, STARTED);
}
member.setReflection(r);
member.teleToLocation(iz.getTeleportCoord());
member.setVar("backCoords", r.getReturnLoc().toXYZString(), -1);
member.setInstanceReuse(iz.getId(), System.currentTimeMillis());
}
player.getParty().setReflection(r);
r.setParty(player.getParty());
r.startCollapseTimer(iz.getTimelimit() * 60 * 1000L);
player.getParty().broadCast(new SystemMessage(SystemMessage.THIS_DUNGEON_WILL_EXPIRE_IN_S1_MINUTES).addNumber(iz.getTimelimit()));
prison.initSpawn(type1[Rnd.get(type1.length)], true);
}
return null;
}