rl-api: update quest scripts to 2021-3-3
This commit is contained in:
@@ -205,7 +205,7 @@ public enum Quest
|
|||||||
|
|
||||||
public QuestState getState(Client client)
|
public QuestState getState(Client client)
|
||||||
{
|
{
|
||||||
client.runScript(ScriptID.QUESTLIST_PROGRESS, id);
|
client.runScript(ScriptID.QUEST_STATUS_GET, id);
|
||||||
switch (client.getIntStack()[0])
|
switch (client.getIntStack()[0])
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ public final class ScriptID
|
|||||||
* </ul>
|
* </ul>
|
||||||
*/
|
*/
|
||||||
@ScriptArguments(integer = 1)
|
@ScriptArguments(integer = 1)
|
||||||
public static final int QUESTLIST_PROGRESS = 2267;
|
public static final int QUEST_STATUS_GET = 4029;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the Diary/Quest interface's scrollbar
|
* Updates the Diary/Quest interface's scrollbar
|
||||||
|
|||||||
Reference in New Issue
Block a user