Commit e0d45699 authored by TanakaKotoha's avatar TanakaKotoha

pre-update

parent 9eeaf005
...@@ -88,12 +88,11 @@ function c72404107.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -88,12 +88,11 @@ function c72404107.activate(e,tp,eg,ep,ev,re,r,rp)
end end
elseif sel==4 then elseif sel==4 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectMatchingCard(tp,c72404107.filter,tp,LOCATION_GRAVE,0,5,5,nil) local g=Duel.SelectMatchingCard(tp,c72404107.filter1,tp,LOCATION_GRAVE,0,5,5,nil)
if g:GetCount()==5 then if Duel.SendtoDeck(g,nil,2,REASON_EFFECT)==5 then
if Duel.SendtoDeck(g,REASON_EFFECT)~=5 then
Duel.Draw(tp,1,REASON_EFFECT) Duel.Draw(tp,1,REASON_EFFECT)
end end
end
else else
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectMatchingCard(tp,c72404107.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c72404107.filter,tp,LOCATION_DECK,0,1,1,nil)
......
...@@ -72,20 +72,21 @@ function c72404143.operation3(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,20 +72,21 @@ function c72404143.operation3(e,tp,eg,ep,ev,re,r,rp)
while tg do while tg do
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(72404143,2)) e1:SetDescription(aux.Stringid(72404143,2))
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_EFFECT+EFFECT_CANNOT_BE_EFFECT_TARGET) e1:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CLIENT_HINT) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CLIENT_HINT)
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
-- e1:SetTarget(c72404143.indtg)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetValue(1) e1:SetValue(1)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tg:RegisterEffect(e1) tg:RegisterEffect(e1)
tg=Group.GetNext(g) local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
tg:RegisterEffect(e2)
tg=g:GetNext()
end end
end end
--function c72404143.indtg(e,c) --function c72404143.indtg(e,c)
-- return c==e:GetHandler() -- return c==e:GetHandler()
-- or c:IsFaceup() and c:IsRace(RACE_PLANT) and e:GetHandler():GetLinkedGroup():IsContains(c) -- or c:IsFaceup() and c:IsRace(RACE_PLANT) and e:GetHandler():GetLinkedGroup():IsContains(c)
--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