Merge pull request #5960 from deathbeam/fix-kraken-boss

Fix cave kraken boss task name
This commit is contained in:
Tomas Slusny
2018-10-12 15:20:02 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ import net.runelite.client.util.Text;
public class SlayerPlugin extends Plugin
{
//Chat messages
private static final Pattern CHAT_GEM_PROGRESS_MESSAGE = Pattern.compile("^(?:You're assigned to kill|You have received a new Slayer assignment from .*:) (.*?)(?: in the Wilderness)?(?:; only | \\()(\\d*)(?: more to go\\.|\\))$");
private static final Pattern CHAT_GEM_PROGRESS_MESSAGE = Pattern.compile("^(?:You're assigned to kill|You have received a new Slayer assignment from .*:) (?:the )?(.*?)(?: in the Wilderness)?(?:; only | \\()(\\d*)(?: more to go\\.|\\))$");
private static final String CHAT_GEM_COMPLETE_MESSAGE = "You need something new to hunt.";
private static final Pattern CHAT_COMPLETE_MESSAGE = Pattern.compile("(?:\\d+,)*\\d+");
private static final String CHAT_CANCEL_MESSAGE = "Your task has been cancelled.";

View File

@@ -112,7 +112,7 @@ enum Task
KALPHITE_QUEEN("Kalphite Queen", ItemID.KALPHITE_PRINCESS),
KILLERWATTS("Killerwatts", ItemID.KILLERWATT),
KING_BLACK_DRAGON("King Black Dragon", ItemID.PRINCE_BLACK_DRAGON),
KRAKEN("Kraken", ItemID.PET_KRAKEN),
KRAKEN("Cave Kraken Boss", ItemID.PET_KRAKEN, "Kraken"),
KREEARRA("Kree'arra", ItemID.PET_KREEARRA),
KRIL_TSUTSAROTH("K'ril Tsutsaroth", ItemID.PET_KRIL_TSUTSAROTH),
KURASK("Kurask", ItemID.KURASK),