have played many years ago excited to play again on launch. i have seen wonderful things about the server it looks how it should be theres hard work and it shows. it lives up to the glory days of l2 elixir.
I wish the best of luck for the project i will be playing actively!
Question
ton3
I have this code and still when my char kill another char inside zone the pvp flag is gone after 30sec.
public void updatePvPStatus() { if (isInsideZone(ZoneId.PVP) || isInsideZone(ZoneId.FLAG_ZONE)) return; PvpFlagTaskManager.getInstance().add(this, Config.PVP_NORMAL_TIME); if (getPvpFlag() == 0) updatePvPFlag(1); }and
public void updatePvPStatus(L2Character target) { final L2PcInstance player = target.getActingPlayer(); if (player == null) return; if (isInDuel() && player.getDuelId() == getDuelId()) return; if ((!isInsideZone(ZoneId.PVP) || !target.isInsideZone(ZoneId.PVP)) && player.getKarma() == 0) { PvpFlagTaskManager.getInstance().add(this, checkIfPvP(player) ? Config.PVP_PVP_TIME : Config.PVP_NORMAL_TIME); if (getPvpFlag() == 0) updatePvPFlag(1); } }can someone point me what is wrong? thanks.
Edited by ton327 answers to this question
Recommended Posts