dandilo Posted July 2, 2013 Share Posted July 2, 2013 Where and how can I change to win or not PvP points in siege? Link to comment Share on other sites More sharing options...
0 Tryskell Posted July 3, 2013 Share Posted July 3, 2013 Put a isInsideZone() check before the call of increasePvpKills(, or inside it. Link to comment Share on other sites More sharing options...
0 dandilo Posted July 3, 2013 Author Share Posted July 3, 2013 Thanks for the reply, but do not know where to make this change, you could post a diff? Link to comment Share on other sites More sharing options...
0 Devlin Posted July 3, 2013 Share Posted July 3, 2013 @@ -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. Link to comment Share on other sites More sharing options...
0 dandilo Posted July 3, 2013 Author Share Posted July 3, 2013 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; Link to comment Share on other sites More sharing options...
0 Stewie Posted July 4, 2013 Share Posted July 4, 2013 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 Link to comment Share on other sites More sharing options...
Question
dandilo
Where and how can I change to win or not PvP points in siege?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts