Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- L2Attacker adicionar acima desta linha -> // Get the AggroInfo of the attacker L2Character from the _aggroList of
- if (Config.LIST_FLAG_NPC.contains(getTemplate().getNpcId()))
- {
- if (attacker instanceof L2PcInstance)
- {
- ((L2PcInstance) attacker).startPvPFlag();
- }
- }
- Config preciso nem falar onde por né?
- public static List<Integer> LIST_FLAG_NPC = new ArrayList<>();
- public static String FLAG_NPC_SYSTEM;
- FLAG_NPC_SYSTEM = p.getProperty("ListFlagNpc", "30827");
- LIST_FLAG_NPC = new ArrayList<>();
- for (String id : FLAG_NPC_SYSTEM.split(","))
- {
- LIST_FLAG_NPC.add(Integer.parseInt(id));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement