Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java;
- ===================================================================
- ---java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 0)
- +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy)
- setPvpKills(getPvpKills() + 1);
- + if (Config.ANNOUNCE_PVP_KILL)
- + Broadcast.toAllOnlinePlayers(SystemMessage.sendString("Player " +getName()+ " Derrotou Player " + target.getName()));
- setPkKills(getPkKills() + 1);
- + if (Config.ANNOUNCE_PK_KILL)
- + Broadcast.toAllOnlinePlayers(SystemMessage.sendString("Player " +getName()+ " Assassinou Player " + target.getName()));
- Index: java/net/sf/l2j/Config.java
- ===================================================================
- ---java/net/sf/l2j/Config.java (revision 0)
- +++ java/net/sf/l2j/Config.java (working copy)
- public static int BUFFS_MAX_AMOUNT;
- + public static boolean ANNOUNCE_PVP_KILL;
- + public static boolean ANNOUNCE_PK_KILL;
- STORE_SKILL_COOLTIME = players.getProperty("StoreSkillCooltime", true);
- + ANNOUNCE_PVP_KILL = players.getProperty("AnnouncePvPKill", false);
- + ANNOUNCE_PK_KILL = players.getProperty("AnnouncePkKill", false);
- Index: config/players.properties
- ===================================================================
- --- config/players.properties (revision 1)
- +++ config/players.properties (working copy)
- StoreSkillCooltime = True
- +
- +#=============================================================
- +# Announce PvP and Pk
- +#=============================================================
- +# Announce PvP Kill
- +AnnouncePvPKill = True
- +# Announce Pk Kills
- +AnnouncePkKill = True
Add Comment
Please, Sign In to add comment