Jump to content

[Share] Special NPC Anti-PK


Recommended Posts

hi, the antipks have problems whit skills like shadow dances or daguer silent move or others skills like that the pk avoid anty pk :(

 

You have to modify Guard Instance and Knownlist.

???

 

To solve this you just have to add your Guard's NPC ID in "data\scripts\ai\group_template\SeeThroughSilentMove.java".

 

Find:

private static final int[] MOBIDS = {18001,18002,22199,22215,22216,22217,22327,29009,29010,29011,29012,29013};

and add your NPC ID there. For example if the Guard uses ID "98765":

private static final int[] MOBIDS = {18001,18002,22199,22215,22216,22217,22327,29009,29010,29011,29012,29013,98765};

...restart your server and you're done.

Link to comment
Share on other sites

i have a provlem with my anti-pk npc..he hit the mobs.. why?...and how i can set up antipk's accurasy ? ^o)

 

About hitting moobs, I guess there is config for this (to allow/disallow) check it out, because im not sure.

 

About 2nd question, edit his stats.

Link to comment
Share on other sites

Exactly Matim.

 

"Gameserver/config/NPC.properties"

# ---------------------------------------------------------------------------

# Guards

# ---------------------------------------------------------------------------

# True - Allows guards to attack aggressive mobs within range.

# Default: False

GuardAttackAggroMob = False {-- Here's the magic

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...