Editing Module:Abilities/utils
Revision as of 11:12, 1 October 2024 by Saag (talk | contribs) (Created page with "-- returns the table of a specific item function get_ability(hero_name, ability_num) local hero_key = get_hero_key(hero_name) if(hero_key == nil) then return "Hero Not Found" end return data[hero_key][tonumber(ability_num)] end function get_hero_key(hero_name) for i, hero in pairs(data) do if hero["Name"] == hero_name then return i end end return nil end")
Warning: You are editing an out-of-date revision of this page.
If you publish it, any changes made since this revision will be lost.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Retrieved from "https://deadlocked.wiki/Module:Abilities/utils"