Commit f499df0c authored by nanahira's avatar nanahira

Merge branch 'master' of git.mycard.moe:alstroemeria-silentlove/ygopro-222DIY-cards

parents 98078a19 f7fcec02
......@@ -79,10 +79,12 @@ function tenkai.conti2(c,op)
tc:RegisterEffect(e5)
return e5
end
function tenkai.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,2,e:GetHandler(),REASON_COST) or Duel.IsPlayerAffectedByEffect(tp,16104400)
function tenkai.spcon(e,c)
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
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
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISCARD)
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