Editing Module:AbilitiesGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 26: | Line 26: | ||
-- If not found by key, search for key by ability name | -- If not found by key, search for key by ability name | ||
local resource_lookup = mw.loadJsonData("Data:ResourceLookup.json") | local resource_lookup = mw.loadJsonData("Data:ResourceLookup.json") | ||
local ability_resource = resource_lookup[identifier | local ability_resource = resource_lookup[identifier] | ||
if (ability_resource) then | if (ability_resource) then | ||