bug fixes

This commit is contained in:
baisebaoma 2024-04-15 21:03:15 +08:00
parent 7c068c8462
commit f7710d5894
1 changed files with 2 additions and 3 deletions

View File

@ -2540,7 +2540,8 @@ local zhaoyong = fk.CreateActiveSkill {
anim_type = "switch", anim_type = "switch",
prompt = function(self, selected_cards, selected_targets) prompt = function(self, selected_cards, selected_targets)
local card_name local card_name
if Self:getSwitchSkillState(self.name, true) == fk.SwitchYang then -- 因为此时还没有发动技能,所以不需要计算下一步
if Self:getSwitchSkillState(self.name) == fk.SwitchYang then
card_name = Fk:translate("await_exhausted") card_name = Fk:translate("await_exhausted")
else else
card_name = Fk:translate("fire_attack") card_name = Fk:translate("fire_attack")
@ -2660,8 +2661,6 @@ local dingfei = fk.CreateTriggerSkill {
end end
end, end,
} }
local guinaifen = General(extension, "jy__lukai", "wu", 4)
guinaifen:addSkill(dingfei)
local gnf = General(extension, "jy__guinaifen", "qun", 3, 3, General.Female) local gnf = General(extension, "jy__guinaifen", "qun", 3, 3, General.Female)
gnf:addSkill(zhaoyong) gnf:addSkill(zhaoyong)