Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2Attackable.clearAggroList()


                        L2Attackable targ = (L2Attackable)target;
                      targ.stopHating(activeChar);
                        if (targ.getMostHated() == null)
                            {
                               ((L2AttackableAI)targ.getAI()).setGlobalAggro(-25);
                            targ.clearAggroList();
                            targ.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
                            targ.setWalking();
                            }
                        }
                      skill.getEffects(activeChar, target);
View Full Code Here


            if (aggro <= 0)
            {
              if (me.getMostHated() == null)
              {
                _globalAggro = -25;
                me.clearAggroList();
                setIntention(AI_INTENTION_IDLE, null, null);
              }
            return;
            }
View Full Code Here

          aggro = me.getHating(mostHated);
          if (aggro <= 0)
            {
            _globalAggro = -25;
            me.clearAggroList();
            setIntention(AI_INTENTION_IDLE, null, null);
            }
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.