xRelic

PvP Count TvT/Ctf/DM

Jul 6th, 2021 (edited)
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. ### Eclipse Workspace Patch 1.0
  2. #P L2jFrozen_GS
  3. Index: head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java
  4. ===================================================================
  5. --- head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (revision 1004)
  6. +++ head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (working copy)
  7. @@ -8291,7 +8291,7 @@
  8. }
  9. }
  10.  
  11. - if((TvT.is_started() && _inEventTvT) || (DM.is_started() && _inEventDM) || (CTF.is_started() && _inEventCTF) || (VIP._started && _inEventVIP))
  12. + if((VIP._started && _inEventVIP))
  13. return;
  14.  
  15. // Add karma to attacker and increase its PK counter
  16. @@ -8557,7 +8557,7 @@
  17. */
  18. public void increasePkKillsAndKarma(int targLVL)
  19. {
  20. - if((TvT.is_started() && _inEventTvT) || (DM.is_started() && _inEventDM) || (CTF.is_started() && _inEventCTF) || (VIP._started && _inEventVIP))
  21. + if((VIP._started && _inEventVIP))
  22. return;
  23.  
  24. int baseKarma = Config.KARMA_MIN_KARMA;
Add Comment
Please, Sign In to add comment