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
← Older edit
Newer edit →
Module:Sandbox/Combat
(view source)
Revision as of 12:04, 21 October 2015
114 bytes added
,
9 years ago
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
Personal tools
Log in
Request account
Namespaces
Module
Discussion
Variants
Views
Read
View source
View history
More
Search
Content Navigation
Kancolle Wiki
Random page
Recent changes
Batch Uploading
Current Mini-event
Naval District Saury Festival
Sortie
Sortie
World 1 (Naval Base Waters)
World 2 (Nansei Island Waters)
World 3 (Northern Waters)
World 7 (South Western Waters)
World 4 (Western Waters)
World 5 (Southern Waters)
World 6 (Central Waters)
Events
Shortcuts
Expeditions
Quests
Ships Maximum Status
Equipment
Construction
Development
Akashi's Improvement Arsenal
Shop
Inventory
Combat Mechanics
Glossary
Drop List
Interviews
Tutorials
How to Register
How To Play
Leveling
Resource Farming
Ship Priority
Equipment Setup
Akashi Upgrades
Event Preparation
Troubleshooting
FAQ
Community
Help
Sandbox
Tools
Upload file
Special pages
Printable version