Module:HeroData: Difference between revisions

Jump to navigation Jump to search
Sur (talk | contribs)
m removed unused functions
Sur (talk | contribs)
m get_hero_var renamed to get_hero_stat
Line 12: Line 12:
end
end


--{{#invoke:HeroData|get_hero_var|HERO_NAME|STAT_NAME}}--
--{{#invoke:HeroData|get_hero_stat|HERO_NAME|STAT_NAME}}--
p.get_hero_var = function(frame)
p.get_hero_stat = function(frame)
local hero_name = frame.args[1]
local hero_name = frame.args[1]
local hero_stat_key = frame.args[2]
local hero_stat_key = frame.args[2]