Package net.sf.l2j.gameserver.model.actor.instance

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.broadcastPacket()


      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"SkillSound2.crystal_festival");
    }
    else if (itemId == 4416) { //crystal_celebration
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2073, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"SkillSound2.crystal_celebration");
    }
    else if (itemId == 4417) { //crystal_comedy
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2067, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
View Full Code Here


          " HP: "+hpval+" MP: "+mpval+" CP: " + cpval +
          " PvP: "+pvpflagval+" / "+pvpkillsval);

    showCharacterInfo(activeChar, null); //Back to start

    player.broadcastPacket(new CharInfo(player));
    player.sendPacket(new UserInfo(player));
    player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
    player.decayMe();
    player.spawnMe(activeChar.getX(),activeChar.getY(),activeChar.getZ());
  }
View Full Code Here

      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"SkillSound2.crystal_celebration");
    }
    else if (itemId == 4417) { //crystal_comedy
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2067, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"SkillSound2.crystal_comedy");
    }
    else if (itemId == 5010) { //crystal_victory
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2066, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
View Full Code Here

      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"SkillSound2.crystal_comedy");
    }
    else if (itemId == 5010) { //crystal_victory
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2066, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"SkillSound2.crystal_victory");
    }
    else if (itemId == 6903) { //music_box_m
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2187, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
View Full Code Here

      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"SkillSound2.crystal_victory");
    }
    else if (itemId == 6903) { //music_box_m
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2187, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"EtcSound.battle");
    }
    else if (itemId == 7061) { //crystal_birthday
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2073, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
View Full Code Here

      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"EtcSound.battle");
    }
    else if (itemId == 7061) { //crystal_birthday
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2073, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
      //playCrystalSound(activeChar,"SkillSound2.crystal_celebration");
    }
    else if (itemId == 7062) { //crystal_wedding
      MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2230, 1, 1, 0);
      activeChar.broadcastPacket(MSU);
View Full Code Here

      activeChar.broadcastPacket(MSU);
      //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);
      activeChar.broadcastPacket(MSU);
View Full Code Here

      activeChar.broadcastPacket(MSU);
      //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);
  }
View Full Code Here

         */
        if (itemId == 6403) // elven_firecracker, xml: 2023
        {
            MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2023, 1, 1, 0);
            activeChar.sendPacket(MSU);
            activeChar.broadcastPacket(MSU);
            useFw(activeChar, 2023, 1);
            playable.destroyItem("Consume", item.getObjectId(), 1, null, false);
        }
          /*
         * Firework
 
View Full Code Here

         */
        else if (itemId == 6406) // firework, xml: 2024
        {
            MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2024, 1, 1, 0);
            activeChar.sendPacket(MSU);
            activeChar.broadcastPacket(MSU);
            useFw(activeChar, 2024, 1);
            playable.destroyItem("Consume", item.getObjectId(), 1, null, false);
        }
        /*
         * Lage Firework
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.