Commit 3b26634b authored by wind2009's avatar wind2009

Fix

parent 41736e25
Pipeline #42009 passed with stages
in 1 minute and 55 seconds
No preview for this file type
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
101304006 101304006
101304007 101304007
101304016 101304016
101304023
101304030 101304030
101304033 101304033
101304034 101304034
......
...@@ -25,16 +25,16 @@ function s.initial_effect(c) ...@@ -25,16 +25,16 @@ function s.initial_effect(c)
e3:SetValue(1) e3:SetValue(1)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--special summon --special summon
local e3=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,0)) e4:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_SPECIAL_SUMMON) e4:SetCategory(CATEGORY_SPECIAL_SUMMON)
e3:SetType(EFFECT_TYPE_IGNITION) e4:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_GRAVE) e4:SetRange(LOCATION_GRAVE)
e3:SetCountLimit(1,id+EFFECT_COUNT_CODE_DUEL) e4:SetCountLimit(1,id+EFFECT_COUNT_CODE_DUEL)
e3:SetCost(s.spcost) e4:SetCost(s.spcost)
e3:SetTarget(s.sptg) e4:SetTarget(s.sptg)
e3:SetOperation(s.spop) e4:SetOperation(s.spop)
c:RegisterEffect(e3) c:RegisterEffect(e4)
end end
function s.tgfilter(c) function s.tgfilter(c)
return c:IsRace(RACE_FIEND+RACE_ILLUSION+RACE_SPELLCASTER) and c:IsAbleToGrave() return c:IsRace(RACE_FIEND+RACE_ILLUSION+RACE_SPELLCASTER) and c:IsAbleToGrave()
...@@ -86,4 +86,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -86,4 +86,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToChain() and aux.NecroValleyFilter()(c) then if c:IsRelateToChain() and aux.NecroValleyFilter()(c) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end end
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