-8 -> -6 light-red
-5 -> -3 yellow
-2 -> 2 white
3 -> 5 green
6 -> 8 light-blue
9 -> xx blue
240241242243244245246247248249250
{ return; } if (!Config.ALT_ALLOW_SHADOW_WEAPONS) { show(new CustomMessage("common.Disabled", player), player); return; } if ((player.getLevel() > 19) || (player.getClassLevel() > 1)) { show("Your level is too high!", player);
274275276277278279280281282283284
{ return; } if (!Config.ALT_ALLOW_SHADOW_WEAPONS) { show(new CustomMessage("common.Disabled", player), player); return; } if ((player.getLevel() > 39) || (player.getClassLevel() > 2)) { show("Your level is too high!", player);
338339340341342343344345346347348
ThreadPoolManager.getInstance().schedule(new RestoreOfflineTraders(), 30000L); } getListeners().onStart(); if (Config.IS_TELNET_ENABLED) { statusServer = new TelnetServer(); } else { _log.info("Telnet server is currently disabled."); }
333334335336337338339340341342343
_selectorThreads[i].start(); } LoginServerCommunication.getInstance().start(); if (Config.SERVICES_OFFLINE_TRADE_RESTORE_AFTER_RESTART) { ThreadPoolManager.getInstance().schedule(new RestoreOfflineTraders(), 30000L); } getListeners().onStart(); if (Config.IS_TELNET_ENABLED) { statusServer = new TelnetServer();
49505152535455
* @param template NpcTemplate */ public Kama26BossInstance(int objectId, NpcTemplate template) { super(objectId, template); getMinionList().addMinion(new MinionData(18556, 1)); }
123124125126127128129130131132133134135136
ThreadPoolManager.getInstance().schedule(new RunnableImpl() { @Override public void runImpl() { final NpcTemplate template = NpcHolder.getInstance().getTemplate(18602); if (template != null) { final NpcInstance a = template.getNewInstance(); a.setCurrentHpMp(a.getMaxHp(), a.getMaxMp()); a.spawnMe(actor.getLoc()); } } }, 10000L);
96979899100101102103104105106
{ player.sendPacket(Msg.YOU_CANNOT_TELEPORT_TO_A_VILLAGE_THAT_IS_IN_A_SIEGE); return; } } final Location pos = Location.findPointToStay(x, y, z, 50, 100, player.getGeoIndex()); if (price > 0) { player.reduceAdena(price, true); } player.teleToLocation(pos);
137138139140141142143144
player.sendPacket(SystemMessage2.removeItems(item, count)); } final int x = Integer.parseInt(param[0]); final int y = Integer.parseInt(param[1]); final int z = Integer.parseInt(param[2]); final Location pos = Location.findPointToStay(x, y, z, 20, 70, player.getGeoIndex()); player.teleToLocation(pos); }
return; } final String var = player.getVar("DCBackCoords"); if ((var == null) || var.isEmpty()) { player.teleToLocation(new Location(43768, -48232, -800), 0); return; } player.teleToLocation(Location.parseLoc(var), 0); player.unsetVar("DCBackCoords"); }
48495051525354555657
} for (Player player : World.getAroundPlayers(actor, 200, 200)) { if (player != null) { player.teleToLocation(new Location(207559, 86429, -1000)); } } return true; }