Jump to content
  • 0

[Question]allow friend kill in town


EdenEternal

Question

4 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

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 :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...