• 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 134: Line 134:  
local min_armor = enemy_armor * 0.7
 
local min_armor = enemy_armor * 0.7
 
local max_armor = enemy_armor * 0.7 + math.max(enemy_armor - 1, 0) * 0.6
 
local max_armor = enemy_armor * 0.7 + math.max(enemy_armor - 1, 0) * 0.6
local min = math.floor((attack_power - max_armor) * ship._ammo)
+
local min = math.floor((attack_power - max_armor) * ship.ammo_modifier)
local max = math.floor((attack_power - min_armor) * ship._ammo)
+
local max = math.floor((attack_power - min_armor) * ship.ammo_modifier)
 
return { min, max }
 
return { min, max }
 
else
 
else
return math.floor(attack_power * ship._ammo)
+
return math.floor(attack_power * ship.ammo_modifier)
 
end
 
end
 
end
 
end
Line 216: Line 216:  
critical = ship.critical or 1,
 
critical = ship.critical or 1,
 
ap = ship.ap or 1,
 
ap = ship.ap or 1,
_ammo = ship._ammo or 1,
+
ammo_modifier = ship.ammo_modifier or 1,
 
}
 
}
  
cssedit, gkautomate
7,064

edits

Navigation menu