Commit 9fcc21f2 authored by POLYMER's avatar POLYMER

fix

parent 2a3d8ebf
......@@ -121,7 +121,13 @@ function c44401020.retop(e,tp,eg,ep,ev,re,r,rp)
g:DeleteGroup()
for tc in aux.Next(sg) do
if tc:IsPreviousLocation(LOCATION_MZONE) then
Duel.ReturnToField(tc)
local pos=tc:GetPreviousPosition()
if pos==POS_FACEDOWN_ATTACK then
pos=POS_FACEUP_ATTACK
elseif pos==POS_FACEDOWN_DEFENSE then
pos=POS_FACEUP_DEFENSE
end
Duel.ReturnToField(tc,pos)
else
Duel.SendtoHand(tc,tc:GetPreviousControler(),REASON_EFFECT)
end
......
......@@ -77,9 +77,9 @@ end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and s.thfilter(chkc,e,tp) end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingTarget(s.filter,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
and Duel.IsExistingTarget(s.thfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectTarget(tp,s.filter,tp,LOCATION_GRAVE,0,1,1,nil,e,tp)
local g=Duel.SelectTarget(tp,s.thfilter,tp,LOCATION_GRAVE,0,1,1,nil,e,tp)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,0,0)
end
function s.thop(e,tp,eg,ep,ev,re,r,rp)
......
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