4,748 Pages

-- <pre>
local p    = {}
local data      = require('Module:TFTUnitData/data')
 
function p.sets(champname) -- returns: table
    return data[champname]
end
 
function p.championset(champname, set) -- returns: table
    return data[champname][set]
end
 
function p.skin(champname, set) -- returns: string
    return data[champname][set].skin
end
 
function p.tier(champname, set) -- returns: string
    return data[champname][set].tier
end
 
function p.render(champname, set) -- returns: string
    return data[champname][set].render
end
 
function p.origin(champname, set) -- returns: table
    return data[champname][set].origin
end
 
function p.origin1(champname, set) -- returns: string
    return data[champname][set].origin[1]
end
 
function p.origin2(champname, set) -- returns: string
    return data[champname][set].origin[2]
end
 
function p.class(champname, set) -- returns: table
    return data[champname][set].class
end
 
function p.class1(champname, set) -- returns: string
    return data[champname][set].class[1]
end
 
function p.class2(champname, set) -- returns: string
    return data[champname][set].class[2]
end
 
function p.abilityname(champname, set) -- returns: string
    return data[champname][set].abilityname
end
 
function p.abilityicon(champname, set) -- returns: string
    return data[champname][set].abilityicon
end
 
function p.passive(champname, set) -- returns: string
    return data[champname][set].passive
end
 
function p.active(champname, set) -- returns: string
    return data[champname][set].active
end
 
function p.hp(champname, set) -- returns: string
    return data[champname][set].hp
end
 
function p.mana(champname, set) -- returns: string
    return data[champname][set].mana
end
 
function p.startmana(champname, set) -- returns: string
    return data[champname][set].startmana
end
 
function p.as(champname, set) -- returns: string
    return data[champname][set].as
end
 
function p.ad(champname, set) -- returns: string
    return data[champname][set].ad
end
 
function p.range(champname, set) -- returns: string
    return data[champname][set].range
end
 
function p.arm(champname, set) -- returns: string
    return data[champname][set].arm
end
 
function p.mr(champname, set) -- returns: string
    return data[champname][set].mr
end
 
function p.behavior(champname, set) -- returns: string
    return data[champname][set].behavior
end
 
return p
-- </pre>
-- [[Category:Lua]]
Community content is available under CC-BY-SA unless otherwise noted.