Commit ff8fe7d5 authored by POLYMER's avatar POLYMER

fix

parent bc19b13d
......@@ -46,7 +46,7 @@ function c76372772.initial_effect(c)
c:RegisterEffect(e3)
end
function c76372772.mfilter(c,tp,xyzc,re)
return Duel.GetLocationCountFromEx(tp,tp,c)>0 and not c:IsCode(76372772) and (re:GetHandler():IsSetCard(0x3a) or c:IsSetCard(0x3a))
return Duel.GetLocationCountFromEx(tp,tp,c,TYPE_XYZ)>0 and not c:IsCode(76372772) and (re:GetHandler():IsSetCard(0x3a) or c:IsSetCard(0x3a))
end
function c76372772.xyzcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c76372772.mfilter,1,nil,tp,e:GetHandler(),re) and e:GetHandler():IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false)
......
......@@ -86,6 +86,7 @@ function c9910202.disop(e,tp,eg,ep,ev,re,r,rp)
and e:GetLabel()==1 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c9910202.spfilter,tp,LOCATION_REMOVED,0,1,nil,e,tp)
and Duel.SelectYesNo(tp,aux.Stringid(9910202,0)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c9910202.spfilter,tp,LOCATION_REMOVED,0,1,1,nil,e,tp)
if g:GetCount()>0 then
......
......@@ -2,7 +2,7 @@
function c9910512.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_POSITION+CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
......
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