Not done quests should not be able to start.
This commit is contained in:
		| @@ -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 Q00630_PirateTreasureHunt extends Quest | ||||
| 		super(630); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(70, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 70 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q00657_MonsterArenaTrialForWarriors extends Quest | ||||
| 		super(657); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(60, getNoQuestMsg(null)); | ||||
| 		addCondMaxLevel(70, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 60 */, getNoQuestMsg(null)); | ||||
| 		// addCondMaxLevel(70, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q00658_MonsterArenaTrialForEliteWarriors extends Quest | ||||
| 		super(658); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(60, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 60 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q00664_QuarrelsTime extends Quest | ||||
| 		super(664); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(70, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 70 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q10861_MonsterArenaTheBirthOfAWarrior extends Quest | ||||
| 		super(10861); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(60, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 60 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q10862_MonsterArenaChallenge10Battles extends Quest | ||||
| 		super(10862); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(60, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 60 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q10863_MonsterArenaNewChallenge15Battles extends Quest | ||||
| 		super(10863); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(60, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 60 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q10864_MonsterArenaBraveWarrior25Battles extends Quest | ||||
| 		super(10864); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(60, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 60 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q10865_MonsterArenaLastCall40Battles extends Quest | ||||
| 		super(10865); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(60, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 60 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q10867_GoneMissing extends Quest | ||||
| 		super(10867); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(70, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 70 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q10868_TheDarkSideOfPower extends Quest | ||||
| 		super(10868); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(70, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 70 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q10870_UnfinishedDevice extends Quest | ||||
| 		super(10870); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(70, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 70 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -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 Q10871_DeathToThePirateKing extends Quest | ||||
| 		super(10871); | ||||
| 		addStartNpc(START_NPC); | ||||
| 		addTalkId(START_NPC); | ||||
| 		addCondMinLevel(70, getNoQuestMsg(null)); | ||||
| 		addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL /* 70 */, getNoQuestMsg(null)); | ||||
| 	} | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment