Env方法扩展战斗类GetCurrentSkillID本页总览GetCurrentSkillID获取当前神通ID,这个只能配合技能触发器类型才能用.如果不是会返回-1值;实例:LuaJson触发器function (runner,env) -- env:GetCurrentSkill() env:GetCurrentSkill()end[{ "id":"测试触发器", "type":"玩家技能使用前", "condition":" GetCurrentSkillID() == 100 ", "triggerEvent":"测试1"}]参数参数类型描述选项返回值Integer返回当前神通ID,如果找不到默认-1