Commit f31e76e2 authored by wyykak's avatar wyykak

fix 10333

parent 0d22dcae
Pipeline #8584 passed with stage
in 1 minute
......@@ -21,7 +21,7 @@ function c10333.tfilter2_1(c)
end
function c10333.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(c10333.tfilter2_1,tp,LOCATION_DECK,0,1,nil)
local b2=Duel.GetLocationCount(1-tp,LOCATION_MZONE,tp)>0 and Duel.IsPlayerCanSpecialSummonMonster(tp,10070,0,0x4011,0,0,1,RACE_FAIRY,ATTRIBUTE_WIND,POS_FACEUP_ATTACK,1-tp)
local b2=Duel.GetLocationCount(1-tp,LOCATION_MZONE,tp)>0 and Duel.IsPlayerCanSpecialSummonMonster(tp,10070,0x208,0x4011,0,0,1,RACE_FAIRY,ATTRIBUTE_WIND,POS_FACEUP_ATTACK,1-tp)
if chk==0 then return b1 or b2 end
local off=1
local ops={}
......@@ -64,7 +64,7 @@ function c10333.op2(e,tp,eg,ep,ev,re,r,rp)
end
end
else
if not Duel.IsPlayerCanSpecialSummonMonster(tp,10070,0,0x4011,0,0,1,RACE_FAIRY,ATTRIBUTE_WIND,POS_FACEUP_ATTACK,1-tp) then return end
if not Duel.IsPlayerCanSpecialSummonMonster(tp,10070,0x208,0x4011,0,0,1,RACE_FAIRY,ATTRIBUTE_WIND,POS_FACEUP_ATTACK,1-tp) then return end
local ft=Duel.GetLocationCount(1-tp,LOCATION_MZONE)
if ft<1 then return end
if Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 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