LuaFabai = sgs.CreateTriggerSkill{
name = "LuaFabai",
frequency = sgs.Skill_NotFrequent,
events = {sgs.GameStart},
on_trigger = function(self, event, player, data)
local room = player:getRoom()
if room:askForSkillInvoke(player, "LuaFabai", data) then
room:changeHore(player, "sunquan", true, true, false, true)
end
end
}
抄的导航贴里的,但没效果-_-
name = "LuaFabai",
frequency = sgs.Skill_NotFrequent,
events = {sgs.GameStart},
on_trigger = function(self, event, player, data)
local room = player:getRoom()
if room:askForSkillInvoke(player, "LuaFabai", data) then
room:changeHore(player, "sunquan", true, true, false, true)
end
end
}
抄的导航贴里的,但没效果-_-