Jump to content

Question

5 answers to this question

Recommended Posts

  • 0
Posted

@@ -4260,18 +4451,30 @@
			return;

		// If in pvp zone, do nothing.
-		if (isInsideZone(ZoneId.PVP) || targetPlayer.isInsideZone(ZoneId.PVP))
+		if (isInsideZone(ZoneId.PVP) || targetPlayer.isInsideZone(ZoneId.PVP) && (!isInSiege() && !targetPlayer.isInSiege() && Config.ALLOW_PVP_POINTS_ON_SIEGE))
			return;

 

it contains and config, just make a boolean config.

  • 0
Posted

l2jfrozen rev 1004

 

well put and it did not work, what would be the right way?

 

		// If in Arena, do nothing
	if (isInsideZone(ZONE_PVP) || targetPlayer.isInsideZone(ZONE_PVP) && (isInsideZone(ZONE_SIEGE) && targetPlayer.isInsideZone(ZONE_SIEGE))
		return;

  • 0
Posted

l2jfrozen rev 1004

 

well put and it did not work, what would be the right way?

 

		// If in Arena, do nothing
	if (isInsideZone(ZONE_PVP) || targetPlayer.isInsideZone(ZONE_PVP) && (isInsideZone(ZONE_SIEGE) && targetPlayer.isInsideZone(ZONE_SIEGE))
		return;

 

+if (isInsideZone(ZoneId.PVP) || targetPlayer.isInsideZone(ZoneId.PVP) && (!isInSiege() && !targetPlayer.isInSiege() && Config.ALLOW_PVP_POINTS_ON_SIEGE))

 

From above words...

But i don't think this will help you :D

 

 

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..