Commit c2f4ed38 authored by 聖園ミカ's avatar 聖園ミカ 🐟

str

parent e1ed5e5c
...@@ -50,8 +50,13 @@ function s.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,8 +50,13 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then if g:GetCount()>0 then
local tgc=g:GetFirst() local tgc=g:GetFirst()
Duel.HintSelection(g) Duel.HintSelection(g)
if Duel.SendtoGrave(tgc,REASON_EFFECT) and tgc:IsType(TYPE_CONTINUOUS) and Duel.GetLocationCount(1-tp,LOCATION_SZONE)>0 and not tgc:IsForbidden() and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then if Duel.SendtoGrave(tgc,REASON_EFFECT) and rc:IsSSetable(true) and Duel.GetLocationCount(1-tp,LOCATION_SZONE)>0 and not tgc:IsForbidden() and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.BreakEffect()
if tgc:IsType(TYPE_CONTINUOUS) then
Duel.MoveToField(tgc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tgc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
else
Duel.SSet(tp,tgc)
end
end end
end end
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