• 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
no edit summary
Line 16: Line 16:     
     difference = function(context)
 
     difference = function(context)
         return "nil"
+
         if context.hit_rate then
 +
            local diff = (context.cl1 + context.cl2) / (context.cl0 + context.cl1 + context.cl2) - context.hit_rate
 +
            string.format("%.2f%", diff)
 +
        else
 +
            return "nil"
 +
        end
 
     end,
 
     end,
    
}
 
}
cssedit, gkautomate
7,064

edits

Navigation menu