qinshang = sgs.CreateTriggerSkill{
name = "qinshang",
frequency = sgs.Skill_Frequent,
events = {sgs.EventPhaseStart},
on_trigger = function(self, event,player,data)
local room = player:getroom()
local phsae = player:getphase()
if phase ==sgs.Player_Start
then
local x = player:getLostHp()
player:drawCards(x)
end
end}
无法查看武将,一查看带此技能的武将就关闭游戏
name = "qinshang",
frequency = sgs.Skill_Frequent,
events = {sgs.EventPhaseStart},
on_trigger = function(self, event,player,data)
local room = player:getroom()
local phsae = player:getphase()
if phase ==sgs.Player_Start
then
local x = player:getLostHp()
player:drawCards(x)
end
end}
无法查看武将,一查看带此技能的武将就关闭游戏