Jump to content
  • 0

[Question]allow friend kill in town


Question

4 answers to this question

Recommended Posts

  • 0
Posted

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
Posted

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

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..