Commit 8e3e6c9c authored by GuGu's avatar GuGu

Update c10333.lua

parent 177baa53
Pipeline #29188 passed with stage
in 7 seconds
...@@ -21,7 +21,7 @@ function c10333.tfilter2_1(c) ...@@ -21,7 +21,7 @@ function c10333.tfilter2_1(c)
end end
function c10333.tg2(e,tp,eg,ep,ev,re,r,rp,chk) 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 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,0x208,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_LIGHT,POS_FACEUP_ATTACK,1-tp)
if chk==0 then return b1 or b2 end if chk==0 then return b1 or b2 end
local off=1 local off=1
local ops={} local ops={}
...@@ -64,7 +64,7 @@ function c10333.op2(e,tp,eg,ep,ev,re,r,rp) ...@@ -64,7 +64,7 @@ function c10333.op2(e,tp,eg,ep,ev,re,r,rp)
end end
end end
else else
if not Duel.IsPlayerCanSpecialSummonMonster(tp,10070,0x208,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_LIGHT,POS_FACEUP_ATTACK,1-tp) then return end
local ft=Duel.GetLocationCount(1-tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(1-tp,LOCATION_MZONE)
if ft<1 then return end if ft<1 then return end
if Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 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