Jump to content
  • 0

Pvp Flag Raidbosses


B0nd

Question

3 answers to this question

Recommended Posts

  • 0

go on L2RaidBossInstance.java

add the @override method 

 

 

@Override

public void doAttack(final L2Character attacker)
{
 
}

 

And inside this add your code 

 

 

for (L2PcInstance player : getKnownList().getKnownPlayers())

{

    player.setPvPFlag(1); 

}

 

or something like that... But consider that you need to add a threadpool or a check to avoid this to be happen on every hit cause is useless flame. 

Link to comment
Share on other sites

  • 0

You must override onEvtAttacked. Flagging all people is "costy" since you mustn't control who is actually flagged and it's anyway part of the flag effect (refresh), but flagging only the attacker is easy.

Link to comment
Share on other sites

  • 0

go on L2RaidBossInstance.java

add the @override method 

 

 

And inside this add your code 

 

 

or something like that... But consider that you need to add a threadpool or a check to avoid this to be happen on every hit cause is useless flame. 

i need more help :)

 

 

 

You must override onEvtAttacked. Flagging all people is "costy" since you mustn't control who is actually flagged and it's anyway part of the flag effect (refresh), but flagging only the attacker is easy.

you can help me more?? i dont understand you.... :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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