Examples of makeStatusUpdate()


Examples of l2p.gameserver.model.L2Character.makeStatusUpdate()

          if(activeChar.getTarget() == nearest_target)
          {
            if(nearest_target.isNpc())
            {
              activeChar.sendPacket(new MyTargetSelected(nearest_target.getObjectId(), activeChar.getLevel() - nearest_target.getLevel()));
              activeChar.sendPacket(nearest_target.makeStatusUpdate(StatusUpdate.CUR_HP, StatusUpdate.MAX_HP));
              activeChar.sendPacket(new ValidateLocation(nearest_target), Msg.ActionFail);
            }
            else
            {
              activeChar.sendPacket(new MyTargetSelected(nearest_target.getObjectId(), 0));
View Full Code Here

Examples of l2p.gameserver.model.instances.L2MonsterInstance.makeStatusUpdate()

            }
            npc.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, attacker, 100);
            actor.decayMe();
            actor.doDie(actor);
            attacker.setTarget(npc);
            attacker.sendPacket(npc.makeStatusUpdate(StatusUpdate.CUR_HP, StatusUpdate.MAX_HP));
            return;
          }
        }
        catch(Exception e)
        {
View Full Code Here

Examples of l2p.gameserver.model.instances.L2MonsterInstance.makeStatusUpdate()

          }
          if(killer != null && killer.isPlayable())
          {
            npc.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, killer, 100);
            killer.setTarget(npc);
            killer.sendPacket(npc.makeStatusUpdate(StatusUpdate.CUR_HP, StatusUpdate.MAX_HP));
          }
        }
      }
      catch(Exception e)
      {
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.