Commit fa178451 authored by Nemo Ma's avatar Nemo Ma

fix

parent 6fe0fcdd
......@@ -9,7 +9,7 @@ end
function cm.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,cm.mfilter,3,2)
c:EnableReviveLimit()
c:EnableReviveLimit()
--tograve
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
......@@ -54,6 +54,9 @@ function cm.initial_effect(c)
e5:SetCondition(cm.spcon2)
c:RegisterEffect(e5)
end
function cm.mfilter(c)
return cm.AuroraBattlePrincess(c)
end
function cm.xccon1(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ) and e:GetHandler():GetFlagEffect(m)>0 and not Duel.IsPlayerAffectedByEffect(tp,40009707)
end
......
......@@ -27,7 +27,7 @@ function cm.initial_effect(c)
e3:SetDescription(aux.Stringid(m,1))
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetRange(LOCATION_GRAVE)
e3:SetCode(EVENT_FREE_CHAIN)
e3:SetCode(EVENT_CHAINING)
e3:SetCategory(CATEGORY_NEGATE+CATEGORY_TODECK)
e3:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e3:SetCountLimit(1,40009704)
......
......@@ -36,7 +36,7 @@ function cm.condition1(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.cfilter1,tp,0,LOCATION_MZONE,5,nil)
end
function cm.condition2(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(1-tp,LOCATION_MZONE,0)>1
return Duel.GetFieldGroupCount(1-tp,LOCATION_MZONE,0)>0
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0)
......
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