Module:Combat Level: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 65: Line 65:
     end
     end


     local level = 'Your combat level is <b>' .. math.floor( lvl ) .. '</b>, ' .. cbtype .. '-based. '
     local level = 'Your combat level is <b>' .. math.floor( lvl ) .. '</b>, based on your ' .. cbtype .. 'level(s). '
     local tips = 'For level ' .. ( math.floor( lvl ) + 1 ) .. ', you need one of:\n*' ..
     local tips = 'For level ' .. ( math.floor( lvl ) + 1 ) .. ', you need one of the following:\n*' ..
         HpDef .. ' [[Hitpoints]] or [[Defence]] levels,\n*' ..
         HpDef .. ' {{Skill:Hitpoints}} or {{Skill:Defence}} levels,\n*' ..
         Pray .. ' [[Prayer]] levels,\n*' ..
         Pray .. ' {{Skill:Prayer}} levels,\n*' ..
         AttStr .. ' [[Attack]] or [[Strength]] levels,\n*' ..
         AttStr .. ' {{Skill:Attack}} or {{Skill:Strength}} levels,\n*' ..
         Mage .. ' [[Magic]] levels,\n*' ..
         Mage .. ' {{Skill:Magic}} levels,\n*' ..
         Range .. ' [[Ranged]] levels.\n'
         Range .. ' or {{Skill:Ranged}} levels.\n'
     return level .. tips
     return level .. tips


66

edits