Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2SiegeClan


    Siege siege = SiegeManager.getInstance().getSiege(activeChar.getPosition().getX(),
                              activeChar.getPosition().getY(),
                              activeChar.getPosition().getZ());
    if (siege == null || !siege.getIsInProgress()) return 0;

    L2SiegeClan siegeClan = siege.getAttackerClan(activeChar.getClan().getClanId());
    if (siegeClan == null || siegeClan.getFlag().size() == 0
      || !Util.checkIfInRange(200, activeChar, siegeClan.getFlag().get(0), true)) return 0;

    return 1.5; // If all is true, then modifer will be 50% more
  }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.model.L2SiegeClan

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.