Commit b299767e authored by salix5's avatar salix5

fix 23TP

parent 029836f1
...@@ -5,6 +5,7 @@ function c22996376.initial_effect(c) ...@@ -5,6 +5,7 @@ function c22996376.initial_effect(c)
e1:SetDescription(aux.Stringid(22996376,0)) e1:SetDescription(aux.Stringid(22996376,0))
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCode(EFFECT_SUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCondition(c22996376.otcon) e1:SetCondition(c22996376.otcon)
e1:SetOperation(c22996376.otop) e1:SetOperation(c22996376.otop)
e1:SetValue(SUMMON_TYPE_ADVANCE) e1:SetValue(SUMMON_TYPE_ADVANCE)
......
...@@ -14,7 +14,7 @@ function c74100225.filter(c,cat) ...@@ -14,7 +14,7 @@ function c74100225.filter(c,cat)
return c:IsSetCard(cat) and c:IsType(TYPE_MONSTER) and c:IsCanOverlay() return c:IsSetCard(cat) and c:IsType(TYPE_MONSTER) and c:IsCanOverlay()
end end
function c74100225.spfilter(c,e,tp) function c74100225.spfilter(c,e,tp)
return c:IsSetCard(0x504e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0 return c:IsSetCard(0x504e) and c:IsType(TYPE_XYZ) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
end end
function c74100225.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c74100225.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingTarget(c74100225.filter,tp,LOCATION_GRAVE,0,1,nil,0x304e) if chk==0 then return Duel.IsExistingTarget(c74100225.filter,tp,LOCATION_GRAVE,0,1,nil,0x304e)
......
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