Commit 158d18bf authored by 未闻皂名's avatar 未闻皂名

2024/8/30 bug修复

parent 4269e771
Pipeline #29444 passed with stages
in 7 minutes and 39 seconds
...@@ -61,7 +61,7 @@ function RushDuel.IsLegendCard(card, original) ...@@ -61,7 +61,7 @@ function RushDuel.IsLegendCard(card, original)
if original then if original then
return card:IsOriginalCodeRule(LEGEND_MONSTER, LEGEND_SPELL, LEGEND_TRAP) return card:IsOriginalCodeRule(LEGEND_MONSTER, LEGEND_SPELL, LEGEND_TRAP)
else else
return card:IsHasEffect(EFFECT_LEGEND_CARD) return card:IsHasEffect(EFFECT_LEGEND_CARD) ~= nil
end end
end end
......
...@@ -39,7 +39,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,7 +39,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
RD.AttachDoubleTribute(e,c,cm.trival,aux.Stringid(m,1),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) RD.AttachDoubleTribute(e,c,cm.trival,aux.Stringid(m,1),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
end end
end end
function cm.trival(e, c) function cm.trival(e,c)
if e==nil then return true,1 end if e==nil then return true,1 end
return RD.IsLegendCard(c) return RD.IsLegendCard(c)
end end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment