Module:Skills/Summoning: Difference between revisions

Added XP for creation to summoning tablet table
mNo edit summary
(Added XP for creation to summoning tablet table)
Line 49: Line 49:
   result = result..'\r\n|- class="headerRow-0"'
   result = result..'\r\n|- class="headerRow-0"'
   result = result..'\r\n!colspan="2"|Name!!'..Icons.Icon({'Summoning', type='skill', notext=true})..' Level'
   result = result..'\r\n!colspan="2"|Name!!'..Icons.Icon({'Summoning', type='skill', notext=true})..' Level'
   result = result..'!!Tier!!Effect!!Description!!Shard Cost!!Secondary'
   result = result..'!!Tier!!Effect!!Description!!Shard Cost!!Secondary!!Creation XP'


   local Familiars = p.getFamiliars()
   local Familiars = p.getFamiliars()
Line 100: Line 100:
     end
     end
     rowText = rowText..'||'..table.concat(OtherCostArray, "<br/>'''OR''' ")
     rowText = rowText..'||'..table.concat(OtherCostArray, "<br/>'''OR''' ")
    rowText = rowText..'||style="text-align:right"|'..(5 + 2 * math.floor(Fam.summoningLevel / 5))


     table.insert(rowArray, rowText)
     table.insert(rowArray, rowText)