Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser


      callSkill(skill, targets);
    }

    // Send a Server->Client packet MagicSkillUser with target, displayId, level, skillTime, reuseDelay
    // to the L2Character AND to all L2PcInstance in the _KnownPlayers of the L2Character
    broadcastPacket(new MagicSkillUser(this, target, displayId, level, hitTime, reuseDelay));

    // Send a system message USE_S1 to the L2Character
    if (activeChar instanceof L2PcInstance && magicId != 1312)
    {
      if (skill.isPotion())
View Full Code Here


            {
                buffid = Integer.valueOf(st.nextToken());
            }
        if (buffid != 0)
              {
                  MagicSkillUser mgc = new MagicSkillUser(this, player, buffid, bufflevel, 5, 0);
                  SkillTable.getInstance().getInfo(buffid, bufflevel).getEffects(this, player);
                  showMessageWindow(player);
                  player.broadcastPacket(mgc);
              }
          }
View Full Code Here

    if (activeChar.getFirstLog() && Config.NEW_PLAYER_EFFECT)
    {
      L2Skill skill = SkillTable.getInstance().getInfo(2025,1);
      if (skill != null)
      {
        MagicSkillUser MSU = new MagicSkillUser(activeChar, activeChar, 2025, 1, 1, 0);
        activeChar.sendPacket(MSU);
        activeChar.broadcastPacket(MSU);
        activeChar.useMagic(skill, false, false);
      }
      activeChar.setFirstLog(false);
View Full Code Here

       
        _log.warning("SevenSignsFestival: Error while spawning Festival Witch ID " + _witchSpawn._npcId + ": " + e);
      }

      // Make it appear as though the Witch has apparated there.
      MagicSkillUser msu = new MagicSkillUser(_witchInst, _witchInst, 2003, 1, 1, 0);
      _witchInst.broadcastPacket(msu);
      msu = null;

      // And another one...:D
      msu = new MagicSkillUser(_witchInst, _witchInst, 2133, 1, 1, 0);
      _witchInst.broadcastPacket(msu);
      msu = null;

      // Send a message to all participants from the witch.
      sendMessageToParticipants("The festival will begin in 2 minutes.");
View Full Code Here

    }
    int unstuckTimer = (Config.UNSTUCK_INTERVAL*1000 );
    player.setTarget(player);
    player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
    player.disableAllSkills();
    MagicSkillUser msk = new MagicSkillUser(player, 361, 1, unstuckTimer, 0);
    Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 810000);
    SetupGauge sg = new SetupGauge(0, unstuckTimer);
    player.sendPacket(sg);

    RaidbossLevel40 ef = new RaidbossLevel40(player);
View Full Code Here

    }
    int unstuckTimer = (Config.UNSTUCK_INTERVAL*1000 );
    player.setTarget(player);
    player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
    player.disableAllSkills();
    MagicSkillUser msk = new MagicSkillUser(player, 361, 1, unstuckTimer, 0);
    Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 810000);
    SetupGauge sg = new SetupGauge(0, unstuckTimer);
    player.sendPacket(sg);

    RaidbossLevel45 ef = new RaidbossLevel45(player);
View Full Code Here

    }
    int unstuckTimer = (Config.UNSTUCK_INTERVAL*1000 );
    player.setTarget(player);
    player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
    player.disableAllSkills();
    MagicSkillUser msk = new MagicSkillUser(player, 361, 1, unstuckTimer, 0);
    Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 810000);
    SetupGauge sg = new SetupGauge(0, unstuckTimer);
    player.sendPacket(sg);

    RaidbossLevel50 ef = new RaidbossLevel50(player);
View Full Code Here

    }
    int unstuckTimer = (Config.UNSTUCK_INTERVAL*1000 );
    player.setTarget(player);
    player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
    player.disableAllSkills();
    MagicSkillUser msk = new MagicSkillUser(player, 361, 1, unstuckTimer, 0);
    Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 810000);
    SetupGauge sg = new SetupGauge(0, unstuckTimer);
    player.sendPacket(sg);

    RaidbossLevel55 ef = new RaidbossLevel55(player);
View Full Code Here

    }
    int unstuckTimer = (Config.UNSTUCK_INTERVAL*1000 );
    player.setTarget(player);
    player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
    player.disableAllSkills();
    MagicSkillUser msk = new MagicSkillUser(player, 361, 1, unstuckTimer, 0);
    Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 810000);
    SetupGauge sg = new SetupGauge(0, unstuckTimer);
    player.sendPacket(sg);

    RaidbossLevel60 ef = new RaidbossLevel60(player);
View Full Code Here

    }
    int unstuckTimer = (Config.UNSTUCK_INTERVAL*1000 );
    player.setTarget(player);
    player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
    player.disableAllSkills();
    MagicSkillUser msk = new MagicSkillUser(player, 361, 1, unstuckTimer, 0);
    Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 810000);
    SetupGauge sg = new SetupGauge(0, unstuckTimer);
    player.sendPacket(sg);

    RaidbossLevel65 ef = new RaidbossLevel65(player);
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser

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.