Examples of doCast()


Examples of com.l2jfrozen.gameserver.model.actor.instance.L2NpcInstance.doCast()

      if (_buff._force || (player.getFirstEffect(_buff._skill) == null))
      {
        buffer.setBusy(true);
        buffer.setCurrentMp(buffer.getMaxMp());
        buffer.setTarget(player);
        buffer.doCast(_buff._skill);
        buffer.setBusy(false);
      }
      else
      {
        _buff._skill.getEffects(player, player, false, false, false);
View Full Code Here

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

            }
           
            return false;
          }
         
          activeChar.doCast(skill);
         
          // only for Heal potions
          if (magicId == 2031 || magicId == 2032 || magicId == 2037)
          {
            activeChar.shortBuffStatusUpdate(magicId, level, 15);
View Full Code Here

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

            activeChar.sendPacket(sm);
          }
          return false;
        }
       
        activeChar.doCast(skill);
       
        if (!(!skill.isPotion()))
          return true;
      }
    }
View Full Code Here

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

      default:
    }

    if(skill != null)
    {
      activeChar.doCast(skill);
      // We have the consume on XML skills
      // playable.destroyItem("Consume", item.getObjectId(), 1, null, false);
    }
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance.doCast()

            activeChar.sendPacket(sm);
          }
          return false;
        }
       
        activeChar.doCast(skill);
       
        if (!(!skill.isPotion()))
          return true;
      }
    }
View Full Code Here

Examples of l2p.gameserver.model.L2Playable.doCast()

    L2Character attack_target = getAttackTarget();
    if(_skill.getSkillType() == SkillType.CRAFT || _skill.isToggle())
    {
      if(_skill.checkCondition(actor, attack_target, _forceUse, _dontMove, true))
      {
        actor.doCast(_skill, attack_target, _forceUse);
      }
      return;
    }
    if(attack_target == null || attack_target.isDead() != _skill.getCorpse() && !_skill.isNotTargetAoE())
    {
View Full Code Here

Examples of l2p.gameserver.model.L2Player.doCast()

      try
      {
        int var_gmspeed = Integer.parseInt(activeChar.getVar("gm_gmspeed"));
        if(var_gmspeed >= 1 && var_gmspeed <= 4)
        {
          activeChar.doCast(SkillTable.getInstance().getInfo(7029, var_gmspeed), activeChar, true);
        }
      }
      catch(Exception E)
      {
      }
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.doCast()

      {
        target.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
      }
    }
    // Only for displaying animation in client
    actor.doCast(SkillTable.getInstance().getInfo(5714, 1), attacker, true);
    actor.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
  }

  @Override
  protected boolean randomWalk()
View Full Code Here

Examples of lineage2.gameserver.model.Playable.doCast()

    Creature target = getAttackTarget();
    if ((_skill.getSkillType() == SkillType.CRAFT) || _skill.isToggle())
    {
      if (_skill.checkCondition(actor, target, _forceUse, _dontMove, true))
      {
        actor.doCast(_skill, target, _forceUse);
      }
      return;
    }
    if ((target == null) || ((target.isDead() != _skill.getCorpse()) && !_skill.isNotTargetAoE()))
    {
View Full Code Here

Examples of lineage2.gameserver.model.Player.doCast()

    {
      player.removeSkill(enchant4Skill, false);
    }
    if (unequipeSkill != null)
    {
      player.doCast(unequipeSkill, player, true);
    }
    if ((itemSkills.length > 0) || (enchant4Skill != null))
    {
      player.sendSkillList();
      player.updateStats();
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.