Module:Abilities: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) annotations |
mNo edit summary |
||
| Line 66: | Line 66: | ||
-- Iterate through the hero's abilities to find matching name | -- Iterate through the hero's abilities to find matching name | ||
for ability_num, ability in pairs(ui_data) do | for ability_num, ability in pairs(ui_data) do | ||
local current_name = | local current_name = ability.Key | ||
if string.lower(current_name) == normalized_input then | if string.lower(current_name) == normalized_input then | ||
return ability_num | return ability_num | ||