帮我翻译一段lua语言
/run name, rank, icon, cost, isFunnel, powerType, castTime, minRange, maxRange = GetSpellInfo
(6603);print(name)
[解决办法]
up...
[解决办法]
GetSpellInfo函数返回应该是一组数据,然后把这组数据按顺序传给name, rank, icon, cost, isFunnel, powerType, castTime, minRange, maxRange
[解决办法]
根据对象ID 获取他的详细信息存储到 name, rank, icon, cost, isFunnel, powerType, castTime, minRange, maxRange
并将名字输出