FANDOM


return require "Module:BladeEngine".datatable {
    datafrom = "April 27, 2017",--last update
    keyfield = "name",
    fields = {
        name = {
            datatype = "string",
            title = "Name",
            unique = true
        },
        jpn = {
            datatype = "string",
            title = "Japanese",
            unique = true
        },
        rom = {
            datatype = "string",
            title = "Rōmaji",
            unique = true
        },
        lit = {
            datatype = "string",
            title = "Lit.",
            description = "Translation of the Japanese"
        },
        link = {
            datatype = "string",
            title = "Link",
            description = "Link to the page covering the weapon in the series"
        },
        category = {
            datatype = "string",
            title = "Category",
            description = "The category of weapon it goes under"
        },
        rarity = {
            datatype = "number",
            title = "Rarity",
            default = 0,
            description = "The initial rarity rank of weapon"
        },
        game = {
            datatype = "string",
            title = "Original game",
            description = "The game from which the weapon originates from"
        },
        image= {
            datatype = "image",
            title = "Image",
            description = "The image link for the weapon"
        },
        lvl1 = {
            datatype = "number",
            title = "Level 1",
            default = 0
        },
        lvl2 = {
            datatype = "number",
            title = "Max Level",
            default = 0
        },
        lvl3 = {
            datatype = "number",
            title = "Max Level++",
            default = 0
        },
        lvl4 = {
            datatype = "number",
            title = "Max Level++ Reforged",
            default = 0
        },
        atk1 = {
            datatype = "number",
            title = "Level 1 Attack",
            default = 0,
            description = "Attack stat at level 1"
        },
        atk2 = {
            datatype = "number",
            title = "Max Level Attack",
            default = 0,
            description = "Attack stat at initial max level"
        },
        atk3 = {
            datatype = "number",
            title = "Max++ Level Attack",
            default = 0,
            description = "Attack stat at initial max++ level"
        },
        atk4 = {
            datatype = "number",
            title = "Max++ Reforged Level Attack",
            default = 0,
            description = "Attack stat at initial max++ reforged level"
        },
        mag1 = {
            datatype = "number",
            title = "Level 1 Magic",
            default = 0,
            description = "Magic stat at level 1"
        },
        mag2 = {
            datatype = "number",
            title = "Max Level Magic",
            default = 0,
            description = "Magic stat at initial max level"
        },
        mag3 = {
            datatype = "number",
            title = "Max++ Level Magic",
            default = 0,
            description = "Magic stat at initial max++ level"
        },
        mag4 = {
            datatype = "number",
            title = "Max++ Reforged Level Magic",
            default = 0,
            description = "Magic stat at initial max++ reforged level"
        },
        mnd1 = {
            datatype = "number",
            title = "Level 1 Mind",
            default = 0,
            description = "Mind stat at level 1"
        },
        mnd2 = {
            datatype = "number",
            title = "Max Level Mind",
            default = 0,
            description = "Mind stat at initial max level"
        },
        mnd3 = {
            datatype = "number",
            title = "Max++ Level Mind",
            default = 0,
            description = "Mind stat at initial max++ level"
        },
        mnd4 = {
            datatype = "number",
            title = "Max++ Reforged Level Mind",
            default = 0,
            description = "Mind stat at initial max++ reforged level"
        },
        def = {
            datatype = "number",
            signs = true,
            title = "Defense",
            default = 0
        },
        res = {
            datatype = "number",
            signs = true,
            title = "Resistance",
            default = 0
        },
        acc = {
            datatype = "number",
            signs = true,
            title = "Accuracy",
            default = 0
        },
        eva = {
            datatype = "number",
            signs = true,
            title = "Evasion",
            default = 0
        },
        eqbonus = {
            datatype = "string",
            format = "longtext",
            title = "Bonus effect(s) when equipped",
            description = "Additional bonus effects provided by the weapon by default"
        },
        rsbonus = {
            datatype = "string",
            format = "longtext",
            title = "Bonus effect(s) with Synergy",
            description = "Additional bonus effects provided by the weapon when under the effects of Record Synergy"
        },
        sbtype = {
            datatype = "string",
            format = "longtext",
            title = "Soul Break Type",
            description = "The type of the Soul Break attached to the weapon"
        },
        sb = {
            datatype = "string",
            format = "longtext",
            title = "Soul Break",
            description = "The Soul Break attached to the weapon"
        },
        sbm = {
            datatype = "string",
            title = "Soul Break Mastery",
            description = "The Soul Break Mastery stat bonus attached to the weapon"
        },
        reward = {
            datatype = "string",
            format = "longtext",
            title = "Reward",
            description = "Ways in which the weapon can be obtained as a reward"
        },
        default = {
            datatype = "string",
            format = "longtext",
            title = "Default",
            description = "Ways in which the weapon is owned by default"
        }
    },
    subdata = { "Module:FFRK Data/Weapons/Daggers", "Module:FFRK Data/Weapons/Swords", "Module:FFRK Data/Weapons/Katanas", "Module:FFRK Data/Weapons/Spears", "Module:FFRK Data/Weapons/Fists", "Module:FFRK Data/Weapons/Rods", "Module:FFRK Data/Weapons/Staves", "Module:FFRK Data/Weapons/Bows", "Module:FFRK Data/Weapons/Thrown", "Module:FFRK Data/Weapons/Other" }
}