Commit 6348706c authored by salix5's avatar salix5

Merge pull request #1 from DailyShana/patch-1

fix
parents 9e036abd a4c2e027
...@@ -78,7 +78,7 @@ function c23064604.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -78,7 +78,7 @@ function c23064604.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local tg2=g:Select(tp,1,1,nil) local tg2=g:Select(tp,1,1,nil)
tg1:Merge(tg2) tg1:Merge(tg2)
if Duel.SendtoGrave(tg1,REASON_EFFECT)~=0 then if Duel.SendtoGrave(tg1,REASON_EFFECT)~=0 and tg1:IsExists(Card.IsLocation,2,nil,LOCATION_GRAVE) then
local sg=nil local sg=nil
local tg=Duel.GetMatchingGroup(Card.IsAbleToDeck,tp,0,LOCATION_HAND,nil) local tg=Duel.GetMatchingGroup(Card.IsAbleToDeck,tp,0,LOCATION_HAND,nil)
if tg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(23064604,3)) then if tg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(23064604,3)) then
......
...@@ -48,7 +48,9 @@ end ...@@ -48,7 +48,9 @@ end
function c27552504.tgop(e,tp,eg,ep,ev,re,r,rp) function c27552504.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToGrave,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,Card.IsAbleToGrave,tp,LOCATION_DECK,0,1,1,nil)
Duel.SendtoGrave(g,REASON_EFFECT) if g:GetCount()>0 then
Duel.SendtoGrave(g,REASON_EFFECT)
end
end end
function c27552504.spcon(e,tp,eg,ep,ev,re,r,rp) function c27552504.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -41,7 +41,9 @@ end ...@@ -41,7 +41,9 @@ end
function c34086406.operation1(e,tp,eg,ep,ev,re,r,rp) function c34086406.operation1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToGrave,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,Card.IsAbleToGrave,tp,LOCATION_DECK,0,1,1,nil)
Duel.SendtoGrave(g,REASON_EFFECT) if g:GetCount()>0 then
Duel.SendtoGrave(g,REASON_EFFECT)
end
end end
function c34086406.operation2(e,tp,eg,ep,ev,re,r,rp) function c34086406.operation2(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(34086406,3)) Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(34086406,3))
......
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