Module:HeroData: Difference between revisions

Sur (talk | contribs)
m get_lore
Sur (talk | contribs)
m get_lore uses _get_string instead of get_string
Line 48: Line 48:
lore_key = p.get_json_item(hero_name)
lore_key = p.get_json_item(hero_name)
if (lore_key ~= nil) then
if (lore_key ~= nil) then
return lang_module.get_string(lore_key)
return lang_module._get_string(lore_key)
else
else
return "Hero does not have Lore written"
return "Hero does not have Lore written"