Commit b3b4bc49 authored by HidarimeYume's avatar HidarimeYume Committed by GitHub

Fix Evil★Twin and Swordsoul Auspice Chunjun (#1983)

parent c8105e4b
...@@ -56,7 +56,6 @@ function c29884951.sptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -56,7 +56,6 @@ function c29884951.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end end
function c29884951.spop(e,tp,eg,ep,ev,re,r,rp) function c29884951.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
......
...@@ -11,7 +11,6 @@ function c36609518.initial_effect(c) ...@@ -11,7 +11,6 @@ function c36609518.initial_effect(c)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET) e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,36609518) e1:SetCountLimit(1,36609518)
e1:SetCondition(c36609518.descon)
e1:SetTarget(c36609518.destg) e1:SetTarget(c36609518.destg)
e1:SetOperation(c36609518.desop) e1:SetOperation(c36609518.desop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
...@@ -35,9 +34,6 @@ end ...@@ -35,9 +34,6 @@ end
function c36609518.cfilter(c) function c36609518.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x152) return c:IsFaceup() and c:IsSetCard(0x152)
end end
function c36609518.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c36609518.cfilter,tp,LOCATION_MZONE,0,1,nil)
end
function c36609518.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c36609518.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() end if chkc then return chkc:IsOnField() end
if chk==0 then return Duel.IsExistingTarget(aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) if chk==0 then return Duel.IsExistingTarget(aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil)
......
...@@ -11,7 +11,6 @@ function c9205573.initial_effect(c) ...@@ -11,7 +11,6 @@ function c9205573.initial_effect(c)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_PLAYER_TARGET)
e1:SetCountLimit(1,9205573) e1:SetCountLimit(1,9205573)
e1:SetCondition(c9205573.drcon)
e1:SetTarget(c9205573.drtg) e1:SetTarget(c9205573.drtg)
e1:SetOperation(c9205573.drop) e1:SetOperation(c9205573.drop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
...@@ -35,9 +34,6 @@ end ...@@ -35,9 +34,6 @@ end
function c9205573.cfilter(c) function c9205573.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x153) return c:IsFaceup() and c:IsSetCard(0x153)
end end
function c9205573.drcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c9205573.cfilter,tp,LOCATION_MZONE,0,1,nil)
end
function c9205573.drtg(e,tp,eg,ep,ev,re,r,rp,chk) function c9205573.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingMatchingCard(c9205573.cfilter,tp,LOCATION_MZONE,0,1,nil) end and Duel.IsExistingMatchingCard(c9205573.cfilter,tp,LOCATION_MZONE,0,1,nil) 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