Package com.l2jfrozen.gameserver.model

Examples of com.l2jfrozen.gameserver.model.L2Skill


    }
   
    @Override
    public void run()
    {
      L2Skill skill = null;
      switch (_bomber.getNpcId())
      {
        case 29070:
        case 29071:
        case 29072:
View Full Code Here


        switch (npc.getNpcId())
        {
          case 22124:
          case 22126:
          {
            L2Skill skill = SkillTable.getInstance().getInfo(4589,8);
            npc.doCast(skill);
            break;
          }
          default:
          {
View Full Code Here

            {
              case 22124:
              case 22126:
              case 22127:
              {
                L2Skill skill = SkillTable.getInstance().getInfo(4589,8);
                npc.doCast(skill);
                break;
              }
              default:
              {
View Full Code Here

  {
    if (npc.isInvul() || npc.isCastingNow())
    {
      return;
    }
    L2Skill skill = null;
    int i0 = 0;
    int i1 = 0;
    int i2 = 0;
    L2Character c2 = null;
    if (c_quest2 == null)
View Full Code Here

    activeChar.sendPacket(sm1);
       
        _effect = activeChar.getChargeEffect();
        if(_effect == null)
        {
            L2Skill dummy = SkillTable.getInstance().getInfo(_skill.getId(), _skill.getLevel());
            if(dummy != null)
            {
                dummy.getEffects(activeChar, activeChar);
                MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, _skill.getId(), 1, 1, 0);
                activeChar.sendPacket(MSU);
                activeChar.destroyItemWithoutTrace("Consume", item.getObjectId(), 1, null, false);
            }
      return;
View Full Code Here

        activeChar.sendPacket(new EtcStatusUpdate(activeChar));
        activeChar.destroyItem("Consume", item.getObjectId(), 1, null, false);
    }
    private L2SkillCharge getChargeSkill(L2PcInstance activeChar)
    {
        L2Skill skills[] = activeChar.getAllSkills();
        L2Skill arr$[] = skills;
        int len$ = arr$.length;
        for(int i$ = 0; i$ < len$; i$++)
        {
            L2Skill s = arr$[i$];
            if(s.getId() == 50 || s.getId() == 8)
                return (L2SkillCharge)s;
        }

        return null;
    }
View Full Code Here

          break;

        case 13:
          // High Priestess van Halter uses the skill to kill Ritual Offering.
          L2Skill skill = SkillTable.getInstance().getInfo(1168, 7);
          _ritualOffering.setIsInvul(false);
          _vanHalter.setTarget(_ritualOffering);
          //_vanHalter.setIsImmobilized(false);
          _vanHalter.doCast(skill);
          //_vanHalter.setIsImmobilized(true);
View Full Code Here

    int counts = 0;

    for(L2SkillLearn s : skills)
    {
      L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());

      if(sk == null)
      {
        continue;
      }
View Full Code Here

  {
    if(attacker.getAllianceWithVarkaKetra() != 0)
    {
      if(attacker.isAlliedWithKetra() && npc.getFactionId() == "ketra" || attacker.isAlliedWithVarka() && npc.getFactionId() == "varka")
      {
        L2Skill skill = SkillTable.getInstance().getInfo(4578, 1);
        if(skill != null)
        {
          npc.setTarget(attacker);
          npc.doCast(skill);
        }
View Full Code Here

      }
     
      // Returns true if BASE CLASS is a mage.
      boolean isMage = player.getBaseTemplate().classId.isMage();
      // Returns the skill based on next Birth and if isMage.
      L2Skill skill = getRebirthSkill((currBirth + 1), isMage);
     
      String icon = "" + skill.getId();// Returns the skill's id.
     
      // Incase the skill is only 3 digits.
      if (icon.length() < 4)
      {
        icon = "0" + icon;
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.L2Skill

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.