Removed AltOlyMaxBuffs config.

This commit is contained in:
MobiusDev
2017-12-01 05:30:57 +00:00
parent 1bf4ffab7e
commit c4d0af1a7b
21 changed files with 0 additions and 147 deletions

View File

@@ -503,7 +503,6 @@ public final class Config
public static Duration WORLD_CHAT_INTERVAL;
public static int ALT_OLY_START_TIME;
public static int ALT_OLY_MIN;
public static int ALT_OLY_MAX_BUFFS;
public static long ALT_OLY_CPERIOD;
public static long ALT_OLY_BATTLE;
public static long ALT_OLY_WPERIOD;
@@ -2214,7 +2213,6 @@ public final class Config
ALT_OLY_START_TIME = Olympiad.getInt("AltOlyStartTime", 18);
ALT_OLY_MIN = Olympiad.getInt("AltOlyMin", 0);
ALT_OLY_MAX_BUFFS = Olympiad.getInt("AltOlyMaxBuffs", 5);
ALT_OLY_CPERIOD = Olympiad.getLong("AltOlyCPeriod", 21600000);
ALT_OLY_BATTLE = Olympiad.getLong("AltOlyBattle", 300000);
ALT_OLY_WPERIOD = Olympiad.getLong("AltOlyWPeriod", 604800000);

View File

@@ -485,8 +485,6 @@ public final class L2PcInstance extends L2Playable
private boolean _OlympiadStart = false;
private int _olympiadGameId = -1;
private int _olympiadSide = -1;
/** Olympiad buff count. */
private int _olyBuffsCount = 0;
/** Duel */
private boolean _isInDuel = false;
@@ -9123,24 +9121,6 @@ public final class L2PcInstance extends L2Playable
return _olympiadGameId;
}
/**
* Gets the player's olympiad buff count.
* @return the olympiad's buff count
*/
public int getOlympiadBuffCount()
{
return _olyBuffsCount;
}
/**
* Sets the player's olympiad buff count.
* @param buffs the olympiad's buff count
*/
public void setOlympiadBuffCount(int buffs)
{
_olyBuffsCount = buffs;
}
public Location getLastLocation()
{
return _lastLoc;

View File

@@ -181,7 +181,6 @@ public abstract class AbstractOlympiadGame
player.setIsInOlympiadMode(true);
player.setIsOlympiadStart(false);
player.setOlympiadSide(par.getSide());
player.setOlympiadBuffCount(Config.ALT_OLY_MAX_BUFFS);
player.teleToLocation(loc, instance);
player.sendPacket(new ExOlympiadMode(2));
}