Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===================================================================
- Index: java/com/l2jserver/Config.java
- ===================================================================
- + public static boolean PVP_ACTIVAR;
- + public static int PVP_REWARD;
- + public static int PVP_CANTIDAD;
- +
- // --------------------------------------------------
- // NPC Settings
- ## mas abajo debajo de Banking_System
- +
- + PVP_ACTIVAR = Boolean.parseBoolean(L2JModSettings.getProperty("PvPActivar", "False"));
- + PVP_REWARD = Integer.parseInt(L2JModSettings.getProperty("PvPReward", "6673"));
- + PVP_CANTIDAD = Integer.parseInt(L2JModSettings.getProperty("PvPCantidad", "1"));
- ===================================================================
- Index: java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java
- ===================================================================
- // Add karma to attacker and increase its PK counter
- setPvpKills(getPvpKills() + 1);
- + //Custom PvP Reward
- + if (Config.PVP_ACTIVAR)
- + {
- + addItem("Loot", Config.PVP_REWARD, Config.PVP_CANTIDAD, this, true);
- + }
- +
- // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
- ===================================================================
- Index: dist/game/config/l2jmods.
- ===================================================================
- +# ---------------------------------------------------------------------------
- +# Custom PvP Reward By Neo
- +# ---------------------------------------------------------------------------
- +PvPActivar = True
- +PvPReward = 6673
- +PvPCantidad = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement