Commit 169c02fc authored by Fluorohydride's avatar Fluorohydride

Merge pull request #647 from salix5/patch

fix
parents d93a708c 77c8ecd0
...@@ -30,7 +30,7 @@ function c32362575.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,7 +30,7 @@ function c32362575.operation(e,tp,eg,ep,ev,re,r,rp)
if spcard:IsAbleToHand() then if spcard:IsAbleToHand() then
Duel.DisableShuffleCheck() Duel.DisableShuffleCheck()
Duel.SendtoHand(spcard,nil,REASON_EFFECT) Duel.SendtoHand(spcard,nil,REASON_EFFECT)
Duel.DiscardDeck(tp,dcount-seq-1,REASON_EFFECT) Duel.DiscardDeck(tp,dcount-seq-1,REASON_EFFECT+REASON_REVEAL)
Duel.ConfirmCards(1-tp,spcard) Duel.ConfirmCards(1-tp,spcard)
Duel.ShuffleHand(tp) Duel.ShuffleHand(tp)
else Duel.DiscardDeck(tp,dcount-seq,REASON_EFFECT+REASON_REVEAL) end else Duel.DiscardDeck(tp,dcount-seq,REASON_EFFECT+REASON_REVEAL) end
......
...@@ -37,11 +37,6 @@ function c62434031.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -37,11 +37,6 @@ function c62434031.operation(e,tp,eg,ep,ev,re,r,rp)
end end
function c62434031.tdcon(e,tp,eg,ep,ev,re,r,rp) function c62434031.tdcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.IsPlayerAffectedByEffect(tp,EFFECT_REVERSE_DECK) then
Debug.Message("Get it!")
else
Debug.Message("oops.")
end
return c:IsPreviousLocation(LOCATION_DECK) and return c:IsPreviousLocation(LOCATION_DECK) and
(c:IsReason(REASON_REVEAL) or c:IsPreviousPosition(POS_FACEUP) or Duel.IsPlayerAffectedByEffect(tp,EFFECT_REVERSE_DECK)) (c:IsReason(REASON_REVEAL) or c:IsPreviousPosition(POS_FACEUP) or Duel.IsPlayerAffectedByEffect(tp,EFFECT_REVERSE_DECK))
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