Removed AltOlyMaxBuffs config.
This commit is contained in:
@@ -17,10 +17,6 @@ AltOlyStartTime = 18
|
||||
# Default: 00
|
||||
AltOlyMin = 00
|
||||
|
||||
# Maximum number of buffs.
|
||||
# Default: 5
|
||||
AltOlyMaxBuffs = 5
|
||||
|
||||
# Olympiad Competition Period, Default 6 hours.
|
||||
# (If set different, should be increment by 10mins)
|
||||
# Default: 21600000
|
||||
|
@@ -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;
|
||||
@@ -2221,7 +2220,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);
|
||||
|
@@ -493,8 +493,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;
|
||||
@@ -9131,24 +9129,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;
|
||||
|
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user