Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Sandbox/Combat
(view source)
Revision as of 18:57, 24 October 2015
20 bytes added
,
8 years ago
m
no edit summary
Line 197:
Line 197:
function Combat.air_power(ship)
function Combat.air_power(ship)
−
local slot1 = math.floor(10 * math.sqrt(ship._equipment[1].size))
+
local slot1 = math.floor(
25 +
10 * math.sqrt(ship._equipment[1].size))
−
local slot2 = math.floor(10 * math.sqrt(ship._equipment[2].size))
+
local slot2 = math.floor(
25 +
10 * math.sqrt(ship._equipment[2].size))
−
local slot3 = math.floor(10 * math.sqrt(ship._equipment[3].size))
+
local slot3 = math.floor(
25 +
10 * math.sqrt(ship._equipment[3].size))
−
local slot4 = ship._equipment[4] and math.floor(10 * math.sqrt(ship._equipment[4].size)) or 0
+
local slot4 = ship._equipment[4] and math.floor(
25 +
10 * math.sqrt(ship._equipment[4].size)) or 0
return {
return {
slot_all = slot1 + slot2 + slot3 + slot4,
slot_all = slot1 + slot2 + slot3 + slot4,
がか
cssedit, gkautomate
7,060
edits