Skip to content

Commit

Permalink
Fix for food buffs showing seconds instead of minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonomit committed Mar 16, 2022
1 parent 04b91a8 commit 0eb72b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Locale/enUs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ L[#L+1] = {LABEL = "Buff Food"}
L[#L].MAP = {
{
INPUT = "Restores (%d+) health over (%d+) sec%.%s*Must remain seated while eating.%s+If you spend at least 10 seconds eating you will become well fed and gain (.+) for (%d+) min",
OUTPUT = function(amount, duration, buff, buffDuration) return ("+%d health (+%s HpS) over %ds while sitting. After 10s, gain %s for %ds"):format(amount, Data:Round(amount/duration, 0), duration, buff, buffDuration) end,
OUTPUT = function(amount, duration, buff, buffDuration) return ("+%d health (+%s HpS) over %ds while sitting. After 10s, gain %s for %dm"):format(amount, Data:Round(amount/duration, 0), duration, buff, buffDuration) end,
},
}
L[#L].CAPTURES = {
Expand All @@ -1091,7 +1091,7 @@ L[#L+1] = {LABEL = "Buff Drink"}
L[#L].MAP = {
{
INPUT = "Restores (%d+) mana over (%d+) sec%.%s*Must remain seated while drinking.%s+ Also (.+) for (%d+) min",
OUTPUT = function(amount, duration, buff, buffDuration) return ("+%d mana (+%s HpS) over %ds while sitting. Also %s for %ds"):format(amount, Data:Round(amount/duration, 0), duration, buff, buffDuration) end,
OUTPUT = function(amount, duration, buff, buffDuration) return ("+%d mana (+%s HpS) over %ds while sitting. Also %s for %dm"):format(amount, Data:Round(amount/duration, 0), duration, buff, buffDuration) end,
},
}
L[#L].CAPTURES = {
Expand Down

0 comments on commit 0eb72b5

Please sign in to comment.