Module:HeroData: Difference between revisions

Sur (talk | contribs)
m get_hero_scalar_str more dynamic to not require spirit/level input
Sur (talk | contribs)
m typo
Line 71: Line 71:
local template_args = {}
local template_args = {}
template_args["1"] = hero_scalar --store in 1st arg for {{{1}}} to grab it from {{SS}} or {{LS}} template
template_args["1"] = scaling_value --store in 1st arg for {{{1}}} to grab it from {{SS}} or {{LS}} template
local template_call = mw.getCurrentFrame():expandTemplate{ title = template_title, args = template_args }
local template_call = mw.getCurrentFrame():expandTemplate{ title = template_title, args = template_args }