Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.broadcastPacket()


      //playCrystalSound(activeChar,"SkillSound2.crystal_celebration");
    }
    else if(itemId == 7062)
    { //crystal_wedding
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2230, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"SkillSound5.wedding");
    }
    else if(itemId == 8555)
    { //VVKorea
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2272, 1, 1, 0);
View Full Code Here


      //playCrystalSound(activeChar,"SkillSound5.wedding");
    }
    else if(itemId == 8555)
    { //VVKorea
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2272, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"EtcSound.VVKorea");
    }
    activeChar.destroyItem("Consume", item.getObjectId(), 1, null, false);

    activeChar = null;
View Full Code Here

    //item.getItem().getEffects(item, activeChar);

    // Use a summon skill effect for fun ;)
    MagicSkillUser MSU = new MagicSkillUser(playable, playable, 2103, 1, 0, 0);
    activeChar.sendPacket(MSU);
    activeChar.broadcastPacket(MSU);

    MSU = null;

    activeChar.startAbnormalEffect(BIGHEAD_EFFECT);
    activeChar.destroyItem("Consume", item.getObjectId(), 1, null, false);
View Full Code Here

      {
        activeChar.sendMessage("You Are Already A Noblesse!.");
      }
      else
      {
        activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 16));
        activeChar.setNoble(true);
        activeChar.sendMessage("You Are Now a Noble,You Are Granted With Noblesse Status , And Noblesse Skills.");
        activeChar.broadcastUserInfo();
        playable.destroyItem("Consume", item.getObjectId(), 1, null, false);
        activeChar.getInventory().addItem("Tiara", 7694, 1, activeChar, null);
View Full Code Here

              }
              Hero.getInstance().deleteHero(target, false);
            }
            else
            {
              target.broadcastPacket(new SocialAction(target.getObjectId(), 16));
              for (L2Skill skill : HeroSkillTable.getHeroSkills())
              {
                target.addSkill(skill);
              }
              Hero.getInstance().putHero(target, false);
View Full Code Here

      {
        activeChar.sendMessage("You Are Already A Hero!.");
      }
      else
      {
        activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 16));
        activeChar.setHero(true);
        updateDatabase(activeChar, Config.HERO_CUSTOM_DAY * 24L * 60L * 60L * 1000L);
        activeChar.sendMessage("You Are Now a Hero,You Are Granted With Hero Status , Skills ,Aura.");
        activeChar.broadcastUserInfo();
        playable.destroyItem("Consume", item.getObjectId(), 1, null, false);
View Full Code Here

            activeChar.sendPacket(new SystemMessage(SystemMessageId.FORCE_MAXLEVEL_REACHED));
        }
       
        MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, _skill.getId(), 1, 1, 0);
        activeChar.sendPacket(MSU);
        activeChar.broadcastPacket(MSU);
        activeChar.sendPacket(new EtcStatusUpdate(activeChar));
        activeChar.destroyItem("Consume", item.getObjectId(), 1, null, false);
    }
    private L2SkillCharge getChargeSkill(L2PcInstance activeChar)
    {
View Full Code Here

      for (L2PcInstance temp : looser.getParty().getPartyMembers())
        temp.broadcastPacket(new SocialAction(temp.getObjectId(), 7));
    }
    else
    {
      looser.broadcastPacket(new SocialAction(looser.getObjectId(), 7));
    }

    looser = null;
  }
View Full Code Here

      {
        DoorTable.getInstance().getDoor(23150003).openMe();
        DoorTable.getInstance().getDoor(23150004).openMe();
        DoorTable.getInstance().getDoor(23150003).onOpen();
        DoorTable.getInstance().getDoor(23150004).onOpen();
        activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 3));
        LAST_OPEN = System.currentTimeMillis();
      }
    }
    activeChar = null;
  }
View Full Code Here

    L2Object oldtarget = activeChar.getTarget();
    activeChar.setTarget(activeChar);

    L2Skill skill = SkillTable.getInstance().getInfo(escapeSkill, 1);
    MagicSkillUser msu = new MagicSkillUser(activeChar, escapeSkill, 1, skill.getHitTime(), 0);
    activeChar.broadcastPacket(msu);
    activeChar.setTarget(oldtarget);
    SetupGauge sg = new SetupGauge(0, skill.getHitTime());
    activeChar.sendPacket(sg);
    oldtarget = null;
    sg = 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.