Module:HeroData: Difference between revisionsGive feedback
m removed unused functions |
m get_hero_var renamed to get_hero_stat |
||
| Line 12: | Line 12: | ||
end | end | ||
--{{#invoke:HeroData| | --{{#invoke:HeroData|get_hero_stat|HERO_NAME|STAT_NAME}}-- | ||
p. | 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] | ||