Commit c3f0247a authored by DailyShana's avatar DailyShana

fix

parent fb894d44
......@@ -60,13 +60,10 @@ function c29087919.filter2(c,e,tp)
end
function c29087919.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(c29087919.filter2,nil,e,tp)
local ct=g:GetCount()
if ct<2 then return end
if Duel.GetLocationCount(tp,LOCATION_MZONE)<ct then return end
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
Duel.BreakEffect()
local ct=Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
local xyzg=Duel.GetMatchingGroup(c29087919.xyzfilter,tp,LOCATION_EXTRA,0,nil,g,ct)
if xyzg:GetCount()>0 then
if ct>=2 and xyzg:GetCount()>0 then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local xyz=xyzg:Select(tp,1,1,nil):GetFirst()
Duel.XyzSummon(tp,xyz,g)
......
......@@ -32,7 +32,7 @@ function c45627618.initial_effect(c)
e4:SetCategory(CATEGORY_DESTROY)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_DESTROYED)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e4:SetCondition(c45627618.pencon)
e4:SetTarget(c45627618.pentg)
e4:SetOperation(c45627618.penop)
......
......@@ -54,14 +54,14 @@ function c4807253.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e2,true)
end
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetTargetRange(1,0)
e2:SetTarget(c4807253.splimit)
e2:SetReset(RESET_PHASE+RESET_END)
Duel.RegisterEffect(e2,tp)
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetTargetRange(1,0)
e3:SetTarget(c4807253.splimit)
e3:SetReset(RESET_PHASE+RESET_END)
Duel.RegisterEffect(e3,tp)
end
function c4807253.damval(e,re,val,r,rp,rc)
if bit.band(r,REASON_EFFECT)~=0 and re==e:GetLabelObject() then return 0 end
......
......@@ -13,6 +13,7 @@ function c7394770.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e2:SetCode(EVENT_LEAVE_FIELD)
e2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e2:SetOperation(c7394770.desop)
c:RegisterEffect(e2)
--atk
......
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