bug fixes
This commit is contained in:
parent
5d40bc17b8
commit
0da9740bf4
|
@ -2549,7 +2549,14 @@ local zhaoyong = fk.CreateActiveSkill {
|
||||||
return "#jy_zhaoyong:::" .. card_name
|
return "#jy_zhaoyong:::" .. card_name
|
||||||
end,
|
end,
|
||||||
can_use = function(self, player)
|
can_use = function(self, player)
|
||||||
return player:usedSkillTimes(self.name, Player.HistoryPhase) == 0
|
local card_name
|
||||||
|
if Self:getSwitchSkillState(self.name) == fk.SwitchYang then
|
||||||
|
card_name = Fk:translate("await_exhausted")
|
||||||
|
else
|
||||||
|
card_name = Fk:translate("fire_attack")
|
||||||
|
end
|
||||||
|
return player:usedSkillTimes(self.name, Player.HistoryPhase) == 0 and
|
||||||
|
U.canUseCardTo(player.room, player, player, Fk:cloneCard(card_name)) -- 感觉可能用不了
|
||||||
end,
|
end,
|
||||||
card_filter = Util.FalseFunc,
|
card_filter = Util.FalseFunc,
|
||||||
on_use = function(self, room, effect)
|
on_use = function(self, room, effect)
|
||||||
|
|
Loading…
Reference in New Issue