Commit 898e36a6 authored by wind2009's avatar wind2009

Fix

parent 31798852
No preview for this file type
...@@ -3,4 +3,8 @@ ...@@ -3,4 +3,8 @@
100228002 100228002
100238001 100238001
100239001 100239001
100200271 100200271
\ No newline at end of file 100241001
100241002
100241003
100200272
\ No newline at end of file
...@@ -50,4 +50,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,4 +50,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end end
Duel.ShuffleHand(p) Duel.ShuffleHand(p)
end end
end end
\ No newline at end of file
...@@ -87,4 +87,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,4 +87,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToChain() and aux.NecroValleyFilter()(tc) then if tc:IsRelateToChain() 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
...@@ -82,4 +82,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,4 +82,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -20,7 +20,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -20,7 +20,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.spfilter(c,e,tp) function s.spfilter(c,e,tp)
return c:IsRace(RACE_DINOSAUR) and c:IsAttribute(ATTRIBUTE_WIND+ATTRIBUTE_WATER) and c:IsLevelBelow(5) return c:IsRace(RACE_DINOSAUR) and c:IsAttribute(ATTRIBUTE_WIND+ATTRIBUTE_WATER) and c:IsLevelBelow(5)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENCE) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
...@@ -40,7 +40,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local sg1=g:Select(tp,3,3,nil) local sg1=g:Select(tp,3,3,nil)
local tc=sg1:GetFirst() local tc=sg1:GetFirst()
while tc do while tc do
Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP_DEFENSE)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE) e1:SetCode(EFFECT_DISABLE)
...@@ -66,5 +66,5 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,5 +66,5 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function s.splimit(e,c) function s.splimit(e,c)
return not c:IsRace(RACE_DINOSAUR+RACE_SEASERPENT) return not c:IsRace(RACE_DINOSAUR+RACE_SEASERPENT) and c:IsLocation(LOCATION_EXTRA)
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