Commit 924af46f authored by wind2009's avatar wind2009

format

parent 51ebdfb8
Pipeline #31746 failed with stages
in 45 seconds
...@@ -98,4 +98,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -98,4 +98,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -76,4 +76,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,4 +76,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end end
end end
end end
\ No newline at end of file
...@@ -177,4 +177,4 @@ function s.fspop(e,tp,eg,ep,ev,re,r,rp) ...@@ -177,4 +177,4 @@ function s.fspop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.cfilter(c) function s.cfilter(c)
return c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) return c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED)
end end
\ No newline at end of file
...@@ -81,4 +81,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,4 +81,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc) then if tc:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end end
end end
\ No newline at end of file
...@@ -54,4 +54,4 @@ function s.splimit(e,c,sump,sumtype,sumpos,targetp,se) ...@@ -54,4 +54,4 @@ function s.splimit(e,c,sump,sumtype,sumpos,targetp,se)
end end
function s.sumtg(e,c) function s.sumtg(e,c)
return c:IsRace(RACE_ZOMBIE) and c:IsLevelBelow(4) return c:IsRace(RACE_ZOMBIE) and c:IsLevelBelow(4)
end end
\ No newline at end of file
...@@ -78,4 +78,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -78,4 +78,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end end
end end
\ No newline at end of file
...@@ -77,4 +77,4 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,4 +77,4 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateActivation(ev) and re:GetHandler():IsRelateToEffect(re) then if Duel.NegateActivation(ev) and re:GetHandler():IsRelateToEffect(re) then
Duel.Remove(eg,POS_FACEUP,REASON_EFFECT) Duel.Remove(eg,POS_FACEUP,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -91,4 +91,4 @@ function s.effcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -91,4 +91,4 @@ function s.effcon(e,tp,eg,ep,ev,re,r,rp)
end end
function s.efilter(e,te) function s.efilter(e,te)
return te:GetOwner()~=e:GetOwner() return te:GetOwner()~=e:GetOwner()
end end
\ No newline at end of file
...@@ -7,6 +7,7 @@ function s.initial_effect(c) ...@@ -7,6 +7,7 @@ function s.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER|TIMING_END_PHASE)
e1:SetCountLimit(1,id) e1:SetCountLimit(1,id)
e1:SetTarget(s.target) e1:SetTarget(s.target)
e1:SetOperation(s.activate) e1:SetOperation(s.activate)
...@@ -72,4 +73,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,4 +73,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
if tg:GetCount()>0 then if tg:GetCount()>0 then
Duel.SendtoGrave(tg,REASON_EFFECT+REASON_RETURN) Duel.SendtoGrave(tg,REASON_EFFECT+REASON_RETURN)
end end
end end
\ No newline at end of file
...@@ -67,4 +67,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,4 +67,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.splimit(e,c,sump,sumtype,sumpos,targetp,se) function s.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsRace(RACE_ZOMBIE) return not c:IsRace(RACE_ZOMBIE)
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