Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- #P L2J_Mobius_6.0_Fafurion
- Index: dist/game/data/scripts/instances/MysticTavern/MysticTavern.java
- ===================================================================
- --- dist/game/data/scripts/instances/MysticTavern/MysticTavern.java (revision 7027)
- +++ dist/game/data/scripts/instances/MysticTavern/MysticTavern.java (working copy)
- @@ -70,6 +70,7 @@
- // Misc
- private static final int MINIMUM_PLAYER_LEVEL = 99;
- private static final int MINIMUM_PARTY_MEMBERS = 5;
- + private static int rndInst = 0;
- private static Npc _lollia;
- private static Npc _hanna;
- private static Npc _brodien;
- @@ -158,7 +159,7 @@
- {
- return "34200-not-available.html";
- }
- - npc.setScriptValue(getRandom(availableInstances.size()));
- + rndInst = getRandomEntry(availableInstances);
- startQuestTimer("npcRoute", 3000, npc, player);
- }
- break;
- @@ -326,7 +327,7 @@
- }
- case "enter_instance":
- {
- - switch (npc.getScriptValue())
- + switch (rndInst)
- {
- case INSTANCE_FREYA:
- {
- @@ -344,7 +345,6 @@
- // break;
- // }
- }
- - npc.setScriptValue(0);
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement