Commit 3a1582eb authored by VanillaSalt's avatar VanillaSalt

Merge pull request #768 from sidschingis/patch-6

fix
parents 93e208af fd317f14
......@@ -68,13 +68,13 @@ function c18175965.spcon(e,tp,eg,ep,ev,re,r,rp)
end
function c18175965.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,true,false) end
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,true,true) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function c18175965.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)
Duel.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)
end
end
function c18175965.filter(c,ec)
......
......@@ -11,7 +11,7 @@ function c269012.initial_effect(c)
e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(LOCATION_MZONE,0)
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetTarget(c269012.target)
e2:SetValue(1)
c:RegisterEffect(e2)
......
......@@ -36,7 +36,7 @@ function c8323633.filter(c,code)
return c:IsFaceup() and c:IsCode(code)
end
function c8323633.rmcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c8323633.filter,1,nil,e:GetLabel())
return eg:IsExists(c8323633.filter,1,nil,e:GetLabel()) and rp~=tp
end
function c8323633.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsRelateToEffect(e) 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