Commit 767bd43b authored by mercury233's avatar mercury233

fix 魔術師の左手 etc.

parent 48300ab3
...@@ -20,9 +20,10 @@ function c13758665.cfilter(c) ...@@ -20,9 +20,10 @@ function c13758665.cfilter(c)
end end
function c13758665.negcon(e,tp,eg,ep,ev,re,r,rp) function c13758665.negcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c13758665.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c13758665.cfilter,tp,LOCATION_MZONE,0,1,nil)
and rp==1-tp and re:IsActiveType(TYPE_TRAP) and Duel.IsChainDisablable(ev) and rp==1-tp and re:IsActiveType(TYPE_TRAP)
end end
function c13758665.negop(e,tp,eg,ep,ev,re,r,rp) function c13758665.negop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,13758665)
local rc=re:GetHandler() local rc=re:GetHandler()
if Duel.NegateEffect(ev) and rc:IsRelateToEffect(re) then if Duel.NegateEffect(ev) and rc:IsRelateToEffect(re) then
Duel.Destroy(rc,REASON_EFFECT) Duel.Destroy(rc,REASON_EFFECT)
......
...@@ -79,7 +79,7 @@ function c29353756.eqlimit(e,c) ...@@ -79,7 +79,7 @@ function c29353756.eqlimit(e,c)
end end
function c29353756.negcon(e,tp,eg,ep,ev,re,r,rp) function c29353756.negcon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_SZONE return rp==1-tp and Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_SZONE
and re:IsActiveType(TYPE_TRAP) and Duel.IsChainDisablable(ev) and re:IsActiveType(TYPE_TRAP)
end end
function c29353756.negop(e,tp,eg,ep,ev,re,r,rp) function c29353756.negop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,29353756) Duel.Hint(HINT_CARD,0,29353756)
......
...@@ -30,9 +30,10 @@ function c38057522.disfilter(c) ...@@ -30,9 +30,10 @@ function c38057522.disfilter(c)
end end
function c38057522.discon(e,tp,eg,ep,ev,re,r,rp) function c38057522.discon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c38057522.disfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c38057522.disfilter,tp,LOCATION_MZONE,0,1,nil)
and rp==1-tp and re:IsActiveType(TYPE_MONSTER) and Duel.IsChainDisablable(ev) and rp==1-tp and re:IsActiveType(TYPE_MONSTER)
end end
function c38057522.disop(e,tp,eg,ep,ev,re,r,rp) function c38057522.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,38057522)
Duel.NegateEffect(ev) Duel.NegateEffect(ev)
end end
function c38057522.tdfilter(c,tp) function c38057522.tdfilter(c,tp)
......
...@@ -19,9 +19,10 @@ function c86767655.initial_effect(c) ...@@ -19,9 +19,10 @@ function c86767655.initial_effect(c)
end end
c86767655.toss_coin=true c86767655.toss_coin=true
function c86767655.discon(e,tp,eg,ep,ev,re,r,rp) function c86767655.discon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and Duel.IsChainDisablable(ev) and e:GetHandler():GetFlagEffect(1)>0 return rp==1-tp and e:GetHandler():GetFlagEffect(1)>0
end end
function c86767655.disop(e,tp,eg,ep,ev,re,r,rp) function c86767655.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,86767655)
local c1,c2=Duel.TossCoin(tp,2) local c1,c2=Duel.TossCoin(tp,2)
if c1+c2==2 then if c1+c2==2 then
Duel.NegateEffect(ev) Duel.NegateEffect(ev)
......
...@@ -20,9 +20,10 @@ function c87769556.cfilter(c) ...@@ -20,9 +20,10 @@ function c87769556.cfilter(c)
end end
function c87769556.negcon(e,tp,eg,ep,ev,re,r,rp) function c87769556.negcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c87769556.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c87769556.cfilter,tp,LOCATION_MZONE,0,1,nil)
and rp==1-tp and re:IsActiveType(TYPE_SPELL) and Duel.IsChainDisablable(ev) and rp==1-tp and re:IsActiveType(TYPE_SPELL)
end end
function c87769556.negop(e,tp,eg,ep,ev,re,r,rp) function c87769556.negop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,87769556)
local rc=re:GetHandler() local rc=re:GetHandler()
if Duel.NegateEffect(ev) and rc:IsRelateToEffect(re) then if Duel.NegateEffect(ev) and rc:IsRelateToEffect(re) then
Duel.Destroy(rc,REASON_EFFECT) Duel.Destroy(rc,REASON_EFFECT)
......
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