Examples of useSkill()


Examples of com.l2jfrozen.gameserver.handler.ISkillHandler.useSkill()

        {
          handler = SkillHandler.getInstance().getSkillHandler(skill.getSkillType());
         
          if (handler != null)
          {
            handler.useSkill(this, skill, targets);
          }
          else
          {
            skill.useSkill(this, targets);
          }
View Full Code Here

Examples of com.l2jfrozen.gameserver.handler.ISkillHandler.useSkill()

      handler = SkillHandler.getInstance().getSkillHandler(skill.getSkillType());
     
      // Launch the magic skill and calculate its effects
      if (handler != null)
      {
        handler.useSkill(this, skill, targets);
      }
      else
      {
        skill.useSkill(this, targets);
      }
View Full Code Here

Examples of com.l2jfrozen.gameserver.handler.ISkillHandler.useSkill()

    try
    {
      ISkillHandler handler = SkillHandler.getInstance().getSkillHandler(SkillType.BUFF);

      if(handler != null)
        handler.useSkill(activeChar, skill, targets);
    }
    catch(Exception e)
    {
      if(Config.ENABLE_ALL_EXCEPTIONS)
        e.printStackTrace();
View Full Code Here

Examples of com.l2jfrozen.gameserver.handler.ISkillHandler.useSkill()

                }

                L2Object tgts[] = new L2Object[] { target };
                try
                {
                  Healhandler.useSkill(activeChar, skill, tgts);
                }
                catch(IOException e)
                {
                  if(Config.ENABLE_ALL_EXCEPTIONS)
                    e.printStackTrace();
View Full Code Here

Examples of com.l2jfrozen.gameserver.handler.ISkillHandler.useSkill()

        //check for other effects
        try {
            ISkillHandler handler = SkillHandler.getInstance().getSkillHandler(SkillType.BUFF);

            if (handler != null) {
                handler.useSkill(activeChar, skill, targets);
            }
        } catch (Exception e) {
            LOGGER.error("", e);
        }
        for(L2Object object : targets)
View Full Code Here

Examples of com.l2jfrozen.gameserver.handler.ISkillHandler.useSkill()

    try
    {
      ISkillHandler handler = SkillHandler.getInstance().getSkillHandler(SkillType.BUFF);

      if(handler != null)
        handler.useSkill(actChar, skill, targets);

      handler = null;
    }
    catch(Exception e)
    {
View Full Code Here

Examples of com.l2jfrozen.gameserver.handler.ISkillHandler.useSkill()

    try
    {
      ISkillHandler handler = SkillHandler.getInstance().getSkillHandler(SkillType.BUFF);
     
      if (handler != null)
        handler.useSkill(activeChar, skill, targets);
     
      handler = null;
    }
    catch (Exception e)
    {
View Full Code Here

Examples of com.l2jfrozen.gameserver.handler.ISkillHandler.useSkill()

        targets[0] = target;

        // Launch the magic skill and calculate its effects
        if(handler != null)
        {
          handler.useSkill(caster, skill, targets);
        }
        else
        {
          skill.useSkill(caster, targets);
        }
View Full Code Here

Examples of com.l2jfrozen.gameserver.handler.ISkillHandler.useSkill()

                  _log.info("L2CubicInstance: Action.run() skill " + type);
                ((L2SkillDrain) skill).useCubicSkill(L2CubicInstance.this, targets);
              }
              else
              {
                handler.useSkill(owner, skill, targets);
                if (Config.DEBUG)
                  _log.info("L2CubicInstance: Action.run(); other handler");
              }
            }
          }
View Full Code Here

Examples of com.l2jfrozen.gameserver.handler.ISkillHandler.useSkill()

            {
              L2Character[] targets = { target };
              ISkillHandler handler = SkillHandler.getInstance().getSkillHandler(skill.getSkillType());
              if (handler != null)
              {
                handler.useSkill(_owner, skill, targets);
              }
              else
              {
                skill.useSkill(_owner, targets);
              }
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.