Commit 1d6a2c2d authored by Tachibana's avatar Tachibana

rar

parent 36c48739
Pipeline #3721 passed with stages
in 51 minutes and 49 seconds
......@@ -93,9 +93,10 @@ function c12051012.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_ONFIELD,1,nil) and e:GetHandler():IsAbleToRemove() end
local g=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_ONFIELD,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
Duel.RegisterFlagEffect(tp,12051012,RESET_CHAIN,0,1)
end
function c12051012.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST)
if Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST)==0 then return end
if e:GetHandler():GetPreviousLocation()==LOCATION_GRAVE then
Duel.RegisterFlagEffect(tp,12051012,RESET_PHASE+PHASE_END,0,1)
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