Commit 5893ed73 authored by gg123gg's avatar gg123gg

Update c12070038.lua

parent 05d77eeb
Pipeline #6636 failed with stages
in 60 minutes and 3 seconds
...@@ -26,8 +26,8 @@ function cm.initial_effect(c) ...@@ -26,8 +26,8 @@ function cm.initial_effect(c)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,m+200) e1:SetCountLimit(1,m+200)
e1:SetTarget(cm.thtg) e1:SetTarget(cm.thtg1)
e1:SetOperation(cm.thop) e1:SetOperation(cm.thop1)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--special summon & disable --special summon & disable
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -60,11 +60,11 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,11 +60,11 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,tc) Duel.ConfirmCards(1-tp,tc)
end end
end end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thtg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,LOCATION_EXTRA,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,LOCATION_EXTRA,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_EXTRA) Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_EXTRA)
end end
function cm.thop(e,tp,eg,ep,ev,re,r,rp) function cm.thop1(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,LOCATION_EXTRA,0,nil) local g=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,LOCATION_EXTRA,0,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
local tc=g:Select(tp,1,1,nil) local tc=g:Select(tp,1,1,nil)
......
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