Anonymous

Module:Magic: Difference between revisions

From Melvor Idle
Formatting tweaks
(Added pieces necessary for building Template:SpellBox)
(Formatting tweaks)
Line 165: Line 165:
   local result = ''
   local result = ''
   if spell.type == 'Spells' then
   if spell.type == 'Spells' then
     result = result..'|-\r\n|Max Hit: '..(spell.maxHit * 10)
     result = result.."|-\r\n|'''Max Hit:''' "..(spell.maxHit * 10)
   end
   end
   if spell.description ~= nil then
   if spell.description ~= nil then
     result = result..'\r\n|-\r\n|Description:<br/>'..spell.description
     result = result.."\r\n|-\r\n|'''Description:'''<br/>"..spell.description
   end
   end