Package com.l2jfrozen.gameserver.model.actor.instance

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


              //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

                {
                  activeChar.sendPacket(new SystemMessage(SystemMessageId.SOULSHOTS_GRADE_MISMATCH));
                }
              }
             
              activeChar.rechargeAutoSoulShot(true, true, false);
             
            }
          }
         
        }
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.