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

man!

parent d2645f0c
No preview for this file type
......@@ -26,7 +26,7 @@ function cm.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e2:SetCountLimit(1,m+100)
e2:SetCondition(cm.tfcon)
e2:SetTarget(cm.thtg)
e2:SetTarget(cm.tftg)
e2:SetOperation(cm.tfop)
c:RegisterEffect(e2)
end
......
......@@ -8,7 +8,7 @@ function cm.initial_effect(c)
.e("SetType",EFFECT_TYPE_ACTIVATE)
.e("SetCode",EVENT_TO_HAND)
.e("SetCondition",function(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(function(c,tp) return c:IsControler(tp) end,1,nil,1-tp) end)
return eg:IsExists(function(c,tp) return c:IsControler(tp) and c:IsReason(REASON_EFFECT) end,1,nil,1-tp) end)
.e("SetTarget",function(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
if Duel.IsExistingMatchingCard(function(c) return c:IsCode(4204000) end,tp,LOCATION_ONFIELD,0,1,nil) then
......
......@@ -43,7 +43,7 @@ end
function c65810105.filter(c)
return c:IsRace(RACE_INSECT) and Duel.GetMZoneCount(tp,c,tp)>0
return c:IsRace(RACE_INSECT) and Duel.GetMZoneCount(tp,c,tp)>0 and c:IsAbleToRemoveAsCost()
end
function c65810105.spcon(e,c)
if c==nil then return true end
......@@ -60,7 +60,7 @@ function c65810105.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function c65810105.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=e:GetLabelObject()
Duel.Remove(g,nil,REASON_SPSUMMON)
Duel.Remove(g,POS_FACEUP,REASON_SPSUMMON)
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