Not done quests should not be able to start.

This commit is contained in:
MobiusDevelopment
2022-02-28 10:51:08 +00:00
parent 86f68baab8
commit dd02a4ae77
91 changed files with 198 additions and 107 deletions

View File

@@ -16,6 +16,7 @@
*/
package quests.not_done;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.quest.Quest;
/**
@@ -30,7 +31,7 @@ public class Q00910_RequestFromTheRedLibraGuildBasic extends Quest
super(910);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(1, getNoQuestMsg(null));
addCondMaxLevel(20, getNoQuestMsg(null));
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 1 */, getNoQuestMsg(null));
// addCondMaxLevel(20, getNoQuestMsg(null));
}
}

View File

@@ -16,6 +16,7 @@
*/
package quests.not_done;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.quest.Quest;
/**
@@ -30,7 +31,7 @@ public class Q00911_RequestFromTheRedLibraGuildIntermediate extends Quest
super(911);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(21, getNoQuestMsg(null));
addCondMaxLevel(40, getNoQuestMsg(null));
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 21 */, getNoQuestMsg(null));
// addCondMaxLevel(40, getNoQuestMsg(null));
}
}

View File

@@ -16,6 +16,7 @@
*/
package quests.not_done;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.quest.Quest;
/**
@@ -30,7 +31,7 @@ public class Q00912_RequestFromTheRedLibraGuildAdvanced extends Quest
super(912);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(41, getNoQuestMsg(null));
addCondMaxLevel(60, getNoQuestMsg(null));
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 41 */, getNoQuestMsg(null));
// addCondMaxLevel(60, getNoQuestMsg(null));
}
}

View File

@@ -16,6 +16,7 @@
*/
package quests.not_done;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.quest.Quest;
/**
@@ -30,6 +31,6 @@ public class Q00913_RequestFromTheRedLibraGuildSuperAdvanced extends Quest
super(913);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(61, getNoQuestMsg(null));
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 61 */, getNoQuestMsg(null));
}
}