You need to sign in or sign up before continuing.
Commit 3fb37c5c authored by wind2009's avatar wind2009

Fix

parent c81bd3bc
Pipeline #42715 canceled with stages
in 24 seconds
No preview for this file type
pics/101303088.jpg

94 KB | W: | H:

pics/101303088.jpg

94 KB | W: | H:

pics/101303088.jpg
pics/101303088.jpg
pics/101303088.jpg
pics/101303088.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -69,7 +69,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,7 +69,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE)
e1:SetValue(800) e1:SetValue(800)
c:RegisterEffect(e1) c:RegisterEffect(e1)
elseif op==2 then elseif op==2 then
......
...@@ -44,6 +44,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,6 +44,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local dg=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_HAND,0,2,2,nil) local dg=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_HAND,0,2,2,nil)
Duel.BreakEffect() Duel.BreakEffect()
Duel.ShuffleHand(tp)
Duel.SendtoDeck(dg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(dg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
end end
......
...@@ -20,7 +20,7 @@ function s.initial_effect(c) ...@@ -20,7 +20,7 @@ function s.initial_effect(c)
--effect --effect
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1)) e3:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_COUNTER) e3:SetCategory(CATEGORY_COUNTER+CATEGORY_SSET)
e3:SetType(EFFECT_TYPE_IGNITION) e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_GRAVE) e3:SetRange(LOCATION_GRAVE)
e3:SetCountLimit(1,id+o) e3:SetCountLimit(1,id+o)
...@@ -51,8 +51,9 @@ function s.setfilter(c) ...@@ -51,8 +51,9 @@ function s.setfilter(c)
return c:IsFaceupEx() and c:IsCode(24094653) and c:IsSSetable() return c:IsFaceupEx() and c:IsCode(24094653) and c:IsSSetable()
end end
function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk) function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local b1=Duel.IsExistingMatchingCard(Card.IsCanAddCounter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,0x1041,1) local b1=Duel.IsExistingMatchingCard(Card.IsCanAddCounter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,0x1041,1)
local b2=Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil) local b2=Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,c)
if chk==0 then return b1 or b2 end if chk==0 then return b1 or b2 end
local op=0 local op=0
if b1 or b2 then if b1 or b2 then
...@@ -91,6 +92,7 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -91,6 +92,7 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.setfilter),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.setfilter),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
if #g>0 then if #g>0 then
Duel.HintSelection(g)
Duel.SSet(tp,g) Duel.SSet(tp,g)
end end
end 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