mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 16:49:04 +00:00
just a quick patch so that we can start training herblore
This commit is contained in:
Generated
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8.0_222" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/CompiledServer" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -101,8 +101,16 @@ public class PlayerAssistant {
|
||||
showInterface(15244);
|
||||
sendFrame126("Welcome to " + Constants.SERVER_NAME + "\\n", 15257);
|
||||
int currentDay = player.getLastLogin() - player.lastLoginDate;
|
||||
|
||||
if (player.playerLevel[15] < 3) {
|
||||
|
||||
player.playerLevel[15] = 3;
|
||||
player.playerXP[15] = 175;
|
||||
player.getPlayerAssistant().refreshSkill(15);
|
||||
}
|
||||
if (player.lastLoginDate <= 0) {
|
||||
sendFrame126("This is your first time logging in!", 15258);
|
||||
player.getPlayerAssistant().addSkillXP(175, 15);
|
||||
} else if (player.lastLoginDate == 1) {
|
||||
sendFrame126("You last login @red@yesterday@bla@", 15258);
|
||||
} else {
|
||||
|
||||
@@ -9,7 +9,7 @@ public class Commands implements MessageCreateListener {
|
||||
public void onMessageCreate(MessageCreateEvent event) {
|
||||
Message message = event.getMessage();
|
||||
if (message.getContent().equalsIgnoreCase("::commands")) {
|
||||
event.getChannel().sendMessage("```fix`
|
||||
event.getChannel().sendMessage("```fix`"
|
||||
+ System.lineSeparator() +
|
||||
"::forum/::forums"
|
||||
+ System.lineSeparator() +
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user