From bf613fc221c16cca06f3e39ce6d485b4250ebea7 Mon Sep 17 00:00:00 2001
From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com>
Date: Mon, 12 Mar 2018 00:35:54 +0000
Subject: [PATCH] Removing custom setting from quest Linnaeus Special Bait
(53).
---
.../Q00053_LinnaeusSpecialBait/31577-0a.html | 4 ++--
.../Q00053_LinnaeusSpecialBait.java | 22 +------------------
2 files changed, 3 insertions(+), 23 deletions(-)
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/quests/Q00053_LinnaeusSpecialBait/31577-0a.html b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/quests/Q00053_LinnaeusSpecialBait/31577-0a.html
index 84facd74c0..31eb60f99b 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/quests/Q00053_LinnaeusSpecialBait/31577-0a.html
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/quests/Q00053_LinnaeusSpecialBait/31577-0a.html
@@ -1,5 +1,5 @@
Fishermen's Guild Member Linnaeus:
-Not long ago while fishing, I caught several strange boxes containing assorted valuable items. They ended up being more valuable than fish!
+A while back, I accidently reeled in several strange boxes while fishing. When I opened them, I discovered that they contained many valuable items, much more precious than fish!
I have a knack for finding these boxes, but I can't show you how to do it yet.
-(This quest may only be undertaken by a character of level 60 or above with a fishing skill of 20.)
+(This quest may only be undertaken by a character of level 60 or above.)
\ No newline at end of file
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/quests/Q00053_LinnaeusSpecialBait/Q00053_LinnaeusSpecialBait.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/quests/Q00053_LinnaeusSpecialBait/Q00053_LinnaeusSpecialBait.java
index 609be20f12..0b49e8b28d 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/quests/Q00053_LinnaeusSpecialBait/Q00053_LinnaeusSpecialBait.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/quests/Q00053_LinnaeusSpecialBait/Q00053_LinnaeusSpecialBait.java
@@ -23,7 +23,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.model.quest.State;
-import com.l2jmobius.gameserver.model.skills.BuffInfo;
/**
* Linnaeus Special Bait (53)
@@ -38,10 +37,6 @@ public class Q00053_LinnaeusSpecialBait extends Quest
// Items
private static final int CRIMSON_DRAKE_HEART = 7624;
private static final int FLAMING_FISHING_LURE = 7613;
- // Misc
- // Custom setting: whether or not to check for fishing skill level?
- // Default False to require fishing skill level, any other value to ignore fishing and evaluate char level only.
- private static final boolean ALT_IGNORE_FISHING = false;
public Q00053_LinnaeusSpecialBait()
{
@@ -132,7 +127,7 @@ public class Q00053_LinnaeusSpecialBait extends Quest
}
case State.CREATED:
{
- htmltext = ((player.getLevel() > 59) && (fishingLevel(player) > 19)) ? "31577-0.htm" : "31577-0a.html";
+ htmltext = (player.getLevel() > 59) ? "31577-0.htm" : "31577-0a.html";
break;
}
case State.STARTED:
@@ -143,19 +138,4 @@ public class Q00053_LinnaeusSpecialBait extends Quest
}
return htmltext;
}
-
- private static int fishingLevel(L2PcInstance player)
- {
- int level = 20;
- if (!ALT_IGNORE_FISHING)
- {
- level = player.getSkillLevel(1315);
- final BuffInfo info = player.getEffectList().getBuffInfoBySkillId(2274);
- if (info != null)
- {
- level = (int) info.getSkill().getPower();
- }
- }
- return level;
- }
}