Commit 9f891ff3 authored by IamIpanda's avatar IamIpanda

Fix 稳定锚 to fix its card description

parent 52ae0ccb
Pipeline #40087 passed with stages
in 25 seconds
......@@ -67,7 +67,7 @@ function s.resolveop(e,tp,eg,ep,ev,re,r,rp)
if #g2==0 then return end
if ct>=#g2 then ct=#g2 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
Duel.Remove(g2:Select(tp,ct,ct,nil),POS_FACEUP,REASON_EFFECT)
Duel.Remove(g2:Select(tp,ct,ct,nil),POS_FACEDOWN,REASON_EFFECT)
if Duel.GetOperatedGroup():GetCount()>0 then
local c=e:GetLabelObject()
local e1=Effect.CreateEffect(c)
......@@ -76,7 +76,7 @@ function s.resolveop(e,tp,eg,ep,ev,re,r,rp)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(0,1)
e1:SetValue(0)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_NO_EFFECT_DAMAGE)
......@@ -87,7 +87,7 @@ function s.resolveop(e,tp,eg,ep,ev,re,r,rp)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetTargetRange(0,1)
e3:SetValue(1)
e3:SetReset(RESET_PHASE+PHASE_END)
e3:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e3,tp)
if Duel.SelectYesNo(1-tp,aux.Stringid(id,0)) and c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) then
Duel.SendtoHand(c,1-tp,REASON_EFFECT)
......
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