Module:Monsters: Difference between revisions

m
Formatted slayer area combat levels
m (Add table-img class to _getMonsterTable to prevent icons from shrinking down to 0px)
m (Formatted slayer area combat levels)
 
Line 1,384: Line 1,384:
local rowBits = {}
local rowBits = {}
table.insert(tableBits, '\r\n|-\r\n|'..Icons.Icon({p.getMonsterName(monster), type='monster'}))
table.insert(tableBits, '\r\n|-\r\n|'..Icons.Icon({p.getMonsterName(monster), type='monster'}))
table.insert(tableBits, '||style="text-align:right"|'..p._getMonsterCombatLevel(monster))
table.insert(tableBits, '||style="text-align:right"|'..Num.formatnum(p._getMonsterCombatLevel(monster)))
if hasBarrier then
if hasBarrier then
table.insert(tableBits, '||style="text-align:right"|'..Num.formatnum(p._getMonsterBarrier(monster)))
table.insert(tableBits, '||style="text-align:right"|'..Num.formatnum(p._getMonsterBarrier(monster)))