Commit 87c1712d authored by nanahira's avatar nanahira

catchup

parent 935825d4
......@@ -23,7 +23,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,1-tp,LOCATION_EXTRA)
end
function cm.op(e,tp,eg,ep,ev,re,r,rp)
local cd=Duel.AnnounceCard(tp,TYPE_MONSTER)
local cd=Duel.AnnounceCard(tp,TYPE_MONSTER,OPCODE_ISTYPE)
local g=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
Duel.ConfirmCards(tp,g)
local tg=g:Filter(Card.IsCode,nil,cd)
......
......@@ -50,7 +50,7 @@ function cm.skipop(e,tp,eg,ep,ev,re,r,rp)
end
if #avaliable_list>0 then
Duel.Hint(HINT_CARD,0,e:GetHandler():GetOriginalCode())
local rcode=Duel.AnnounceCardFilter(tp,cm.get_announce(avaliable_list))
local rcode=Duel.AnnounceCard(tp,cm.get_announce(avaliable_list))
local et=Senya.GainEffect_3L(e:GetHandler(),rcode)
if et then
for i,te in pairs(et) do
......
......@@ -51,7 +51,7 @@ function cm.target1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_EXTRA)>0 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CODE)
cm.announce_filter={TYPE_FUSION+TYPE_SYNCHRO+TYPE_XYZ+TYPE_LINK,OPCODE_ISTYPE}
local ac=Duel.AnnounceCardFilter(tp,table.unpack(cm.announce_filter))
local ac=Duel.AnnounceCard(tp,table.unpack(cm.announce_filter))
Duel.SetTargetParam(ac)
Duel.SetOperationInfo(0,CATEGORY_ANNOUNCE,nil,0,tp,ANNOUNCE_CARD_FILTER)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,tp,LOCATION_EXTRA)
......
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