All pastes #157636 Raw Edit

Unnamed

public java v1 · immutable
·published 2006-09-01 17:56 UTC
rendered paste body
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java===================================================================--- C:/Documents and Settings/AresXP/workspace/L2J-free_GameServer_c5/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(revision 724)+++ C:/Documents and Settings/AresXP/workspace/L2J-free_GameServer_c5/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(working copy)@@ -42,6 +42,7 @@ import javolution.util.FastSet; import net.sf.l2j.Config; import net.sf.l2j.L2DatabaseFactory;+import net.sf.l2j.gameserver.Announcements; import net.sf.l2j.gameserver.CharTemplateTable; import net.sf.l2j.gameserver.ClanTable; import net.sf.l2j.gameserver.Connection;@@ -1582,7 +1583,7 @@      */     public int getMaxLoad()     {-        return (int) calcStat(Stats.MAX_LOAD, _baseLoad, this, null);+        return (int) calcStat(Stats.MAX_LOAD, _baseLoad, this, null)+Config.ADD_MAX_LOAD;     }      public int getexpertisePenalty()@@ -3662,6 +3663,12 @@          // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter         sendPacket(new UserInfo(this));+        +        //Send a quick announce for PVP... ~AresXP (thanks to w00ter, Zen & Nemesiss)+        String killer = getName();+        String target = getTarget().getName();+        String text = "[PVP] "+killer+" killed "+target+"!";+        Announcements.getInstance().announceToAll(text);      }      /**@@ -3708,6 +3715,12 @@          // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter         sendPacket(new UserInfo(this));+        +        //Send a quick announce for PK... ~AresXP (thanks to w00ter, Zen & Nemesiss)+        String killer = getName();+        String target = getTarget().getName();+        String text = "[PK] "+killer+" killed "+target+"!";+        Announcements.getInstance().announceToAll(text);      }      public int calculateKarmaLost(int exp)