Removed BelethFightDuration config.
This commit is contained in:
@@ -77,9 +77,6 @@ IntervalOfBelethSpawn = 192
|
|||||||
# Random interval. Range 1-192. Retail: 148
|
# Random interval. Range 1-192. Retail: 148
|
||||||
RandomOfBelethSpawn = 148
|
RandomOfBelethSpawn = 148
|
||||||
|
|
||||||
# Interval time of Beleth fight time. Value is minute.
|
|
||||||
BelethFightDuration = 90
|
|
||||||
|
|
||||||
#Minimal count of players for enter to Beleth. Retail: 49
|
#Minimal count of players for enter to Beleth. Retail: 49
|
||||||
BelethMinPlayers = 49
|
BelethMinPlayers = 49
|
||||||
|
|
||||||
|
@@ -560,7 +560,6 @@ public final class Beleth extends AbstractNpcAI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
cancelQuestTimer("CHECK_ATTACK", null, null);
|
cancelQuestTimer("CHECK_ATTACK", null, null);
|
||||||
cancelQuestTimer("OUST_PLAYERS", null, null);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -568,17 +567,6 @@ public final class Beleth extends AbstractNpcAI
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "OUST_PLAYERS":
|
|
||||||
{
|
|
||||||
cancelQuestTimer("CHECK_ATTACK", null, null);
|
|
||||||
ZONE.oustAllPlayers();
|
|
||||||
for (L2Character cha : ZONE.getCharactersInside())
|
|
||||||
{
|
|
||||||
cha.deleteMe();
|
|
||||||
}
|
|
||||||
GrandBossManager.getInstance().setBossStatus(REAL_BELETH, ALIVE);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return super.onAdvEvent(event, npc, player);
|
return super.onAdvEvent(event, npc, player);
|
||||||
}
|
}
|
||||||
@@ -598,9 +586,7 @@ public final class Beleth extends AbstractNpcAI
|
|||||||
}
|
}
|
||||||
|
|
||||||
GrandBossManager.getInstance().setBossStatus(REAL_BELETH, FIGHT);
|
GrandBossManager.getInstance().setBossStatus(REAL_BELETH, FIGHT);
|
||||||
cancelQuestTimer("OUST_PLAYERS", null, null);
|
|
||||||
startQuestTimer("SPAWN1", Config.BELETH_WAIT_TIME * 60 * 1000, null, null);
|
startQuestTimer("SPAWN1", Config.BELETH_WAIT_TIME * 60 * 1000, null, null);
|
||||||
startQuestTimer("OUST_PLAYERS", Config.BELETH_FIGHT_DURATION * 60 * 1000, null, null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return super.onEnterZone(character, zone);
|
return super.onEnterZone(character, zone);
|
||||||
|
@@ -985,7 +985,6 @@ public final class Config
|
|||||||
|
|
||||||
// Beleth
|
// Beleth
|
||||||
public static int BELETH_WAIT_TIME;
|
public static int BELETH_WAIT_TIME;
|
||||||
public static int BELETH_FIGHT_DURATION;
|
|
||||||
public static int BELETH_MIN_PLAYERS;
|
public static int BELETH_MIN_PLAYERS;
|
||||||
public static int BELETH_MAX_PLAYERS;
|
public static int BELETH_MAX_PLAYERS;
|
||||||
public static int BELETH_SPAWN_INTERVAL;
|
public static int BELETH_SPAWN_INTERVAL;
|
||||||
@@ -2389,7 +2388,6 @@ public final class Config
|
|||||||
BELETH_SPAWN_RANDOM = GrandBossSettings.getInt("RandomOfBelethSpawn", 148);
|
BELETH_SPAWN_RANDOM = GrandBossSettings.getInt("RandomOfBelethSpawn", 148);
|
||||||
BELETH_MIN_PLAYERS = GrandBossSettings.getInt("BelethMinPlayers", 49);
|
BELETH_MIN_PLAYERS = GrandBossSettings.getInt("BelethMinPlayers", 49);
|
||||||
BELETH_MAX_PLAYERS = GrandBossSettings.getInt("BelethMaxPlayers", 350);
|
BELETH_MAX_PLAYERS = GrandBossSettings.getInt("BelethMaxPlayers", 350);
|
||||||
BELETH_FIGHT_DURATION = GrandBossSettings.getInt("BelethFightDuration", 90);
|
|
||||||
|
|
||||||
KELBIM_WAIT_TIME = GrandBossSettings.getInt("KelbimWaitTime", 5);
|
KELBIM_WAIT_TIME = GrandBossSettings.getInt("KelbimWaitTime", 5);
|
||||||
KELBIM_SPAWN_INTERVAL = GrandBossSettings.getInt("IntervalOfKelbimSpawn", 192);
|
KELBIM_SPAWN_INTERVAL = GrandBossSettings.getInt("IntervalOfKelbimSpawn", 192);
|
||||||
|
Reference in New Issue
Block a user