jy_yuanshen bug fixes

This commit is contained in:
Baisebaoma 2023-12-07 14:42:29 +08:00
parent 3c20034ce1
commit e72eda41f0
1 changed files with 2 additions and 2 deletions

View File

@ -996,7 +996,7 @@ local jy_yuanshen = fk.CreateTriggerSkill{
local jy_huoji = fk.CreateViewAsSkill{
name = "jy_huoji",
anim_type = "offensive",
pattern = "fire__slash",
pattern = "slash",
card_filter = function(self, to_select, selected)
return #selected == 0 and Fk:getCardById(to_select).suit == Card.Spade and Fk:currentRoom():getCardArea(to_select) ~= Player.Equip
end,
@ -1012,7 +1012,7 @@ local jy_huoji = fk.CreateViewAsSkill{
local jy_leiji = fk.CreateViewAsSkill{
name = "jy_leiji",
anim_type = "offensive",
pattern = "thunder__slash",
pattern = "slash",
card_filter = function(self, to_select, selected)
return #selected == 0 and Fk:getCardById(to_select).suit == Card.Club and Fk:currentRoom():getCardArea(to_select) ~= Player.Equip
end,