Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.serverpackets.SystemMessage.addSkillName()


                        {
                            if(activeChar instanceof L2PcInstance)
                            {
                                SystemMessage sm = new SystemMessage(SystemMessageId.S1_WAS_UNAFFECTED_BY_S2);
                                sm.addString(target.getName());
                                sm.addSkillName(skill.getDisplayId());
                                activeChar.sendPacket(sm);
                                sm = null;
                            }
                            break;
                        }
View Full Code Here


            {
              if(activeChar instanceof L2PcInstance)
              {
                SystemMessage sm = new SystemMessage(SystemMessageId.S1_WAS_UNAFFECTED_BY_S2);
                sm.addString(target.getName());
                sm.addSkillName(skill.getDisplayId());
                activeChar.sendPacket(sm);
                sm = null;
              }
              break;
            }
View Full Code Here

            {
              if(activeChar instanceof L2PcInstance)
              {
                SystemMessage sm = new SystemMessage(SystemMessageId.S1_WAS_UNAFFECTED_BY_S2);
                sm.addString(target.getName());
                sm.addSkillName(skill.getDisplayId());
                activeChar.sendPacket(sm);
                sm = null;
              }
            }
            break;
View Full Code Here

          {
            if(activeChar instanceof L2PcInstance)
            {
              SystemMessage sm = new SystemMessage(SystemMessageId.S1_WAS_UNAFFECTED_BY_S2);
              sm.addString(target.getName());
              sm.addSkillName(skill.getDisplayId());
              activeChar.sendPacket(sm);
              sm = null;
            }
          }
          break;
View Full Code Here

          if (target.reflectSkill(this))
          {
            activeChar.stopSkillEffects(getId());
            getEffects(null, activeChar, false, sps, bss);
            SystemMessage sm = new SystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT);
            sm.addSkillName(getId());
            activeChar.sendPacket(sm);
          }
          else
          {
            // activate attacked effects, if any
View Full Code Here

            }
            else
            {
              SystemMessage sm = new SystemMessage(SystemMessageId.S1_WAS_UNAFFECTED_BY_S2);
              sm.addString(target.getName());
              sm.addSkillName(getDisplayId());
              activeChar.sendPacket(sm);
            }
          }
        }
       
View Full Code Here

            {
              activeChar.stopSkillEffects(skill.getId());
             
              skill.getEffects(null, activeChar, ss, sps, bss);
              SystemMessage sm = new SystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT);
              sm.addSkillName(skill.getId());
              activeChar.sendPacket(sm);
              sm = null;
            }
            else
            {
View Full Code Here

              {
                // Like L2OFF must remove the first effect if the second effect lands
                // target.stopSkillEffects(skill.getId());
                skill.getEffects(activeChar, target, ss, sps, bss);
                SystemMessage sm = new SystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT);
                sm.addSkillName(skill.getId());
                target.sendPacket(sm);
                sm = null;
              }
              else
              {
View Full Code Here

              }
              else
              {
                SystemMessage sm = new SystemMessage(SystemMessageId.S1_WAS_UNAFFECTED_BY_S2);
                sm.addString(target.getName());
                sm.addSkillName(skill.getDisplayId());
                activeChar.sendPacket(sm);
                sm = null;
              }
            }
          }
View Full Code Here

          if (Formulas.getInstance().calcSkillSuccess(activeChar, target, skill, ss, sps, bss))
          {
            // skill.getEffects(activeChar, target, new Env(shld, false, false, false));
            skill.getEffects(activeChar, target, ss, sps, bss);
            SystemMessage sm = new SystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT);
            sm.addSkillName(skill);
            target.sendPacket(sm);
          }
          else
          {
            SystemMessage sm = new SystemMessage(SystemMessageId.ATTACK_FAILED);
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.