Commit 97f13322 authored by Momobako's avatar Momobako

Push by Appveyor

parent b924fc9d
......@@ -52,13 +52,6 @@ function c33700004.initial_effect(c)
e5:SetCondition(c33700004.pencon2)
c:RegisterEffect(e5)
--destroy
local e6=Effect.CreateEffect(c)
e6:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e6:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e6:SetCode(EVENT_SPSUMMON_SUCCESS)
e6:SetCondition(c33700004.condition)
e6:SetOperation(c33700004.desop)
c:RegisterEffect(e6)
local e7=Effect.CreateEffect(c)
e7:SetType(EFFECT_TYPE_SINGLE)
e7:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
......@@ -68,7 +61,7 @@ function c33700004.initial_effect(c)
c:RegisterEffect(e7)
end
function c33700004.ffilter(c)
return c:IsFusionSetCard(0x6440)
return c:IsFusionSetCard(0x6440) and c:IsType(TYPE_MONSTER)
end
function c33700004.costfilter(c,tp)
return c:IsControler(tp) and c:IsSetCard(0x6440)
......@@ -173,11 +166,5 @@ function c33700004.actfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3440)
end
function c33700004.descon(e)
return e:GetHandler():GetFlagEffect(33700004)~=0 and not Duel.IsExistingMatchingCard(c33700004.actfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
end
function c33700004.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SPECIAL)+1
end
function c33700004.desop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(33700004,RESET_EVENT+0x1fe0000,0,1)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+1 and not Duel.IsExistingMatchingCard(c33700004.actfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
end
\ No newline at end of file
......@@ -44,13 +44,6 @@ function c33700005.initial_effect(c)
e5:SetCondition(c33700005.pencon2)
c:RegisterEffect(e5)
--destroy
local e6=Effect.CreateEffect(c)
e6:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e6:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e6:SetCode(EVENT_SPSUMMON_SUCCESS)
e6:SetCondition(c33700005.condition)
e6:SetOperation(c33700005.operation)
c:RegisterEffect(e6)
local e7=Effect.CreateEffect(c)
e7:SetType(EFFECT_TYPE_SINGLE)
e7:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
......@@ -60,7 +53,7 @@ function c33700005.initial_effect(c)
c:RegisterEffect(e7)
end
function c33700005.ffilter(c)
return c:IsFusionSetCard(0x6440)
return c:IsFusionSetCard(0x6440) and c:IsType(TYPE_MONSTER)
end
function c33700005.indct(e,re,r,rp)
if bit.band(r,REASON_BATTLE+REASON_EFFECT)~=0 then
......@@ -119,15 +112,9 @@ end
function c33700005.pencon2(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_EFFECT)~=0
end
function c33700005.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SPECIAL)+1
end
function c33700005.operation(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(33700005,RESET_EVENT+0x1fe0000,0,1)
end
function c33700005.actfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3440)
end
function c33700005.descon(e)
return e:GetHandler():GetFlagEffect(33700005)~=0 and not Duel.IsExistingMatchingCard(c33700005.actfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+1 and not Duel.IsExistingMatchingCard(c33700005.actfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
end
\ No newline at end of file
......@@ -39,13 +39,6 @@ function c33700006.initial_effect(c)
e5:SetCondition(c33700006.pencon2)
c:RegisterEffect(e5)
--destroy
local e6=Effect.CreateEffect(c)
e6:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e6:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e6:SetCode(EVENT_SPSUMMON_SUCCESS)
e6:SetCondition(c33700006.condition)
e6:SetOperation(c33700006.operation)
c:RegisterEffect(e6)
local e7=Effect.CreateEffect(c)
e7:SetType(EFFECT_TYPE_SINGLE)
e7:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
......@@ -60,7 +53,7 @@ function c33700006.initial_effect(c)
c:RegisterEffect(e8)
end
function c33700006.ffilter(c)
return c:IsFusionSetCard(0x6440)
return c:IsFusionSetCard(0x6440) and c:IsType(TYPE_MONSTER)
end
function c33700006.actcon(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetAttacker()
......@@ -132,11 +125,5 @@ function c33700006.actfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3440)
end
function c33700006.descon(e)
return e:GetHandler():GetFlagEffect(33700006)~=0 and not Duel.IsExistingMatchingCard(c33700006.actfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
end
function c33700006.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SPECIAL)+1
end
function c33700006.operation(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(33700006,RESET_EVENT+0x1fe0000,0,1)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+1 and not Duel.IsExistingMatchingCard(c33700006.actfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
end
\ No newline at end of file
......@@ -23,7 +23,7 @@ function c33700034.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.GetLocationCount(tp,LOCATION_SZONE)>0
and Duel.IsExistingTarget(c33700034.filter,tp,LOCATION_PZONE,0,1,nil,e,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectTarget(tp,c33700034.filter,tp,LOCATIONPZONE,0,1,1,nil,e,tp)
local g=Duel.SelectTarget(tp,c33700034.filter,tp,LOCATION_PZONE,0,1,1,nil,e,tp)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,0,0)
end
function c33700034.activate(e,tp,eg,ep,ev,re,r,rp)
......
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