Module:GameData: Difference between revisions

getSkillData: Fix
(Update code)
(getSkillData: Fix)
Line 83: Line 83:
for idx, skill in ipairs(GameData.skillData) do
for idx, skill in ipairs(GameData.skillData) do
if skill.skillID == skillID then
if skill.skillID == skillID then
return skill
return skill.data
end
end
end
end