Commit 49aa7569 authored by wind2009's avatar wind2009 Committed by GitHub

Fix エターナル·フェイバリット (#2354)

Fusion Effect cannot be activated with the card's activation.
parent 35583361
...@@ -108,7 +108,7 @@ end ...@@ -108,7 +108,7 @@ end
function s.fucost(e,tp,eg,ep,ev,re,r,rp,chk) function s.fucost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,e:GetHandler()) if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,e:GetHandler())
and c:IsAbleToGraveAsCost() end and c:IsAbleToGraveAsCost() and c:IsStatus(STATUS_EFFECT_ENABLED) end
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
Duel.SendtoGrave(c,REASON_COST) Duel.SendtoGrave(c,REASON_COST)
end end
...@@ -188,4 +188,4 @@ function s.fuop(e,tp,eg,ep,ev,re,r,rp) ...@@ -188,4 +188,4 @@ function s.fuop(e,tp,eg,ep,ev,re,r,rp)
tc:CompleteProcedure() tc:CompleteProcedure()
end end
aux.FCheckAdditional=nil aux.FCheckAdditional=nil
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