Skip to content
Snippets Groups Projects
Commit 2786847e authored by zarie's avatar zarie
Browse files

Update HallOfSuffering.java (max level)

parent 0a2100b9
No related branches found
No related tags found
No related merge requests found
...@@ -183,6 +183,7 @@ public final class HallOfSuffering extends AbstractNpcAI ...@@ -183,6 +183,7 @@ public final class HallOfSuffering extends AbstractNpcAI
// Misc // Misc
private static final int TEMPLATE_ID = 115; private static final int TEMPLATE_ID = 115;
private static final int MIN_LEVEL = 75; private static final int MIN_LEVEL = 75;
private static final int MAX_LEVEL = 82;
private static final boolean debug = false; private static final boolean debug = false;
public HallOfSuffering() public HallOfSuffering()
...@@ -219,7 +220,7 @@ public final class HallOfSuffering extends AbstractNpcAI ...@@ -219,7 +220,7 @@ public final class HallOfSuffering extends AbstractNpcAI
for (L2PcInstance partyMember : party.getMembers()) for (L2PcInstance partyMember : party.getMembers())
{ {
if (partyMember.getLevel() < MIN_LEVEL) if ((partyMember.getLevel() < MIN_LEVEL) || (partyMember.getLevel() > MAX_LEVEL))
{ {
final SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_S_LEVEL_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED); final SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_S_LEVEL_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED);
sm.addPcName(partyMember); sm.addPcName(partyMember);
...@@ -692,4 +693,4 @@ public final class HallOfSuffering extends AbstractNpcAI ...@@ -692,4 +693,4 @@ public final class HallOfSuffering extends AbstractNpcAI
} }
return super.onTalk(npc, talker); return super.onTalk(npc, talker);
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment