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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...