FANDOM


local p = {}
 
 --[[
 This function who origanly design for switching design on Characters's Template
 This function need two parameter:
    frame.args[1]: the text who need to be evaluate
    frame.args[2]: the size max of one line
 
The result is an value need to be tested in template
    true: all lines are small
    false: one or more lines are large
 --]]
function p.maxLen( frame ) 
    local maxSize = tonumber(frame.args[2]) or 80
    local tmpStr = string.gsub(frame.args[1], "%[%[[F|f]ile:.-%]%]", "123")
    tmpStr = string.gsub(tmpStr, "%[%[:[F|f]ile:.-%|", "")
    tmpStr = string.gsub(tmpStr, "[%[|%]]", "")
    local tmpArray = mw.text.split(tmpStr, "<br ?/?>")
    local textLines = {}
    local maxChars = 0;
 
    for key, value in pairs(tmpArray) do
        value = mw.text.split(value, "\n")
        for i = 1, #value do
            textLines[#textLines+1] = value[i]
        end
    end
 
    for key, value in pairs(textLines) do
        if #value > maxChars then
            maxChars = #value
        end
    end
 
    if maxChars > maxSize then
        return false
    else
        return true
    end
 
end
 
function p.replaceLinks( links )
    local results = links.args[1]
    local linksArray = {
        ["%[%[All in the Family]]"]="[[File:Global server.png|20px]] DEF +15%%<br>[[File:Japan server.png|20px]] Lv 1: DEF +15%%<br>[[File:Japan server.png|20px]] Lv 10: DEF +20%%",
        ["%[%[Android Assault]]"]="[[File:Global server.png|20px]] DEF +1000<br>[[File:Japan server.png|20px]] Lv 1: DEF +10%%<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and DEF +20%%",
        ["%[%[Attack of the Clones]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and chance of evading +5%%",
        ["%[%[Auto Regeneration]]"]="[[File:Global server.png|20px]] Recover 3%% HP<br>[[File:Japan server.png|20px]] Lv 1: Recover 3%% HP<br>[[File:Japan server.png|20px]] Lv 10: Recover 3%% HP and damage received -5%%",
        ["%[%[Battlefield Diva]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +3 and chance of evading +5%%",
        ["%[%[Berserker]]"]="[[File:Global server.png|20px]] ATK +20%% when HP is 50%% or below<br>[[File:Japan server.png|20px]] Lv 1: ATK +20%% when HP is 50%% or below<br>[[File:Japan server.png|20px]] Lv 10: ATK +30%% when HP is 50%% or below",
        ["%[%[High Compatibility]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +10%%",
        ["%[%[Big Bad Bosses]]"]="[[File:Global server.png|20px]] ATK & DEF +25%% when HP is 80%% or below<br>[[File:Japan server.png|20px]] Lv 1: ATK & DEF +25%% when HP is 80%% or below<br>[[File:Japan server.png|20px]] Lv 10: ATK & DEF +25%%",
        ["%[%[Blazing Battle]]"]="[[File:Global server.png|20px]] Disables enemy's Rampage, and ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: Disables enemy's Rampage and ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: Disables enemy's Rampage and ATK +20%%",
        ["%[%[Bombardment]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Brainiacs]]"]="[[File:Global server.png|20px]] ATK & DEF +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK & DEF +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK & DEF +15%%",
        ["%[%[Brutal Beatdown]]"]="[[File:Global server.png|20px]] ATK +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%%",
        ["%[%[Budding Warrior]]"]="[[File:Global server.png|20px]] ATK +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%%",
        ["%[%[Cold Judgment]]"]="[[File:Global server.png|20px]] DEF +20%%<br>[[File:Japan server.png|20px]] Lv 1: DEF +20%%<br>[[File:Japan server.png|20px]] Lv 10: DEF +25%%",
        ["%[%[Connoisseur]]"]="[[File:Global server.png|20px]] Recover 5%% HP<br>[[File:Japan server.png|20px]] Lv 1: Recover 5%% HP<br>[[File:Japan server.png|20px]] Lv 10: Recover 7%% HP and DEF +7%%",
        ["%[%[Cooler's Armored Squad]]"]="[[File:Global server.png|20px]] ATK +25%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +25%%<br>[[File:Japan server.png|20px]] Lv 10: ATK & DEF +25%%",
        ["%[%[Cooler's Underling]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and chance to perform a critical hit +5%%",
        ["%[%[Courage]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +1 and ATK +10%%",
        ["%[%[Coward]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +1 and chance to perform a critical hit +5%%",
        ["%[%[Crane School]]"]="[[File:Global server.png|20px]] ATK +500<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Deficit Boost]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Demonic Ways]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +10%%",
        ["%[%[Demonic Power]]"]="[[File:Global server.png|20px]] ATK +20%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +20%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%% & DEF +10%%",
        ["%[%[Destroyer of the Universe]]"]="[[File:Global server.png|20px]] ATK +25%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +25%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +25%% and DEF +15%%",
        ["%[%[Dismal Future]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and chance to perform a critical hit +5%%",
        ["%[%[Dodon Ray]]"]="[[File:Global server.png|20px]] ATK +2000 when Super Attack is launched<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%% when Super Attack is launched<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%% when Super Attack is launched",
        ["%[%[Energy Absorption]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +3 and HP +3%%",
        ["%[%[Evil Autocrats]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Enemy DEF -20%% and Ki +1",
        ["%[%[Experienced Fighters]]"]="[[File:Global server.png|20px]] ATK +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%%",
        ["%[%[Family Ties]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK +10%%",
        ["%[%[Fear and Faith]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and enemy DEF -10%%",
        ["%[%[Fierce Battle]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Flee]]"]="[[File:Global server.png|20px]] Ki +1 when HP is 30%% or below<br>[[File:Japan server.png|20px]] Lv 1: Ki +1 when HP is 30%% or below<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and chance of evading +10%% when HP is 50%% or less",
        ["%[%[Formidable Enemy]]"]="[[File:Global server.png|20px]] ATK +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%%",
        ["%[%[Fortuneteller Baba’s Fighter]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +3 and ATK & DEF +5%%",
        ["%[%[Frieza's Army]]"]="[[File:Global server.png|20px]] DEF +1000<br>[[File:Japan server.png|20px]] Lv 1: DEF +20%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +10%% and DEF +20%%",
        ["%[%[Frieza's Minion]]"]="[[File:Global server.png|20px]] ATK +300<br>[[File:Japan server.png|20px]] Lv 1: ATK +20%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%% and DEF +10%%",
        ["%[%[Fused Fighter]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +5%%",
        ["%[%[Fusion %(Link Skill%)%|Fusion]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +10%%",
        ["%[%[Fusion Failure]]"]="[[File:Global server.png|20px]] Recover 3%% HP<br>[[File:Japan server.png|20px]] Lv 1: Recover 3%% HP<br>[[File:Japan server.png|20px]] Lv 10: Recover 7%% HP",
        ["%[%[Galactic Visitor]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and DEF +20%%",
        ["%[%[Galactic Warriors]]"]="[[File:Global server.png|20px]] ATK +20%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +20%%<br>[[File:Japan server.png|20px]] Lv 10: Ki +1 and ATK & DEF +20%%",
        ["%[%[Gaze of Respect]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +10%%",
        ["%[%[Gentleman]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 & DEF +10%%",
        ["%[%[Godly Power]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%% and chance to perform a critical hit +5%%",
        ["%[%[Golden Warrior]]"]="[[File:Global server.png|20px]] Ki +1, enemy DEF -2000<br>[[File:Japan server.png|20px]] Lv 1: Enemy DEF -5%% and Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Enemy DEF -10%% and Ki +1",
        ["%[%[Golden Z%-Fighter]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and chance to perform a critical hit +5%%",
        ["%[%[GT]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +10%%",
        ["%[%[Guidance of the Dragon Balls]]"]="[[File:Global server.png|20px]] ATK +20%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +20%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%% and chance to perform a critical hit +7%%",
        ["%[%[Hardened Grudge]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK +10%%",
        ["%[%[Hatred of Saiyans]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +3 and ATK +10%%",
        ["%[%[Hero]]"]="[[File:Global server.png|20px]] DEF +20%%<br>[[File:Japan server.png|20px]] Lv 1: DEF +20%%<br>[[File:Japan server.png|20px]] Lv 10: DEF +25%%",
        ["%[%[Hero of Justice]]"]="[[File:Global server.png|20px]] ATK +25%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +25%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +25%% and chance to perform a critical hit +5%%",
        ["%[%[Infighter]]"]="[[File:Global server.png|20px]] ATK +10%%, Enemy DEF -10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%% and enemy DEF -10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%% and enemy DEF -15%%",
        ["%[%[Infinite Energy]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +5%% and chance to perform a critical hit +5%%",
        ["%[%[Infinite Regeneration]]"]="[[File:Global server.png|20px]] Recover 3%% HP<br>[[File:Japan server.png|20px]] Lv 1: Recover 3%% HP<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and recover 3%% HP and DEF +10%%",
        ["%[%[Kamehameha]]"]="[[File:Global server.png|20px]] ATK +2500 when Super Attack is launched<br>[[File:Japan server.png|20px]] Lv 1: ATK +5%% when Super Attack is launched<br>[[File:Japan server.png|20px]] Lv 10: ATK +10%% when Super Attack is launched",
        ["%[%[Legendary Power]]"]="[[File:Global server.png|20px]] ATK +5000 when Super Attack is launched<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%% when Super Attack is launched<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%% when Super Attack is launched",
        ["%[%[Limit%-Breaking Form]]"]="[[File:Global server.png|20px]] ATK +2000 when Super Attack is launched<br>[[File:Japan server.png|20px]] Lv 1: ATK +5%% when Super Attack is launched<br>[[File:Japan server.png|20px]] Lv 10: ATK +10%% when Super Attack is launched",
        ["%[%[Loyalty]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +1 and damage received -5%%",
        ["%[%[Majin]]"]="[[File:Global server.png|20px]] ATK & DEF +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK & DEF +10%%<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +15%%",
        ["%[%[Majin Resurrection Plan]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and DEF +20%%",
        ["%[%[Telepathy]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +1 and chance to perform a critical hit +5%%",
        ["%[%[Master of Magic]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%% and enemy DEF -10%%",
        ["%[%[Mechanical Menaces]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +1 and damage received -5%%",
        ["%[%[Messenger from the Future]]"]="[[File:Global server.png|20px]] ATK +500<br>[[File:Japan server.png|20px]] Lv 1: ATK +5%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +10%%",
        ["%[%[Metamorphosis]]"]="[[File:Global server.png|20px]] Recover 5%% HP<br>[[File:Japan server.png|20px]] Lv 1: Recover 5%% HP<br>[[File:Japan server.png|20px]] Lv 10: Recover 5%% HP and ATK & DEF +10%%",
        ["%[%[Money Money Money]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +1 and DEF +20%%",
        ["%[%[More Than Meets the Eye]]"]="[[File:Global server.png|20px]] ATK +300<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK & DEF +10%%",
        ["%[%[Namekians %(Link Skill%)%|Namekians]]"]="[[File:Global server.png|20px]] Recover 5%% HP<br>[[File:Japan server.png|20px]] Lv 1: Recover 5%% HP<br>[[File:Japan server.png|20px]] Lv 10: Recover 5%% HP and ATK & DEF +7%%",
        ["%[%[New]]"]="[[File:Global server.png|20px]] ATK +200<br>[[File:Japan server.png|20px]] Lv 1: ATK+ 20%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%% and DEF+ 20%%",
        ["%[%[New Frieza Army]]"]="[[File:Global server.png|20px]] ATK & DEF +1000<br>[[File:Japan server.png|20px]] Lv 1: ATK & DEF +20%%<br>[[File:Japan server.png|20px]] Lv 10: ATK & DEF +25%%",
        ["%[%[Nightmare]]"]="[[File:Global server.png|20px]] ATK +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%%",
        ["%[%[Organic Upgrade]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +5%% and chance to perform a critical hit +5%%",
        ["%[%[Otherworld Warriors %(Link Skill%)%|Otherworld Warriors]]"]="[[File:Global server.png|20px]] ATK +20%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +20%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%% and DEF +10%%",
        ["%[%[Over 9000]]"]="[[File:Global server.png|20px]] ATK +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK & DEF +10%%",
        ["%[%[Over in a Flash]]"]="[[File:Global server.png|20px]] Ki +3<br>[[File:Japan server.png|20px]] Lv 1: Ki +3<br>[[File:Japan server.png|20px]] Lv 10: Ki +3 and ATK 7%%",
        ["%[%[Patrol]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and DEF +20%%",
        ["%[%[Penguin Village Adventure]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Power Bestowed by God]]"]="[[File:Global server.png|20px]] ATK +2500 when Super Attack is launched<br>[[File:Japan server.png|20px]] Lv 1: ATK +5%% when Super Attack is launched<br>[[File:Japan server.png|20px]] Lv 10: ATK +10%% when Super Attack is launched",
        ["%[%[Prepared for Battle]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +5%%",
        ["%[%[Prodigies]]"]="[[File:Global server.png|20px]] ATK +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%%",
        ["%[%[Respect]]"]="[[File:Global server.png|20px]] ATK +500<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Resurrection 'F']]"]="[[File:Global server.png|20px]] ATK +700<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: Ki +1 and ATK & DEF +10%%",
        ["%[%[Revival]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2; ATK & DEF +5%% and recover 5%% HP when HP is 50%% or below",
        ["%[%[Solid Support]]"]="[[File:Global server.png|20px]] ATK +10%%, attacked enemy's DEF -15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%% and enemy DEF -15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15% and enemy DEF -20%%",
        ["%[%[Royal Lineage]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK +5%%",
        ["%[%[RR Army]]"]="[[File:Global server.png|20px]] ATK +300<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK & DEF +10%%",
        ["%[%[Saiyan Pride]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Saiyan Roar]]"]="[[File:Global server.png|20px]] ATK +25%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +25%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +25%% and DEF +10%%",
        ["%[%[Saiyan Warrior Race]]"]="[[File:Global server.png|20px]] ATK +700<br>[[File:Japan server.png|20px]] Lv 1: ATK +5%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +10%%",
        ["%[%[Scientist]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and DEF +20%%",
        ["%[%[Shadow Dragons]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK & DEF +20%%",
        ["%[%[Shattering the Limit]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +5%%",
        ["%[%[Shocking Speed]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and DEF +5%%",
        ["%[%[Signature Pose]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +3 and ATK +7%%","[[File:Global server.png|20px]] Weakens Regeneration and Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Weakens Regeneration and Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Weakens Regeneration and Ki +1, ATK & DEF +5%%",
        ["%[%[Soul vs Soul]]"]="[[File:Global server.png|20px]] Weakens Regeneration and Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Weakens Regeneration and Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Weakens Regeneration and Ki +1, ATK & DEF +5%%",
        ["%[%[Speedy Retribution]]"]="[[File:Global server.png|20px]] ATK +300<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%% and chance of evading +5%%",
        ["%[%[Strength in Unity]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and HP +3%%",
        ["%[%[Strongest Clan in Space]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and and enemy DEF -10%%",
        ["%[%[Super Saiyan]]"]="[[File:Global server.png|20px]] ATK +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%%",
        ["%[%[Super Strike]]"]="[[File:Global server.png|20px]] ATK +20%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +20%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +25%%","[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Super%-God Combat]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Supreme Power]]"]="[[File:Global server.png|20px]] Activate Penetration, ATK & DEF +1000<br>[[File:Japan server.png|20px]] Lv 1: Activate Penetration and ATK & DEF +5%%<br>[[File:Japan server.png|20px]] Lv 10: Activate Penetration and ATK & DEF +10%%",
        ["%[%[Supreme Warrior]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +1 & ATK +10%%",
        ["%[%[Tag Team of Terror]]"]="[[File:Global server.png|20px]] ATK +500<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Team Bardock %(Link Skill%)%|Team Bardock]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +10%%",
        ["%[%[Team Turles]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and chance to perform a critical hit +5%%",
        ["%[%[Telekinesis]]"]="[[File:Global server.png|20px]] Enemy DEF -10%%<br>[[File:Japan server.png|20px]] Lv 1: Enemy DEF -10%%<br>[[File:Japan server.png|20px]] Lv 10: Enemy DEF -20%%",
        ["%[%[The First Awakened]]"]="[[File:Global server.png|20px]] ATK +25%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +25%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +25%% and DEF +10%%",
        ["%[%[The Ginyu Force]]"]="[[File:Global server.png|20px]] ATK +25%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +25%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +25%% and damage received -5%%",
        ["%[%[The Hera Clan]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK +5%% and chance to perform a critical hit +5%%",
        ["%[%[Champion's Strength]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +1 and damage received -5%%",
        ["%[%[The Incredible Adventure]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +3 and ATK & DEF 7%%",
        ["%[%[The Innocents]]"]="[[File:Global server.png|20px]] ATK +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +15%%",
        ["%[%[The Saiyan Lineage]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +5%%",
        ["%[%[The Students]]"]="[[File:Global server.png|20px]] DEF +1000<br>[[File:Japan server.png|20px]] Lv 1: DEF +20%%<br>[[File:Japan server.png|20px]] Lv 10: DEF +30%%",
        ["%[%[The Wall Standing Tall]]"]="[[File:Global server.png|20px]] Foils enemy's True Power and boosts ATK by 15%%<br>[[File:Japan server.png|20px]] Lv 1: Foils enemy's True Power and boosts ATK by 15%%<br>[[File:Japan server.png|20px]] Lv 10: Foils enemy's True Power and boosts ATK by 20%%",
        ["%[%[Thirst for Conquest]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK & DEF +15%%",
        ["%[%[Tough as Nails]]"]="[[File:Global server.png|20px]] DEF +1500<br>[[File:Japan server.png|20px]] Lv 1: DEF +15%%<br>[[File:Japan server.png|20px]] Lv 10: DEF +20%% and damage received -5%%",
        ["%[%[Tournament of Power]]"]="[[File:Global server.png|20px]] Ki +3<br>[[File:Japan server.png|20px]] Lv 1: Ki +3<br>[[File:Japan server.png|20px]] Lv 10: Ki +3 and ATK & DEF +7%%",
        ["%[%[Transform]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +3 and DEF +10%%",
        ["%[%[Turtle School]]"]="[[File:Global server.png|20px]] ATK +500, DEF +500<br>[[File:Japan server.png|20px]] Lv 1: ATK & DEF +10%%<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +20%%",
        ["%[%[Twin Terrors]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK, DEF & chance of evading +5%%","[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +10%% and recover 3%% HP",
        ["%[%[Ultimate Lifeform]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +10%% and recover 3%% HP",
        ["%[%[Unbreakable Bond]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and DEF +20%%",
        ["%[%[Universe's Most Malevolent]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Warrior Gods]]"]="[[File:Global server.png|20px]] ATK +10%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +10<br>[[File:Japan server.png|20px]] Lv 10: ATK +10 and ATK +5%% when Super Attack is launched",
        ["%[%[Warriors of Universe 6]]"]="[[File:Global server.png|20px]] Ki +2<br>[[File:Japan server.png|20px]] Lv 1: Ki +2<br>[[File:Japan server.png|20px]] Lv 10: Ki +2 and ATK & DEF +6%%",
        ["%[%[World Tournament Champion]]"]="[[File:Global server.png|20px]] Ki +1<br>[[File:Japan server.png|20px]] Lv 1: Ki +1<br>[[File:Japan server.png|20px]] Lv 10: Ki +1 and DEF +10%%",
        ["%[%[World Tournament Reborn]]"]="[[File:Global server.png|20px]] ATK +300<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["%[%[Xenoverse]]"]="[[File:Global server.png|20px]] ATK +20%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +20%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%% and DEF +10%%",
        ["%[%[Z Fighters]]"]="[[File:Global server.png|20px]] ATK +15%%<br>[[File:Japan server.png|20px]] Lv 1: ATK +15%%<br>[[File:Japan server.png|20px]] Lv 10: ATK +20%%",
        ["NamedLink"]="Descriptions",
    }
    for key, value in pairs( linksArray ) do
        results = string.gsub(results,key,"<span class=\"advanced-tooltip\">" .. key .. "<div class=\"tooltip-contents\"><div style=\"background: white; border: 2px solid; border-radius: 7px;-moz-border-radius: 7px;-webkit-border-radius: 7px; box-shadow:0 0 4px;\"> '''" .. value .. "''' </div> </div></span>")
    end
 
    return results
end
 
return p
*Disclosure: Some of the links above are affiliate links, meaning, at no additional cost to you, Fandom will earn a commission if you click through and make a purchase. Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+