From 807339cb2220f17a012c3af3cb4cc689c07d31bd Mon Sep 17 00:00:00 2001 From: Zoinkwiz Date: Sat, 28 Sep 2024 12:00:27 +0100 Subject: [PATCH] fix: Fix orb spell cast in Legends' Quest widget highlight --- .../questhelper/helpers/quests/legendsquest/LegendsQuest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/questhelper/helpers/quests/legendsquest/LegendsQuest.java b/src/main/java/com/questhelper/helpers/quests/legendsquest/LegendsQuest.java index f9bad65f59..f78141acc9 100644 --- a/src/main/java/com/questhelper/helpers/quests/legendsquest/LegendsQuest.java +++ b/src/main/java/com/questhelper/helpers/quests/legendsquest/LegendsQuest.java @@ -67,6 +67,7 @@ import java.util.*; import com.questhelper.steps.TileStep; +import com.questhelper.steps.widget.NormalSpells; import net.runelite.api.ItemID; import net.runelite.api.NpcID; import net.runelite.api.ObjectID; @@ -961,7 +962,7 @@ private void setupSteps() searchMarkedWallToSource.addDialogSteps("Investigate the outline of the door.", "Yes, I'll go through!"); useSpellOnDoor = new ObjectStep(this, ObjectID.ANCIENT_GATE_2930, new WorldPoint(2763, 9314, 0), "Cast a charge orb spell on the ancient gate.", chargeOrbRunes, unpoweredOrb, normalSpellbook); - useSpellOnDoor.addWidgetHighlight(218, 41); + useSpellOnDoor.addSpellHighlight(NormalSpells.CHARGE_WATER_ORB); useRopeOnWinch = new ObjectStep(this, ObjectID.WINCH_2934, new WorldPoint(2761, 9331, 0), "Use a rope on the winch. If you've already done so, search it instead.", ropeHighlighted); useRopeOnWinch.addIcon(ItemID.ROPE);