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

Replace c12847068.lua

parent 8ce9b51d
Pipeline #31112 passed with stages
in 38 minutes and 25 seconds
......@@ -69,10 +69,12 @@ end
function c12847068.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local tc=Duel.GetFieldCard(tp,LOCATION_GRAVE,Duel.GetFieldGroupCount(tp,LOCATION_GRAVE,0)-1)
if tc then
local type=bit.band(tc:GetType(),0x7)
local g=Duel.SelectMatchingCard(tp,c12847068.tgfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil,type)
if g:GetCount()>0 then
Duel.HintSelection(g)
Duel.SendtoGrave(g,REASON_EFFECT)
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