- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "Module:EnemyShipData"
Jump to navigation
Jump to search
(Created page with "local BaseData = require("Module:BaseData") local EnemyShipData = BaseData() function EnemyShipData:name() if self._suffix then return self:base_name() .. " " .. self._su...") |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | local | + | local ShipData = require("Module:ShipData") |
− | local EnemyShipData = | + | local EnemyShipData = ShipData{ |
− | + | _enemy = true, | |
− | + | _constructor_module = "Module:EnemyShip", | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | EnemyShipData.hp_leveled = EnemyShipData.hp | |
− | + | EnemyShipData.firepower_leveled = EnemyShipData.firepower | |
− | + | EnemyShipData.torpedo_leveled = EnemyShipData.torpedo | |
+ | EnemyShipData.aa_leveled = EnemyShipData.aa | ||
+ | EnemyShipData.armor_leveled = EnemyShipData.armor | ||
+ | EnemyShipData.asw_leveled = EnemyShipData.asw | ||
+ | EnemyShipData.evasion_leveled = EnemyShipData.evasion | ||
+ | EnemyShipData.los_leveled = EnemyShipData.los | ||
+ | EnemyShipData.luck_leveled = EnemyShipData.luck | ||
− | function EnemyShipData: | + | function EnemyShipData:can_debuff() |
− | return self. | + | return self._can_debuff |
end | end | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
EnemyShipData.__call = EnemyShipData.create | EnemyShipData.__call = EnemyShipData.create | ||
return EnemyShipData | return EnemyShipData |
Latest revision as of 02:00, 24 May 2021
Documentation for this module may be created at Module:EnemyShipData/doc
local ShipData = require("Module:ShipData")
local EnemyShipData = ShipData{
_enemy = true,
_constructor_module = "Module:EnemyShip",
}
EnemyShipData.hp_leveled = EnemyShipData.hp
EnemyShipData.firepower_leveled = EnemyShipData.firepower
EnemyShipData.torpedo_leveled = EnemyShipData.torpedo
EnemyShipData.aa_leveled = EnemyShipData.aa
EnemyShipData.armor_leveled = EnemyShipData.armor
EnemyShipData.asw_leveled = EnemyShipData.asw
EnemyShipData.evasion_leveled = EnemyShipData.evasion
EnemyShipData.los_leveled = EnemyShipData.los
EnemyShipData.luck_leveled = EnemyShipData.luck
function EnemyShipData:can_debuff()
return self._can_debuff
end
EnemyShipData.__call = EnemyShipData.create
return EnemyShipData