Skip to content

Commit

Permalink
Update fishy.lua
Browse files Browse the repository at this point in the history
1. Added more locations.
2. Added total fishing skill.
3. Fixed some formats.
  • Loading branch information
Ulidan committed Jul 8, 2021
1 parent 88f76be commit 04ecd93
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions fishy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ local subzones = {
[L["Lake Ere'Noru"]] = 405,
[L["Lake Jorune"]] = 405,
["Silmyr Lake"] = 405,
["Skettis"] = 405,
["Blackwind Lake"] = 405,
["Terokk's Rest"] = 405,
["Veil Ala'rak"] = 405,
["Veil Harr'ik"] = 405,
}

local fishingpoles = {
Expand Down Expand Up @@ -236,13 +241,13 @@ local function UpdateSkill(forceResetFishCounter)

local fishNeeded = GetNumFishToLevel(skillRank)
if skillRank ~= skillMaxRank then
skillRankText = string.format("%d/%d", skillRank, skillMaxRank)
skillRankText = string.format("%d(%d)", skillRank, skillMaxRank)
fishNeededText = string.format(L["\n%d fish needed to skill up"], fishNeeded)
end

local skillModifierText = ""
if skillModifier > 0 then
skillModifierText = string.format(" (+%d)", skillModifier)
skillModifierText = string.format("+%d = %d", skillModifier, skillRank+skillModifier)
end

Fishbringer.content:SetFormattedText(
Expand Down

0 comments on commit 04ecd93

Please sign in to comment.