Commit bc4c2781 authored by wind2009's avatar wind2009

Merge remote-tracking branch 'upstream/master' into master

parents 4ef3cece 66205ab0
......@@ -52,7 +52,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function s.spfilter(c)
return c:IsSynchroSummonable(nil) and c:IsType(TYPE_TUNER)
return c:IsType(TYPE_TUNER) and c:IsSynchroSummonable(nil)
end
function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -25,7 +25,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2)
--destroy
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,0))
e3:SetDescription(aux.Stringid(id,2))
e3:SetCategory(CATEGORY_DESTROY)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY)
......
......@@ -34,7 +34,7 @@ function c72181263.initial_effect(c)
end
function c72181263.desfilter1(c,tp,ec,g)
return c:IsType(TYPE_SPELL+TYPE_TRAP)
and g:IsExists(c72181263.desfilter2,1,nil,tp,ec)
and g:IsExists(c72181263.desfilter2,1,c,tp,ec)
end
function c72181263.desfilter2(c,tp,ec)
return c~=ec and c:IsFaceup() and c:IsControler(tp) and c:IsSetCard(0xaf,0xae)
......
......@@ -21,7 +21,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function s.spfilter(c)
return c:IsSynchroSummonable(nil) and c:IsType(TYPE_TUNER)
return c:IsType(TYPE_TUNER) and c:IsSynchroSummonable(nil)
end
function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
......
......@@ -77,7 +77,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE)
end
function s.spfilter(c)
return c:IsSynchroSummonable(nil) and c:IsType(TYPE_TUNER)
return c:IsType(TYPE_TUNER) and c:IsSynchroSummonable(nil)
end
function s.rthfilter(c,tp,e,g)
return c:IsAbleToHand() and g:FilterCount(Card.IsCanBeSpecialSummoned,c,e,0,tp,false,false)==1
......
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