Commit b51e677a authored by YuGiOhMoDDeR's avatar YuGiOhMoDDeR

fix

it was able to activate without discarding
parent 7e28f1ae
...@@ -12,7 +12,7 @@ function c6595475.initial_effect(c) ...@@ -12,7 +12,7 @@ function c6595475.initial_effect(c)
end end
function c6595475.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c6595475.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,6595475)==0 if chk==0 then return Duel.GetFlagEffect(tp,6595475)==0
and Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_HAND,0,1,nil) end and Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_HAND,0,1,e:GetHandler()) end
Duel.DiscardHand(tp,Card.IsAbleToGraveAsCost,1,1,REASON_COST) Duel.DiscardHand(tp,Card.IsAbleToGraveAsCost,1,1,REASON_COST)
Duel.RegisterFlagEffect(tp,6595475,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1) Duel.RegisterFlagEffect(tp,6595475,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
......
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