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 @@
101304006
101304007
101304016
101304023
101304030
101304033
101304034
......
......@@ -25,16 +25,16 @@ function s.initial_effect(c)
e3:SetValue(1)
c:RegisterEffect(e3)
--special summon
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,0))
e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_GRAVE)
e3:SetCountLimit(1,id+EFFECT_COUNT_CODE_DUEL)
e3:SetCost(s.spcost)
e3:SetTarget(s.sptg)
e3:SetOperation(s.spop)
c:RegisterEffect(e3)
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(id,1))
e4:SetCategory(CATEGORY_SPECIAL_SUMMON)
e4:SetType(EFFECT_TYPE_IGNITION)
e4:SetRange(LOCATION_GRAVE)
e4:SetCountLimit(1,id+EFFECT_COUNT_CODE_DUEL)
e4:SetCost(s.spcost)
e4:SetTarget(s.sptg)
e4:SetOperation(s.spop)
c:RegisterEffect(e4)
end
function s.tgfilter(c)
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)
if c:IsRelateToChain() and aux.NecroValleyFilter()(c) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
end
\ No newline at end of file
end
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