Commit 40940782 authored by mercury233's avatar mercury233

fix

parent dc277bc7
......@@ -5,7 +5,7 @@ function c101004014.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetRange(LOCATION_HAND)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetOperation(aux.chainreg)
c:RegisterEffect(e1)
......@@ -13,7 +13,7 @@ function c101004014.initial_effect(c)
e2:SetDescription(aux.Stringid(101004014,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e2:SetRange(LOCATION_HAND)
e2:SetCode(EVENT_CHAIN_SOLVED)
e2:SetCountLimit(1,101004014)
e2:SetProperty(EFFECT_FLAG_DELAY)
......@@ -38,7 +38,7 @@ function c101004014.counterfilter(c)
return c:IsSetCard(0x103)
end
function c101004014.spcon1(e,tp,eg,ep,ev,re,r,rp)
return rp==tp and re:IsHasType(TYPE_TRAP) and e:GetHandler():GetFlagEffect(1)>0
return rp==tp and re:IsActiveType(TYPE_TRAP) and e:GetHandler():GetFlagEffect(1)>0
end
function c101004014.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
......@@ -69,7 +69,7 @@ function c101004034.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c101004034.plfilter(c)
return c:IsFacedown() and not c:IsStatus(STATUS_SUMMONING) and not c:IsStatus(STATUS_SUMMON_DISABLED)
return not c:IsStatus(STATUS_SUMMONING) and not c:IsStatus(STATUS_SUMMON_DISABLED)
end
function c101004034.gfilter(c,g)
return not g:IsContains(c)
......
......@@ -73,5 +73,5 @@ function c101004048.setop(e,tp,eg,ep,ev,re,r,rp)
end
function c101004048.aclimit(e,re,tp)
local tc=re:GetHandler()
return tc:IsLocation(LOCATION_MZONE) and tc:IsFaceup() and tc:IsSummonType(SUMMON_TYPE_SPECIAL) and tc:GetMutualLinkedGroupCount()==0 and re:IsActiveType(TYPE_MONSTER) and not tc:IsImmuneToEffect(e)
return tc:IsLocation(LOCATION_MZONE) and tc:IsFaceup() and tc:IsSummonType(SUMMON_TYPE_SPECIAL) and not tc:IsLinkState() and re:IsActiveType(TYPE_MONSTER) and not tc:IsImmuneToEffect(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