mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 00:31:54 +00:00
Create/Use PLAYER_XP_RATES For Easier Rate Changes
This commit is contained in:
@@ -7599,11 +7599,11 @@ public class DialogueHandler {
|
||||
player.dialogueAction = 10000;
|
||||
break;
|
||||
case 10001:
|
||||
sendNpcChat(2244, ChatEmotes.HAPPY_JOYFUL, "Please select the XP rate you'd like.", "this can be increased but not decreased later on.");
|
||||
sendNpcChat(2244, ChatEmotes.HAPPY_JOYFUL, "Please select the XP rate you'd like.", "this can be increased, but not decreased later on.");
|
||||
player.nextChat = 10002;
|
||||
break;
|
||||
case 10002:
|
||||
sendOption("x1", "x2", "x5", "x10");
|
||||
sendOption("x" + GameConstants.PLAYER_XP_RATES[0], "x" + GameConstants.PLAYER_XP_RATES[1], "x" + GameConstants.PLAYER_XP_RATES[2], "x" + GameConstants.PLAYER_XP_RATES[3]);
|
||||
player.dialogueAction = 10002;
|
||||
break;
|
||||
case 10003:
|
||||
@@ -7615,15 +7615,15 @@ public class DialogueHandler {
|
||||
player.dialogueAction = 10004;
|
||||
break;
|
||||
case 10005:
|
||||
sendOption("x2", "x5", "x10");
|
||||
sendOption("x" + GameConstants.PLAYER_XP_RATES[1], "x" + GameConstants.PLAYER_XP_RATES[2], "x" + GameConstants.PLAYER_XP_RATES[3]);
|
||||
player.dialogueAction = 10005;
|
||||
break;
|
||||
case 10006:
|
||||
sendOption("x5", "x10");
|
||||
sendOption("x" + GameConstants.PLAYER_XP_RATES[2], "x" + GameConstants.PLAYER_XP_RATES[3]);
|
||||
player.dialogueAction = 10006;
|
||||
break;
|
||||
case 10007:
|
||||
sendOption("x10", "Don't Change");
|
||||
sendOption("x" + GameConstants.PLAYER_XP_RATES[3], "Don't Change");
|
||||
player.dialogueAction = 10007;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user