Package net.sf.l2j.gameserver.instancemanager

Examples of net.sf.l2j.gameserver.instancemanager.DuelManager


      if (target instanceof L2PcInstance && ((L2PcInstance)target).isInDuel()
          && (skill.getSkillType() == L2Skill.SkillType.DEBUFF ||
          skill.getSkillType() == L2Skill.SkillType.BUFF)
          && player.getDuelId() == ((L2PcInstance)target).getDuelId())
      {
        DuelManager dm = DuelManager.getInstance();
        for (L2Effect buff : skill.getEffects(activeChar, target))
          if (buff != null) dm.onBuff(((L2PcInstance)target), buff);
      }
      else
        skill.getEffects(activeChar, target);

          if (skill.getSkillType() == L2Skill.SkillType.AGGDEBUFF)
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.instancemanager.DuelManager

Copyright © 2018 www.massapicom. 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.