Jump to content
  • 0

Little help


Question

Posted

Hello all i make a code for auto flag on attack mob rb etc... and this work only on attack melee , and my question how to make a code for give flag on all attack melee skill summon etc?

      // custom pvp flag
      if (target instanceof L2MonsterInstance &&((L2MonsterInstance) target).getNpcId() == 202020) 
      {
         setPvpFlagLasts(System.currentTimeMillis() + Config.PVP_NORMAL_TIME);
         if (getPvpFlag() == 0)
        {
           startPvPFlag();
         }
         return;
      }

 

5 answers to this question

Recommended Posts

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