Module:Common: Difference between revisions

Amend abyss depth icon type
No edit summary
(Amend abyss depth icon type)
Line 241: Line 241:
local depth = GameData.getEntityByID('abyssDepths', req.depthID)
local depth = GameData.getEntityByID('abyssDepths', req.depthID)
if depth ~= nil then
if depth ~= nil then
local depthStr = 'Complete ' .. Icons.Icon({depth.name, type='abyssDepth'})
local depthStr = 'Complete ' .. Icons.Icon({depth.name, type='combatArea'})
if req.count > 1 then
if req.count > 1 then
depthStr = depthStr .. ' ' .. Shared.formatnum(req.count) .. ' times'
depthStr = depthStr .. ' ' .. Shared.formatnum(req.count) .. ' times'