Jump to content
  • 0

Need Help Adding Support Classes To Take Reward Inside A Party In The Pvp Zone


Question

Posted

Need Help adding support classes to take reward inside a party in the pvp zone. Does anyone have any clue on that ? 

 

for example if a dagger kills other char and a tank its in the same party with him tank will take reward as well from assisting him!

1 answer to this question

Recommended Posts

  • 0
Posted
L2Party party = getParty();
			if (this.isInsideZone(ZoneId.MULTIFUNCTION_ZONE))
			{
				if ((getPvpFlag() > 0) && (party != null))
				{
					for (L2PcInstance PartyMember : party.getMembers())
					{
						if (PartyMember.isInsideRadius(this, 1600, true, false) && (PartyMember != this) && Config.classes_ids_in_party_for_pvp.contains(PartyMember.getClassId().getId()))
						{
							L2MultiFunctionZone.givereward(PartyMember);
						}
					}
				}
			}

this add in increasepvp in l2pcinstance and also create config

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock