Jump to content
  • 0

Little problem flag on mob


TreVor

Question

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;
      }
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...