Commit 08bc8e31 authored by Tachibana's avatar Tachibana

得得得得得

parent ca52c334
......@@ -4906,3 +4906,6 @@ rsof.Escape_Old_Functions()
--directly enable will cause bugs, but i am lazy to find what cards i have used this function
--rssf.EnableSpecialProcedure()
rsof.Get_Cate_Hint_Op_List()
if not rsof.SelectHint then
rsof.SelectHint=rshint.Select
end
\ No newline at end of file
......@@ -150,10 +150,11 @@ function cm.retop(e,tp,eg,ep,ev,re,r,rp)
else
e:GetOwner():SetTurnCounter(ct+1)
local tc=e:GetLabelObject()
local tp1=tc:GetPreviousControler()
if tc:IsType(TYPE_FIELD) and tc:IsPreviousLocation(LOCATION_FZONE) then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
Duel.MoveToField(tc,tp,tp1,LOCATION_FZONE,POS_FACEUP,true)
elseif tc:IsType(TYPE_PENDULUM) and tc:IsPreviousLocation(LOCATION_PZONE) then
Duel.MoveToField(tc,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
Duel.MoveToField(tc,tp,tp1,LOCATION_PZONE,POS_FACEUP,true)
else
Duel.ReturnToField(e:GetLabelObject())
end
......
......@@ -83,6 +83,14 @@ function cm.retop(e,tp,eg,ep,ev,re,r,rp)
return false
else
e:GetOwner():SetTurnCounter(ct+1)
Duel.ReturnToField(e:GetLabelObject())
local tc=e:GetLabelObject()
local tp1=tc:GetPreviousControler()
if tc:IsType(TYPE_FIELD) and tc:IsPreviousLocation(LOCATION_FZONE) then
Duel.MoveToField(tc,tp,tp1,LOCATION_FZONE,POS_FACEUP,true)
elseif tc:IsType(TYPE_PENDULUM) and tc:IsPreviousLocation(LOCATION_PZONE) then
Duel.MoveToField(tc,tp,tp1,LOCATION_PZONE,POS_FACEUP,true)
else
Duel.ReturnToField(e:GetLabelObject())
end
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