Commit f92d59ad authored by wind2009's avatar wind2009

Add new cards

parent 142fb4d1
Pipeline #35398 passed with stages
in 2 minutes
No preview for this file type
...@@ -72,3 +72,4 @@ ...@@ -72,3 +72,4 @@
101301075 101301075
101301076 101301076
101301077 101301077
101301078
...@@ -75,4 +75,4 @@ function s.atktg(e,c) ...@@ -75,4 +75,4 @@ function s.atktg(e,c)
end end
function s.atkval(e,c) function s.atkval(e,c)
return c:GetBaseDefense() return c:GetBaseDefense()
end end
\ No newline at end of file
...@@ -107,4 +107,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -107,4 +107,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
...@@ -97,4 +97,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -97,4 +97,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(c,nil,REASON_EFFECT) Duel.SendtoHand(c,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,c) Duel.ConfirmCards(1-tp,c)
end end
end end
\ No newline at end of file
...@@ -42,4 +42,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,4 +42,4 @@ function s.tdop(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.SendtoDeck(c,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(c,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -71,4 +71,4 @@ function s.mfilter(c) ...@@ -71,4 +71,4 @@ function s.mfilter(c)
end end
function s.ritual_filter(c) function s.ritual_filter(c)
return c:IsType(TYPE_RITUAL) and c:IsSetCard(0x1c3) return c:IsType(TYPE_RITUAL) and c:IsSetCard(0x1c3)
end end
\ No newline at end of file
...@@ -59,4 +59,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -59,4 +59,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
end end
\ 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)
Duel.Remove(sg,POS_FACEUP,REASON_RULE,1-tp) Duel.Remove(sg,POS_FACEUP,REASON_RULE,1-tp)
end end
end end
end end
\ No newline at end of file
...@@ -77,4 +77,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,4 +77,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToChain() and tc:IsType(TYPE_MONSTER) and aux.NecroValleyFilter()(tc) then if tc:IsRelateToChain() and tc:IsType(TYPE_MONSTER) and aux.NecroValleyFilter()(tc) then
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -85,4 +85,4 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -85,4 +85,4 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.negop(e,tp,eg,ep,ev,re,r,rp) function s.negop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateActivation(ev) Duel.NegateActivation(ev)
end end
\ No newline at end of file
...@@ -137,4 +137,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -137,4 +137,4 @@ function s.desop(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
...@@ -186,4 +186,4 @@ function s.pzop(e,tp,eg,ep,ev,re,r,rp) ...@@ -186,4 +186,4 @@ function s.pzop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToChain() then if c:IsRelateToChain() then
Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true) Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end end
end end
\ No newline at end of file
...@@ -62,4 +62,4 @@ end ...@@ -62,4 +62,4 @@ end
function s.desop(e,tp,eg,ep,ev,re,r,rp) function s.desop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.desfilter,tp,0,LOCATION_MZONE,nil) local g=Duel.GetMatchingGroup(s.desfilter,tp,0,LOCATION_MZONE,nil)
Duel.Destroy(g,REASON_EFFECT) Duel.Destroy(g,REASON_EFFECT)
end end
\ No newline at end of file
...@@ -99,4 +99,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -99,4 +99,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.atkval(e,c) function s.atkval(e,c)
return -c:GetBaseDefense() return -c:GetBaseDefense()
end end
\ No newline at end of file
...@@ -82,4 +82,4 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,4 +82,4 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.HintSelection(g2) Duel.HintSelection(g2)
Duel.Destroy(g2,REASON_EFFECT) Duel.Destroy(g2,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -128,4 +128,4 @@ end ...@@ -128,4 +128,4 @@ end
function s.mtval(e,c) function s.mtval(e,c)
if not c then return true end if not c then return true end
return c:IsSetCard(0xdf) return c:IsSetCard(0xdf)
end end
\ No newline at end of file
...@@ -30,4 +30,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,4 +30,4 @@ function s.activate(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
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