Editing Module:HeroDataGive feedback
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 267: | Line 267: | ||
local bound_abilities_data = hero_data["BoundAbilities"] | local bound_abilities_data = hero_data["BoundAbilities"] | ||
if (bound_abilities_data == nil) then return "Hero key " .. hero_key.. " has no BoundAbilities" end | if (bound_abilities_data == nil) then return "Hero key " .. hero_key.. " has no BoundAbilities" end | ||
return bound_abilities_data[tonumber(bound_slot_number) | return bound_abilities_data[tonumber(bound_slot_number)] | ||
end | end | ||