Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.EtcStatusUpdate


                    {
                        effectcharge++;
                        effect.addNumCharges(1);
                        if (activeChar instanceof L2PcInstance)
                        {
                          activeChar.sendPacket(new EtcStatusUpdate((L2PcInstance)activeChar));
                          SystemMessage sm = new SystemMessage(SystemMessageId.FORCE_INCREASED_TO_S1);
                          sm.addNumber(effectcharge);
                          activeChar.sendPacket(sm);
                        }
                    }
View Full Code Here


            {
                MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, _skill.getId(), 1, 1, 0);
                activeChar.sendPacket(MSU);
                activeChar.broadcastPacket(MSU);
                _effect.addNumCharges(1);
                activeChar.sendPacket(new EtcStatusUpdate(activeChar));
                activeChar.destroyItem("Consume", item.getObjectId(), 1, null, false);
            }
            else if (_effect.getLevel() == 2)
            {
                activeChar.sendPacket(new SystemMessage(SystemMessageId.FORCE_MAXLEVEL_REACHED));
View Full Code Here

        // buff and status icons
    if (Config.STORE_SKILL_COOLTIME)
            activeChar.restoreEffects();

        activeChar.sendPacket(new EtcStatusUpdate(activeChar));

        // engage and notify Partner
        if(Config.L2JMOD_ALLOW_WEDDING)
        {
            engage(activeChar);
View Full Code Here

                        {
                          effectcharge++;
                            effect.addNumCharges(effectcharge);
                            if (env.target instanceof L2PcInstance)
                            {
                              env.target.sendPacket(new EtcStatusUpdate((L2PcInstance)env.target));
                                SystemMessage sm = new SystemMessage(SystemMessageId.FORCE_INCREASED_TO_S1);
                                sm.addNumber(effectcharge);
                                env.target.sendPacket(sm);
                            }
                        }
View Full Code Here

    if (hasEffects())
      for (int index = 0; index < targets.length; index++)
        getEffects(activeChar, (L2Character)targets[index]);
    if (activeChar instanceof L2PcInstance)
    {
      activeChar.sendPacket(new EtcStatusUpdate((L2PcInstance)activeChar));
    }
  }
View Full Code Here

  {
    super(env, template);
    numCharges = 1;
    if (env.target instanceof L2PcInstance)
    {
      env.target.sendPacket(new EtcStatusUpdate((L2PcInstance)env.target));
      SystemMessage sm = new SystemMessage(SystemMessageId.FORCE_INCREASED_TO_S1);
      sm.addNumber(numCharges);
      getEffected().sendPacket(sm);
    }
  }
View Full Code Here

      if (effect.numCharges < getNumCharges())
      {
        effect.numCharges++;
        if (caster instanceof L2PcInstance)
        {
          caster.sendPacket(new EtcStatusUpdate((L2PcInstance)caster));
          SystemMessage sm = new SystemMessage(SystemMessageId.FORCE_INCREASED_TO_S1);
          sm.addNumber(effect.numCharges);
          caster.sendPacket(sm);
        }
      }
View Full Code Here

        double modifier = 0;
        modifier = (effect.numCharges-getNumCharges())*0.33;
    if (getTargetType() != SkillTargetType.TARGET_AREA && getTargetType() != SkillTargetType.TARGET_MULTIFACE)
      effect.numCharges -= getNumCharges();
    if (caster instanceof L2PcInstance)
      caster.sendPacket(new EtcStatusUpdate((L2PcInstance)caster));
        if (effect.numCharges == 0)
          {effect.exit();}
        for (int index = 0;index < targets.length;index++)
        {
          L2ItemInstance weapon = caster.getActiveWeaponInstance();
View Full Code Here

        else
        {
          super.removeSkill(getKnownSkill(4270));
        }
       
        sendPacket(new EtcStatusUpdate(this));
        Broadcast.toKnownPlayers(this, new CharInfo(this));
      }
    }
  }
View Full Code Here

      else
      {
        super.removeSkill(getKnownSkill(4267));
      }
     
      sendPacket(new EtcStatusUpdate(this));
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.EtcStatusUpdate

Copyright © 2018 www.massapicom. 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.