Small Fixup For World 2

Renamed BOT_WORLD to VARIABLE_XP_RATE
Fixed Dialogue/Message grammar
Added a check for VARIABLE_XP_RATES to ::xprate command
This commit is contained in:
Dark98
2021-12-06 07:01:25 +00:00
parent f64b0469c2
commit 2fc416c3e1
6 changed files with 36 additions and 32 deletions
@@ -6137,7 +6137,7 @@ public class DialogueHandler {
break;
case 3116:
if(!GameConstants.BOT_WORLD) {
if(GameConstants.VARIABLE_XP_RATE) {
player.getDialogueHandler().sendDialogues(10001, -1);
} else {
player.getPacketSender().showInterface(3559);
@@ -7599,7 +7599,7 @@ 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:
@@ -7607,7 +7607,7 @@ public class DialogueHandler {
player.dialogueAction = 10002;
break;
case 10003:
sendNpcChat(2244, ChatEmotes.HAPPY_JOYFUL, "Are You Sure x" + player.getXPRate() + " Is The XP Rate You'd Like?");
sendNpcChat(2244, ChatEmotes.HAPPY_JOYFUL, "Are you sure x" + player.getXPRate() + "is the XP rate you'd like?");
player.nextChat = 10004;
break;
case 10004: