Commit f7fcec02 authored by Tachibana's avatar Tachibana

hole

parent 7a043ada
...@@ -79,10 +79,12 @@ function tenkai.conti2(c,op) ...@@ -79,10 +79,12 @@ function tenkai.conti2(c,op)
tc:RegisterEffect(e5) tc:RegisterEffect(e5)
return e5 return e5
end end
function tenkai.spcon(e,tp,eg,ep,ev,re,r,rp) function tenkai.spcon(e,c)
return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,2,e:GetHandler(),REASON_COST) or Duel.IsPlayerAffectedByEffect(tp,16104400) if c==nil then return true end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,2,c,REASON_COST) or Duel.IsPlayerAffectedByEffect(tp,16104400)
end end
function tenkai.spop(e,tp,eg,ep,ev,re,r,rp) function tenkai.spop(e,tp,eg,ep,ev,re,r,rp,c)
if not Duel.IsPlayerAffectedByEffect(tp,16104400) then if not Duel.IsPlayerAffectedByEffect(tp,16104400) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISCARD) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISCARD)
Duel.DiscardHand(tp,Card.IsDiscardable,2,2,REASON_COST+REASON_DISCARD,e:GetHandler()) Duel.DiscardHand(tp,Card.IsDiscardable,2,2,REASON_COST+REASON_DISCARD,e:GetHandler())
......
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