Examples of ClanHall


Examples of net.sf.l2j.gameserver.model.entity.ClanHall

            if (player.isInsideZone(L2Character.ZONE_CLANHALL) && player.getClan() != null)
            {
              int clanHallIndex = player.getClan().getHasHideout();
              if (clanHallIndex > 0)
              {
                ClanHall clansHall = ClanHallManager.getInstance().getClanHallById(clanHallIndex);
                if(clansHall != null)
                  if (clansHall.getFunction(ClanHall.FUNC_RESTORE_MP) != null)
                    mpRegenMultiplier *= 1+ clansHall.getFunction(ClanHall.FUNC_RESTORE_MP).getLvl()/100;
              }
            }

      // Calculate Movement bonus
            if (player.isSitting()) mpRegenMultiplier *= 1.5;      // Sitting
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.