Skill.Cfg||doc136916

September 20, 2022

Format

local cfg = Skill.Cfg(fullName)
  • Class that Function belongs to : Config
  • Call limit : Common

Description

Get configuration information of Skill templates.

Parameters

Variable name Type Description
fullName string template path, path format is "myplugin/".. "templateID"

Code Samples

Create an Buff template with the ID "testBuff", then use code to get its configuration information and print it

local cfg = Skill.Cfg("myplugin/" .. "testSkill")
for k, v in pairs(cfg) do
    print(k, v)
end