Examples of canCast()


Examples of lineage2.gameserver.model.items.attachment.FlagItemAttachment.canCast()

  @Override
  protected void thinkCast(boolean checkRange)
  {
    Player actor = getActor();
    FlagItemAttachment attachment = actor.getActiveWeaponFlagAttachment();
    if ((attachment != null) && !attachment.canCast(actor, _skill))
    {
      setIntention(AI_INTENTION_ACTIVE);
      actor.sendActionFailed();
      return;
    }
View Full Code Here

Examples of lineage2.gameserver.model.items.attachment.FlagItemAttachment.canCast()

      if (!(skill.isActive() || skill.isToggle()))
      {
        return;
      }
      FlagItemAttachment attachment = activeChar.getActiveWeaponFlagAttachment();
      if ((attachment != null) && !attachment.canCast(activeChar, skill))
      {
        activeChar.sendActionFailed();
        return;
      }
      if ((activeChar.getTransformation() != 0) && !activeChar.getAllSkills().contains(skill))
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.