Examples of addAutoSoulShot()


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

        {
         
          //Fishingshots are not automatic on retail
          if(_itemId < 6535 || _itemId > 6540)
          {
            activeChar.addAutoSoulShot(_itemId);
           
            // Attempt to charge first shot on activation
            if(_itemId == 6645 || _itemId == 6646 || _itemId == 6647)
            {
              // Like L2OFF you can active automatic SS only if you have a pet
View Full Code Here

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

    {
      return;
    }
    if(_type)
    {
      activeChar.addAutoSoulShot(_itemId);
      activeChar.sendPacket(new ExAutoSoulShot(_itemId, true));
      activeChar.sendPacket(new SystemMessage(SystemMessage.THE_USE_OF_S1_WILL_NOW_BE_AUTOMATED).addString(item.getName()));
      IItemHandler handler = ItemHandler.getInstance().getItemHandler(_itemId);
      handler.useItem(activeChar, item, false);
      return;
View Full Code Here

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

    {
      return;
    }
    if (_type)
    {
      activeChar.addAutoSoulShot(_itemId);
      activeChar.sendPacket(new ExAutoSoulShot(_itemId, true));
      activeChar.sendPacket(new SystemMessage(SystemMessage.THE_USE_OF_S1_WILL_NOW_BE_AUTOMATED).addString(item.getName()));
      IItemHandler handler = item.getTemplate().getHandler();
      handler.useItem(activeChar, item, false);
      return;
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.addAutoSoulShot()

                  //Fishingshots are not automatic on retail
                  if (_itemId < 6535 || _itemId > 6540) {
                      // Attempt to charge first shot on activation
                      if (_itemId == 6645 || _itemId == 6646 || _itemId == 6647)
                      {
                          activeChar.addAutoSoulShot(_itemId);
                          ExAutoSoulShot atk = new ExAutoSoulShot(_itemId, _type);
                          activeChar.sendPacket(atk);

                          //start the auto soulshot use
                          SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.addAutoSoulShot()

                            SystemMessage sm = new SystemMessage(SystemMessageId.THIS_ITEM_IS_NOT_AVAILABLE_FOR_THE_OLYMPIAD_EVENT);
                            sm.addString(item.getItemName());
                            activeChar.sendPacket(sm);
                            sm = null;
                          }else{
                            activeChar.addAutoSoulShot(_itemId);
                            ExAutoSoulShot atk = new ExAutoSoulShot(_itemId, _type);
                            activeChar.sendPacket(atk);

                            // start the auto soulshot use
                            SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);
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.