Commit 14e9a3ae authored by Nemo Ma's avatar Nemo Ma

fix

parent fb9324a0
...@@ -71,6 +71,6 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,6 +71,6 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-p,tc) Duel.ConfirmCards(1-p,tc)
end end
cm[p]=cm[p]+1
end end
cm[p]=cm[p]+1
end end
\ No newline at end of file
...@@ -4,7 +4,7 @@ local m , cm = rscf.DefineCard(40009770) ...@@ -4,7 +4,7 @@ local m , cm = rscf.DefineCard(40009770)
function cm.initial_effect(c) function cm.initial_effect(c)
--synchro summon --synchro summon
c:EnableReviveLimit() c:EnableReviveLimit()
aux.AddSynchroMixProcedure(c,cm.matfilter1,nil,nil,aux.NonTuner(Card.IsAttribute,ATTRIBUTE_FIRE)1,99) aux.AddSynchroMixProcedure(c,cm.matfilter1,nil,nil,aux.NonTuner(Card.IsAttribute,ATTRIBUTE_FIRE),1,99)
--special summon --special summon
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -37,7 +37,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -37,7 +37,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.DiscardHand(tp,cm.costfilter,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,cm.costfilter,1,1,REASON_COST+REASON_DISCARD)
end end
function cm.spfilter(c,e,tp) function cm.spfilter(c,e,tp)
return ((c:IsSetCard(0x8f1b) and c:IsType(TYPE_RITUAL)) or c:IsCode(40009579)) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,true,false) return ((c:IsSetCard(0xcf1b) and c:IsType(TYPE_RITUAL)) or c:IsCode(40009579)) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,true,false)
end end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and cm.spfilter(chkc,e,tp) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and cm.spfilter(chkc,e,tp) end
...@@ -68,5 +68,5 @@ function cm.tgop(e,tp) ...@@ -68,5 +68,5 @@ function cm.tgop(e,tp)
rsop.SelectOperate("tf",tp,aux.NecroValleyFilter(cm.tffilter),tp,LOCATION_GRAVE,0,1,1,nil,{},e,tp) rsop.SelectOperate("tf",tp,aux.NecroValleyFilter(cm.tffilter),tp,LOCATION_GRAVE,0,1,1,nil,{},e,tp)
end end
function cm.tffilter(c,e,tp) function cm.tffilter(c,e,tp)
return c:IsSetCard(0x7f1b) and c:IsComplexType(TYPE_SPELL+TYPE_CONTINUOUS) and not c:IsForbidden() and Duel.GetLocationCount(tp,LOCATION_SZONE) > 0 return c:IsSetCard(0xaf1b) and c:IsComplexType(TYPE_SPELL+TYPE_CONTINUOUS) and not c:IsForbidden() and Duel.GetLocationCount(tp,LOCATION_SZONE) > 0
end end
\ No newline at end of file
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