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

man!

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