• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 193: Line 193:  
       local maxModHp = math.min(hp + 2, maxHp)
 
       local maxModHp = math.min(hp + 2, maxHp)
 
       local maxModMarriedHp = math.min(marriedHp + 2, maxHp)
 
       local maxModMarriedHp = math.min(marriedHp + 2, maxHp)
       local hpSpan1 = tooltip(hp, string.format('%d with HP modernization', maxModHp))
+
       local hpSpan1 = hp == maxModHp and hp or tooltip(hp, string.format('%d with HP modernization', maxModHp))
       local hpSpan2 = tooltip(marriedHp, string.format('Married, %d with HP modernization', maxModMarriedHp))
+
       local hpSpan2 = tooltip(marriedHp, marriedHp == maxModMarriedHp and 'Married' or string.format('Married, %d with HP modernization', maxModMarriedHp))
 
       HPinfo = statLabel .. 'HP [[File:IcoHP.png|HP]]</th>' .. statBox .. hpSpan1 .. '→' .. hpSpan2 .. '</td>'
 
       HPinfo = statLabel .. 'HP [[File:IcoHP.png|HP]]</th>' .. statBox .. hpSpan1 .. '→' .. hpSpan2 .. '</td>'
 
     else
 
     else
cssedit, gkautomate
6,916

edits

Navigation menu