EdenEternal Posted July 31, 2012 Posted July 31, 2012 How to allow to friends(/friendinvite) to kill each other in town etc, any place they meet?
0 Destorion Posted July 31, 2012 Posted July 31, 2012 How to allow to friends(/friendinvite) to kill each other in town etc, any place they meet? If i understand you you mean # Zone Setting # 0 = Peace All the Time # 1 = PVP During Siege for siege participants # 2 = PVP All the Time ZoneTown = 0 you've to change the ZoneTown from 0 to 2
0 EdenEternal Posted July 31, 2012 Author Posted July 31, 2012 that allows all players to kill each other at all time, i want it only for friends.
0 vampir Posted July 31, 2012 Posted July 31, 2012 Piece of cake :) Go to L2Character and find lines with: "isInsidePeaceZone" you will find methods like onForcedAttack and isInsidePeaceZone stops u from being able to attack, so near isInsidePeaceZone(player) u will need to add && !player.getFriendList().contains(this)) thats all :)
Question
EdenEternal
How to allow to friends(/friendinvite) to kill each other in town etc, any place they meet?
4 answers to this question
Recommended Posts