Fixed another soft lock in Dwarf Cannon quest
This commit is contained in:
@@ -151,7 +151,6 @@ public final class BarrowsActivityPlugin extends ActivityPlugin {
|
|||||||
Player player = (Player) e;
|
Player player = (Player) e;
|
||||||
PacketRepository.send(MinimapState.class, new MinimapStateContext(player, 2));
|
PacketRepository.send(MinimapState.class, new MinimapStateContext(player, 2));
|
||||||
player.getInterfaceManager().openOverlay(OVERLAY);
|
player.getInterfaceManager().openOverlay(OVERLAY);
|
||||||
setVarp(player, 0, 1);
|
|
||||||
if (getVarp(player, 452) == 0) {
|
if (getVarp(player, 452) == 0) {
|
||||||
shuffleCatacombs(player);
|
shuffleCatacombs(player);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ public class DwarfCannonPlugin extends OptionHandler {
|
|||||||
SceneryDefinition.forId(3).getHandlers().put("option:open", this);
|
SceneryDefinition.forId(3).getHandlers().put("option:open", this);
|
||||||
SceneryDefinition.forId(5).getHandlers().put("option:inspect", this);
|
SceneryDefinition.forId(5).getHandlers().put("option:inspect", this);
|
||||||
SceneryDefinition.forId(2).getHandlers().put("option:enter", this);
|
SceneryDefinition.forId(2).getHandlers().put("option:enter", this);
|
||||||
|
SceneryDefinition.forId(11).getHandlers().put("option:climb-up", this);
|
||||||
SceneryDefinition.forId(13).getHandlers().put("option:climb-over", this);
|
SceneryDefinition.forId(13).getHandlers().put("option:climb-over", this);
|
||||||
SceneryDefinition.forId(15601).getHandlers().put("option:inspect", this);
|
SceneryDefinition.forId(15601).getHandlers().put("option:inspect", this);
|
||||||
for (int i = 15; i < 21; i++) {
|
for (int i = 15; i < 21; i++) {
|
||||||
@@ -110,6 +111,13 @@ public class DwarfCannonPlugin extends OptionHandler {
|
|||||||
player.animate(Animation.create(845));
|
player.animate(Animation.create(845));
|
||||||
player.teleport(new Location(2619, 9797, 0), 2);
|
player.teleport(new Location(2619, 9797, 0), 2);
|
||||||
break;
|
break;
|
||||||
|
case 11:
|
||||||
|
if (node.getLocation().equals(new Location(2570, 3443, 1))
|
||||||
|
&& quest.getStage(player) == 20
|
||||||
|
&& !player.hasItem(DwarfCannon.DWARF_REMAINS)) {
|
||||||
|
setVarp(player, 0, 3, true);
|
||||||
|
}
|
||||||
|
return ClimbActionHandler.climbLadder(player, node.asScenery(), option);
|
||||||
case 13:
|
case 13:
|
||||||
ClimbActionHandler.climb(player, new Animation(828), new Location(2623, 3391, 0));
|
ClimbActionHandler.climb(player, new Animation(828), new Location(2623, 3391, 0));
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import content.global.handlers.iface.BookInterface
|
|||||||
import content.global.handlers.iface.BookLine
|
import content.global.handlers.iface.BookLine
|
||||||
import content.global.handlers.iface.Page
|
import content.global.handlers.iface.Page
|
||||||
import content.global.handlers.iface.PageSet
|
import content.global.handlers.iface.PageSet
|
||||||
import core.api.setAttribute
|
|
||||||
import core.game.interaction.IntType
|
import core.game.interaction.IntType
|
||||||
import core.game.interaction.InteractionListener
|
import core.game.interaction.InteractionListener
|
||||||
import core.game.node.entity.player.Player
|
import core.game.node.entity.player.Player
|
||||||
|
|||||||
Reference in New Issue
Block a user