• 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 432: Line 432:  
local min = math.floor((attack_power - max_armor) * ammo_modifier)
 
local min = math.floor((attack_power - max_armor) * ammo_modifier)
 
local max = math.floor((attack_power - min_armor) * ammo_modifier)
 
local max = math.floor((attack_power - min_armor) * ammo_modifier)
return { min = min, max = max }
+
return { min = math.max(0, min), max = math.max(0, max) }
 
else
 
else
 
return math.floor(attack_power * ammo_modifier)
 
return math.floor(attack_power * ammo_modifier)
cssedit, gkautomate
6,928

edits

Navigation menu