内容如下
LuaLeishi = sgs.CreateViewAsSkill{
name = "LuaLeishi",
n = 0,
view_as = function(self, cards)
local card = LeishiCard:clone()
return card
end,
enabled_at_play = function(self, player)
return player:getMark("@qlaaa") >= 1 and not player:hasUsed("#LeishiCard")
end
}
技能描述:出牌阶段限一次,你可以弃置一枚“雷电”标记并指定一名目标,对其造成两点雷属性伤害。
求大佬帮我做一个AI
LuaLeishi = sgs.CreateViewAsSkill{
name = "LuaLeishi",
n = 0,
view_as = function(self, cards)
local card = LeishiCard:clone()
return card
end,
enabled_at_play = function(self, player)
return player:getMark("@qlaaa") >= 1 and not player:hasUsed("#LeishiCard")
end
}
技能描述:出牌阶段限一次,你可以弃置一枚“雷电”标记并指定一名目标,对其造成两点雷属性伤害。
求大佬帮我做一个AI

