• 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
Use new CI rate formula
Line 152: Line 152:  
-- * CI rate formula.
 
-- * CI rate formula.
   −
-- old formula
+
local cut_in_types = {
function cut_in_rate(luck)
+
    torpedo = { k = 70, cap = 60 },
     if luck <= 50 then
+
    mixed = { k = 70, cap = 70 },
         return math.floor(0.85 * luck)
+
    main = { k = 50, cap = 55 }
 +
}
 +
 
 +
function cut_in_rate(luck, t)
 +
     if luck <= t.cap then
 +
         return math.floor(math.sqrt(t.k * luck))
 
     else
 
     else
         return math.floor(0.85 * 50 + math.sqrt(luck - 50))
+
         return cut_in_rate(t.cap, t)
 
     end
 
     end
 
end
 
end
Line 184: Line 189:  
!<span title="Maximal damage from cut-in">Cut-In</span>
 
!<span title="Maximal damage from cut-in">Cut-In</span>
 
!${luck_minus_cap}
 
!${luck_minus_cap}
!<span title="Cut-in rate (only luck dependent part, no bonuses)">Cut-In Rate</span>
+
!<span title="Torpedo cut-in rate (only luck dependent part, no bonuses)">Cut-In Rate</span>
 
${rows}|}]],
 
${rows}|}]],
  
cssedit, gkautomate
7,064

edits

Navigation menu