NickCuz Posted December 2, 2015 Posted December 2, 2015 Hello guys! I use l2acis and I have a problem. Everyone player can hit npcs. Can someone help me please? Thank.
0 NickCuz Posted December 2, 2015 Author Posted December 2, 2015 RequestActionUse.java Thank for answer. But what I should to change there?
0 Rootware Posted December 2, 2015 Posted December 2, 2015 Attack action for NPC in the peace zone. I mean.
0 NickCuz Posted December 2, 2015 Author Posted December 2, 2015 Attack action for NPC in the peace zone. I mean. I dont know my friend. Just give me the line.
0 SweeTs Posted December 2, 2015 Posted December 2, 2015 L2NpcInstance.java @Override public boolean isAttackable() { if (isInsideZone(ZoneId.TOWN)) return false; return true; }
0 colt Posted December 2, 2015 Posted December 2, 2015 L2NpcInstance.java @Override public boolean isAttackable() { if (isInsideZone(ZoneId.TOWN)) return false; return true; } return false and true?
0 SweeTs Posted December 2, 2015 Posted December 2, 2015 return false and true? Read the check and try to understand it.
0 colt Posted December 3, 2015 Posted December 3, 2015 Read the check and try to understand it. oh my bad, sorry.
Question
NickCuz
Hello guys!
I use l2acis and I have a problem. Everyone player can hit npcs.
Can someone help me please?
Thank.
9 answers to this question
Recommended Posts