Examples of rechargeAutoSoulShot()


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

       
        if (item.getItem() instanceof L2Weapon)
        {
         
          // charge Soulshot/Spiritshot like L2OFF
          activeChar.rechargeAutoSoulShot(true, true, false);
          item.setChargedSoulshot(L2ItemInstance.CHARGED_NONE);
          item.setChargedSpiritshot(L2ItemInstance.CHARGED_NONE);
        }
        // Consume mana - will start a task if required; returns if item is not a shadow item
        item.decreaseMana(false);
View Full Code Here

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

              //start the auto soulshot use
              SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);
              sm.addString(item.getItemName());
              activeChar.sendPacket(sm);

              activeChar.rechargeAutoSoulShot(true, true, true);
              }
              else
              {
                SystemMessage sm = new SystemMessage(SystemMessageId.NO_SERVITOR_CANNOT_AUTOMATE_USE);
                  sm.addString(item.getItemName());
View Full Code Here

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

                {
                  activeChar.sendPacket(new SystemMessage(SystemMessageId.SOULSHOTS_GRADE_MISMATCH));
                }
              }
             
              activeChar.rechargeAutoSoulShot(true, true, false);
             
            }
          }
         
        }
View Full Code Here

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

                          SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);
                          sm.addString(item.getItemName());
                          activeChar.sendPacket(sm);
                          sm = null;

                          activeChar.rechargeAutoSoulShot(true, true, true);
                      }
                      else {
                        if (activeChar.getActiveWeaponItem() != activeChar.getFistsWeaponItem()
                            && item.getItem().getCrystalType() == activeChar.getActiveWeaponItem().getCrystalType())
                        {
View Full Code Here

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

                            SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);
                            sm.addString(item.getItemName());
                            activeChar.sendPacket(sm);
                            sm = null;

                            activeChar.rechargeAutoSoulShot(true, true, false);
                          }
                        }
                        else {
                          if ((_itemId >= 2509 && _itemId <= 2514) || (_itemId >= 3947 && _itemId <= 3952) || _itemId == 5790)
                            activeChar.sendPacket(new SystemMessage(SystemMessageId.SPIRITSHOTS_GRADE_MISMATCH));
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.