Jump to content
  • 0

Question

8 answers to this question

Recommended Posts

  • 0
Posted

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
Posted

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
Posted (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 by MlDNlGHT
  • 0
Posted

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
Posted (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 by SweeTs
  • 0
Posted

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!

Guest
This topic is now closed to further replies.


×
×
  • Create New...