a3iopistos Posted November 9, 2013 Posted November 9, 2013 Where i can edit so players won't be able to hit NPCS
0 ^Wyatt Posted November 9, 2013 Posted November 9, 2013 Ohh...yes it's interlude,someone else can help me Out??So which pack are you using? You should look for isAttackable() method inside L2Npc or L2NpcInstance and add there a "return false;" or a config to allow you to switch it as you wish.
0 a3iopistos Posted November 9, 2013 Author Posted November 9, 2013 sayins npcs i mean gatekeepers buffers and others
0 MlDNlGHT Posted November 9, 2013 Posted November 9, 2013 L2JConfig -> NPC tab -> Alt Attackable Npcs and/or Config folder -> NPC.properties -> AltAttackableNpcs = False
0 a3iopistos Posted November 9, 2013 Author Posted November 9, 2013 L2JConfig -> NPC tab -> Alt Attackable Npcs and/or Config folder -> NPC.properties -> AltAttackableNpcs = False i dont have altattackable npcs on that folder,what can i do?
0 MlDNlGHT Posted November 9, 2013 Posted November 9, 2013 (edited) What chronicle server are you running? If Interlude, can't help ya.... Too old for my taste.. Try searching all your config files for "AltAttackableNpcs" , if you don't find it then you're probably running a build before it was implimented. Edited November 9, 2013 by MlDNlGHT
0 a3iopistos Posted November 9, 2013 Author Posted November 9, 2013 What chronicle server are you running? If Interlude, can't help ya.... Too old for my taste.. Try searching all your config files for "AltAttackableNpcs" , if you don't find it then you're probably running a build before it was implimented. Ohh...yes it's interlude,someone else can help me Out??
0 SweeTs Posted November 9, 2013 Posted November 9, 2013 (edited) L2NpcInstance @Override public boolean isAttackable() { if(isInsideZone(ZoneId.TOWN)) { return false; } return true; } Or mod L2Npc to look like that (add the check). Up to you which file you will mod. Edited November 9, 2013 by SweeTs
0 a3iopistos Posted November 9, 2013 Author Posted November 9, 2013 So which pack are you using? You should look for isAttackable() method inside L2Npc or L2NpcInstance and add there a "return false;" or a config to allow you to switch it as you wish. Thanks very helpful,Love mxc's!
Question
a3iopistos
Where i can edit so players won't be able to hit NPCS
8 answers to this question
Recommended Posts