Jump to content
  • 0

[Help - RQ] Flag in Arena


Question

7 answers to this question

Recommended Posts

  • 0
Posted

net.sf.l2j.gameserver.model.zone.type.L2ArenaZone

 

Find:

onEnter(L2Character character)

 

Add after it:

	if (character instanceof L2PcInstance)
	{
		((L2PcInstance)character).updatePvPFlag(1);
	}

 

I don't know if this is permanant(if they have all time in there flag), but you could test it and tell me. If it isn't, i can fix it.

  • 0
Posted

You can understand the ask in 2 ways :

 

- you hit someone in an L2Arena and you're not in the arena (so it looks like a fix).

- both players are in arena (it's a custom).

 

In first way, you have to make a check if both players are in L2Arena, if not the attacker is flagged.

 

In second, you have to delete the code which stop the flag system when you're on arenas.

 

Basically, flagsystem is handled from public void updatePvPStatus(L2Character target) and public void updatePvPStatus()

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