Changed Anakim and Lilith level requirements.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
<html><body>Gatekeeper Ziggurat:<br>
|
||||
(A command channel members level must be %minlvl% - %maxlvl% to challenge Anakim.)
|
||||
(A command channel members level must be %minlvl% to challenge Anakim.)
|
||||
</body></html>
|
||||
@@ -491,12 +491,11 @@ public class Anakim extends AbstractNpcAI
|
||||
|
||||
for (L2PcInstance member : members)
|
||||
{
|
||||
if ((member.getLevel() < Config.ANAKIM_MIN_PLAYER_LVL) || (member.getLevel() > Config.ANAKIM_MAX_PLAYER_LVL))
|
||||
if (member.getLevel() < Config.ANAKIM_MIN_PLAYER_LVL)
|
||||
{
|
||||
final NpcHtmlMessage packet = new NpcHtmlMessage(npc.getObjectId());
|
||||
packet.setHtml(getHtm(player, "31101-04.html"));
|
||||
packet.replace("%minlvl%", Integer.toString(Config.ANAKIM_MIN_PLAYER_LVL));
|
||||
packet.replace("%maxlvl%", Integer.toString(Config.ANAKIM_MAX_PLAYER_LVL));
|
||||
player.sendPacket(packet);
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<html><body>Gatekeeper Ziggurat:<br>
|
||||
(A command channel members level must be %minlvl% - %maxlvl% to challenge Lilith.)
|
||||
(A command channel members level must be %minlvl% to challenge Lilith.)
|
||||
</body></html>
|
||||
@@ -513,12 +513,11 @@ public class Lilith extends AbstractNpcAI
|
||||
|
||||
for (L2PcInstance member : members)
|
||||
{
|
||||
if ((member.getLevel() < Config.LILITH_MIN_PLAYER_LVL) || (member.getLevel() > Config.LILITH_MAX_PLAYER_LVL))
|
||||
if (member.getLevel() < Config.LILITH_MIN_PLAYER_LVL)
|
||||
{
|
||||
final NpcHtmlMessage packet = new NpcHtmlMessage(npc.getObjectId());
|
||||
packet.setHtml(getHtm(player, "31118-04.html"));
|
||||
packet.replace("%minlvl%", Integer.toString(Config.LILITH_MIN_PLAYER_LVL));
|
||||
packet.replace("%maxlvl%", Integer.toString(Config.LILITH_MAX_PLAYER_LVL));
|
||||
player.sendPacket(packet);
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user