Commit de72f6f7 authored by Nemo Ma's avatar Nemo Ma

fix

parent 279fac13
......@@ -15,13 +15,13 @@ function c12057601.initial_effect(c)
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
c:RegisterEffect(e2)
--immune
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_IMMUNE_EFFECT)
e1:SetRange(LOCATION_MZONE)
e1:SetValue(c12057601.efilter)
c:RegisterEffect(e1)
local e6=Effect.CreateEffect(c)
e6:SetType(EFFECT_TYPE_SINGLE)
e6:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e6:SetRange(LOCATION_MZONE)
e6:SetCode(EFFECT_IMMUNE_EFFECT)
e6:SetValue(c12057601.efilter)
c:RegisterEffect(e6)
--Equip
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(12057601,0))
......@@ -47,6 +47,9 @@ function c12057601.initial_effect(c)
e3:SetOperation(c12057601.tdop)
c:RegisterEffect(e3)
end
function c12057601.efilter(e,te)
return te:IsActiveType(TYPE_SPELL)
end
function c12057601.eqcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_MONSTER)
end
......
......@@ -6,6 +6,7 @@ function c29065704.initial_effect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,29065705)
e1:SetTarget(c29065704.sptg)
e1:SetOperation(c29065704.spop)
......
--加帕里公园 - 神圣之山
function c33700103.initial_effect(c)
local e0=Effect.CreateEffect(c)
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_ACTIVATE)
e0:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e0)
......@@ -42,7 +42,7 @@ function c33700103.filter1(c,e,tp,sg)
and Duel.IsExistingMatchingCard(c33700103.filter2,tp,LOCATION_HAND+LOCATION_GRAVE,0,sg,nil,e,tp,c:GetCode())
end
function c33700103.filter2(c,e,tp,g)
return c:GetCode()~=g and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return c:GetCode()~=g and c:IsSetCard(0x442) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c33700103.filter3(c,e,tp,pg)
return not pg:IsExists(c33700103.filter4,1,nil,c) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......@@ -85,7 +85,7 @@ end
end
function c33700103.filter5(c,e,tp,sg)
return c:IsAbleToDeck() and c:IsSetCard(0x442) and c:IsFaceup()
and Duel.IsExistingMatchingCard(c33700103.filter2,tp,LOCATION_HAND+LOCATION_GRAVE,0,sg,nil,e,tp,c:GetCode())
and Duel.IsExistingMatchingCard(c33700103.filter2,tp,LOCATION_DECK,0,sg,nil,e,tp,c:GetCode())
end
function c33700103.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local sg=Duel.GetMatchingGroup(c33700103.filter0,tp,LOCATION_MZONE,0,nil)
......
......@@ -63,7 +63,7 @@ function c7409805.drop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_UPDATE_DEFENSE)
tc:RegisterEffect(e2)
else
local g=Duel.GetMatchingGroup(c7409805.Grimy_Goons_filter,p,LOCATION_HAND,0,nil)
local g=Duel.GetMatchingGroup(Card.IsAbleToDeck,p,LOCATION_HAND,0,nil)
if g:GetCount()==0 then return end
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,p,HINTMSG_TODECK)
......
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