Module:Abilities/utils: Difference between revisionsGive feedback
m Saag moved page Module:AbilityData/utils to Module:Abilities/utils |
No edit summary |
||
| Line 1: | Line 1: | ||
local data = mw.loadJsonData("Data:AbilityCards.json") | |||
-- returns the table of a specific item | -- returns the table of a specific item | ||
function | function get_ability_card_data(hero_name, ability_num) | ||
local hero_key = get_hero_key(hero_name) | local hero_key = get_hero_key(hero_name) | ||
if(hero_key == nil) then return "Hero Not Found" end | if(hero_key == nil) then return "Hero Not Found" end | ||