Visibility changes.
This commit is contained in:
@@ -54,7 +54,7 @@ public class Q00144_PailakaInjuredDragon extends Quest
|
||||
private static final int MAX_SUMMON_LEVEL = 80;
|
||||
private static final int EXIT_TIME = 5;
|
||||
private static final int INSTANCE_ID = 45;
|
||||
protected static final int[] TELEPORT =
|
||||
static final int[] TELEPORT =
|
||||
{
|
||||
125757,
|
||||
-40928,
|
||||
@@ -831,31 +831,6 @@ public class Q00144_PailakaInjuredDragon extends Quest
|
||||
}
|
||||
}
|
||||
|
||||
static final class Teleport implements Runnable
|
||||
{
|
||||
private final L2Character _char;
|
||||
private final int _instanceId;
|
||||
|
||||
public Teleport(L2Character c, int id)
|
||||
{
|
||||
_char = c;
|
||||
_instanceId = id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
try
|
||||
{
|
||||
teleportPlayer((L2PcInstance) _char, TELEPORT, _instanceId);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static class PailakaDrop
|
||||
{
|
||||
private final int _itemId;
|
||||
@@ -913,7 +888,7 @@ public class Q00144_PailakaInjuredDragon extends Quest
|
||||
return;
|
||||
}
|
||||
|
||||
protected static final void teleportPlayer(L2PcInstance player, int[] coords, int instanceId)
|
||||
private static final void teleportPlayer(L2PcInstance player, int[] coords, int instanceId)
|
||||
{
|
||||
player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
player.setInstanceId(instanceId);
|
||||
|
@@ -33,7 +33,7 @@ public class Q00254_LegendaryTales extends Quest
|
||||
private static final int GILMORE = 30754;
|
||||
|
||||
// Monsters
|
||||
public enum Bosses
|
||||
private enum Bosses
|
||||
{
|
||||
EMERALD_HORN(25718),
|
||||
DUST_RIDER(25719),
|
||||
|
@@ -356,7 +356,7 @@ public class Q00350_EnhanceYourWeapon extends Quest
|
||||
* @param mob
|
||||
* @param killer The player that last killed this L2Attackable $ Rewrite 06.12.06 - Yesod $ Rewrite 08.01.10 - Gigiikun
|
||||
*/
|
||||
public static void levelSoulCrystals(L2Attackable mob, L2PcInstance killer)
|
||||
private static void levelSoulCrystals(L2Attackable mob, L2PcInstance killer)
|
||||
{
|
||||
// Only L2PcInstance can absorb a soul
|
||||
if (killer == null)
|
||||
|
@@ -242,7 +242,7 @@ public final class Q00457_LostAndFound extends Quest
|
||||
return super.onSpawn(npc);
|
||||
}
|
||||
|
||||
public void broadcastNpcSay(L2Npc npc, L2PcInstance player, NpcStringId stringId, boolean whisper)
|
||||
private void broadcastNpcSay(L2Npc npc, L2PcInstance player, NpcStringId stringId, boolean whisper)
|
||||
{
|
||||
((whisper) ? player : npc).sendPacket(new NpcSay(npc.getObjectId(), ((whisper) ? ChatType.NPC_WHISPER : ChatType.NPC_GENERAL), npc.getId(), stringId));
|
||||
}
|
||||
|
@@ -44,16 +44,16 @@ import com.l2jmobius.gameserver.util.Util;
|
||||
*/
|
||||
public final class Q00511_AwlUnderFoot extends Quest
|
||||
{
|
||||
protected class FAUWorld extends InstanceWorld
|
||||
class FAUWorld extends InstanceWorld
|
||||
{
|
||||
}
|
||||
|
||||
public static class FortDungeon
|
||||
private static class FortDungeon
|
||||
{
|
||||
private final int INSTANCEID;
|
||||
private long _reEnterTime = 0;
|
||||
|
||||
public FortDungeon(int iId)
|
||||
FortDungeon(int iId)
|
||||
{
|
||||
INSTANCEID = iId;
|
||||
}
|
||||
@@ -125,20 +125,20 @@ public final class Q00511_AwlUnderFoot extends Quest
|
||||
// REWARDS
|
||||
private static final int KNIGHT_EPALUETTE = 9912;
|
||||
// MONSTER TO KILL -- Only last 3 Raids (lvl ordered) give DL_MARK
|
||||
protected static final int[] RAIDS1 =
|
||||
static final int[] RAIDS1 =
|
||||
{
|
||||
25572,
|
||||
25575,
|
||||
25578
|
||||
};
|
||||
protected static final int[] RAIDS2 =
|
||||
static final int[] RAIDS2 =
|
||||
{
|
||||
25579,
|
||||
25582,
|
||||
25585,
|
||||
25588
|
||||
};
|
||||
protected static final int[] RAIDS3 =
|
||||
static final int[] RAIDS3 =
|
||||
{
|
||||
25589,
|
||||
25592,
|
||||
@@ -259,7 +259,7 @@ public final class Q00511_AwlUnderFoot extends Quest
|
||||
return null;
|
||||
}
|
||||
|
||||
protected String enterInstance(L2PcInstance player, String template, int[] coords, FortDungeon dungeon, String ret)
|
||||
private String enterInstance(L2PcInstance player, String template, int[] coords, FortDungeon dungeon, String ret)
|
||||
{
|
||||
// check for existing instances for this player
|
||||
InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player);
|
||||
|
@@ -34,10 +34,10 @@ public class Q00641_AttackSailren extends Quest
|
||||
// NPC
|
||||
private static final int SHILENS_STONE_STATUE = 32109;
|
||||
// Items
|
||||
public static final int GAZKH_FRAGMENT = 8782;
|
||||
public static final int GAZKH = 8784;
|
||||
private static final int GAZKH_FRAGMENT = 8782;
|
||||
private static final int GAZKH = 8784;
|
||||
|
||||
public static int[] MOBS =
|
||||
private static int[] MOBS =
|
||||
{
|
||||
22196, // Velociraptor
|
||||
22197, // Velociraptor
|
||||
|
@@ -177,7 +177,7 @@ public class Q00901_HowLavasaurusesAreMade extends Quest
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
public static void giveQuestItems(QuestState st, int itemId)
|
||||
private static void giveQuestItems(QuestState st, int itemId)
|
||||
{
|
||||
if (st.getQuestItemsCount(itemId) < 10)
|
||||
{
|
||||
@@ -190,7 +190,7 @@ public class Q00901_HowLavasaurusesAreMade extends Quest
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean gotAllQuestItems(QuestState st)
|
||||
private static boolean gotAllQuestItems(QuestState st)
|
||||
{
|
||||
return (st.getQuestItemsCount(FRAGMENT_STONE) >= 10) && (st.getQuestItemsCount(FRAGMENT_HEAD) >= 10) && (st.getQuestItemsCount(FRAGMENT_BODY) >= 10) && (st.getQuestItemsCount(FRAGMENT_HORN) >= 10);
|
||||
}
|
||||
|
@@ -43,7 +43,7 @@ public final class Q10292_SevenSignsGirlOfDoubt extends Quest
|
||||
private static final ItemHolder ELCADIAS_MARK = new ItemHolder(17226, 10);
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 81;
|
||||
boolean isBusy = false;
|
||||
private boolean isBusy = false;
|
||||
// Monster
|
||||
private static final int CREATURE_OF_THE_DUSK1 = 27422;
|
||||
private static final int CREATURE_OF_THE_DUSK2 = 27424;
|
||||
|
@@ -441,7 +441,7 @@ public final class Q10294_SevenSignsToTheMonasteryOfSilence extends Quest
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
public boolean hasCheckedAllRightBooks(QuestState qs)
|
||||
private boolean hasCheckedAllRightBooks(QuestState qs)
|
||||
{
|
||||
return ((qs.getInt("good1") == 1) && (qs.getInt("good2") == 1) && (qs.getInt("good3") == 1) && (qs.getInt("good4") == 1));
|
||||
}
|
||||
|
@@ -51,8 +51,8 @@ public final class Q10320_LetsGoToTheCentralSquare extends Quest
|
||||
// Variables names
|
||||
private static final String MOVIE_VAR = "TI_presentation_movie";
|
||||
// Movies
|
||||
public static final int SCENE_SI_ILLUSION_01_QUE = 101;
|
||||
public static final int SCENE_SI_ILLUSION_02_QUE = 102;
|
||||
private static final int SCENE_SI_ILLUSION_01_QUE = 101;
|
||||
private static final int SCENE_SI_ILLUSION_02_QUE = 102;
|
||||
|
||||
public Q10320_LetsGoToTheCentralSquare()
|
||||
{
|
||||
|
@@ -43,7 +43,7 @@ public class Q10742_AFurryFriend extends Quest
|
||||
// Location
|
||||
private static final Location RICKY_SPAWN = new Location(-78138, 237328, -3548);
|
||||
// Waypoints
|
||||
protected static Location[] WAYPOINTS =
|
||||
private static Location[] WAYPOINTS =
|
||||
{
|
||||
new Location(-78152, 237352, -3569),
|
||||
new Location(-79176, 236792, -3440),
|
||||
|
@@ -96,9 +96,8 @@ public class Q10755_LettersFromTheQueen_WindyHill extends Quest implements IBypa
|
||||
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_LEVIAN_GAVE_YOU, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
}
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case "33963-03.html":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
|
@@ -265,7 +265,7 @@ import quests.Q10764_FreeSpirit.Q10764_FreeSpirit;
|
||||
/**
|
||||
* @author NosBit
|
||||
*/
|
||||
public class QuestMasterHandler
|
||||
final class QuestMasterHandler
|
||||
{
|
||||
private static final Logger _log = Logger.getLogger(QuestMasterHandler.class.getName());
|
||||
|
||||
|
Reference in New Issue
Block a user