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