Skip to content

Commit

Permalink
Format remaining artifact power number in chat message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonaza committed Jul 2, 2017
1 parent 00b2b02 commit d76eede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/artifact.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ function module:GetChatMessage()
));

if(pointsSpent > 0) then
tinsert(outputText, ("at %s/%s power (%.1f%%) with %d to go"):format(
tinsert(outputText, ("at %s/%s power (%.1f%%) with %s to go"):format(
BreakUpLargeNumbers(artifactXP),
BreakUpLargeNumbers(xpForNextPoint),
progress * 100,
remaining
BreakUpLargeNumbers(remaining)
));
end

Expand Down

0 comments on commit d76eede

Please sign in to comment.