Commit d660d201 authored by DailyShana's avatar DailyShana

fix

parent d7c83b74
...@@ -25,7 +25,7 @@ function c10178757.synlimit(e,c) ...@@ -25,7 +25,7 @@ function c10178757.synlimit(e,c)
end end
function c10178757.condition(e,tp,eg,ep,ev,re,r,rp) function c10178757.condition(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_EFFECT)>0 and re:GetHandler():IsSetCard(0x2) return bit.band(r,REASON_EFFECT)>0 and re:GetHandler():IsSetCard(0x2)
and e:GetHandler():GetPreviousLocation()==LOCATION_DECK and e:GetHandler():GetPreviousLocation()==LOCATION_DECK and e:GetHandler():GetPreviousControler()==tp
end end
function c10178757.target(e,tp,eg,ep,ev,re,r,rp,chk) function c10178757.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -13,7 +13,7 @@ function c44125452.initial_effect(c) ...@@ -13,7 +13,7 @@ function c44125452.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c44125452.condition(e,tp,eg,ep,ev,re,r,rp) function c44125452.condition(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_EFFECT)~=0 and e:GetHandler():IsPreviousLocation(LOCATION_DECK) return bit.band(r,REASON_EFFECT)~=0 and e:GetHandler():IsPreviousLocation(LOCATION_DECK) and e:GetHandler():GetPreviousControler()==tp
end end
function c44125452.target(e,tp,eg,ep,ev,re,r,rp,chk) function c44125452.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return e:GetHandler():IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -12,7 +12,8 @@ function c73783043.initial_effect(c) ...@@ -12,7 +12,8 @@ function c73783043.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c73783043.filter(c,e,tp) function c73783043.filter(c,e,tp)
return c:IsSetCard(0x2) and c:IsControler(tp) and c:IsPreviousLocation(LOCATION_DECK) and not c:IsPublic() return c:IsSetCard(0x2) and c:IsControler(tp) and not c:IsPublic()
and c:IsPreviousLocation(LOCATION_DECK) and c:GetPreviousControler()==tp
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c73783043.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c73783043.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -13,7 +13,7 @@ function c87774234.initial_effect(c) ...@@ -13,7 +13,7 @@ function c87774234.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c87774234.condition(e,tp,eg,ep,ev,re,r,rp) function c87774234.condition(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_EFFECT)~=0 and e:GetHandler():IsPreviousLocation(LOCATION_DECK) return bit.band(r,REASON_EFFECT)~=0 and e:GetHandler():IsPreviousLocation(LOCATION_DECK) and e:GetHandler():GetPreviousControler()==tp
end end
function c87774234.target(e,tp,eg,ep,ev,re,r,rp,chk) function c87774234.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return e:GetHandler():IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -24,7 +24,7 @@ function c89258906.synlimit(e,c) ...@@ -24,7 +24,7 @@ function c89258906.synlimit(e,c)
return not c:IsSetCard(0x33) return not c:IsSetCard(0x33)
end end
function c89258906.condition(e,tp,eg,ep,ev,re,r,rp) function c89258906.condition(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_EFFECT)~=0 and e:GetHandler():IsPreviousLocation(LOCATION_DECK) return bit.band(r,REASON_EFFECT)~=0 and e:GetHandler():IsPreviousLocation(LOCATION_DECK) and e:GetHandler():GetPreviousControler()==tp
end end
function c89258906.target(e,tp,eg,ep,ev,re,r,rp,chk) function c89258906.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return e:GetHandler():IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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