Commit e3936075 authored by TanakaKotoha's avatar TanakaKotoha

nanodesu

parent 0f3b1ade
......@@ -37,7 +37,7 @@ end
function c33700916.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c33700916.cfilter,tp,LOCATION_GRAVE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,c10113040.cfilter,tp,LOCATION_GRAVE,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,c33700916.cfilter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
end
function c33700916.cfilter(c)
......
......@@ -5,7 +5,7 @@ xpcall(function() require("expansions/script/c57300000") end,function() require(
cm.named_with_windbot=true
function cm.initial_effect(c)
c:EnableReviveLimit()
aux.AddFusionProcCode2FunRep(c,m-1,m-2,miyuki.IsFusionWindbot,1,63,false,false)
aux.AddFusionProcCode2FunRep(c,m-1,m-2,miyuki.IsFusionWindbot,1,63,true,true)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
......@@ -47,17 +47,17 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.sprfilter(c,fc)
return c:IsCanBeFusionMaterial(fc) and c:IsType(TYPE_MONSTER) and c:IsFaceup() and c:IsPreviousLocation(LOCATION_ONFIELD)
return c:IsCanBeFusionMaterial(fc) and c:IsType(TYPE_MONSTER) and c:IsFaceup()and c:IsPreviousLocation(LOCATION_ONFIELD)
end
function cm.sprcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local mg=Duel.GetMatchingGroup(cm.sprfilter,tp,LOCATION_REMOVED,0,nil,c)
return Duel.GetLocationCountFromEx(tp,tp,nil,TYPE_FUSION and c:CheckFusionMaterial(mg,nil,PLAYER_NONE))
return Duel.GetLocationCountFromEx(tp,tp,nil,c,LOCATION_MZONE) and c:CheckFusionMaterial(mg,nil,PLAYER_NONE)
end
function cm.sprop(e,tp,eg,ep,ev,re,r,rp,c)
local mg=Duel.GetMatchingGroup(cm.sprfilter,tp,LOCATION_REMOVED,0,nil,c)
local sg=Duel.SelectFusionMaterial(tp,c,mg,nil,PLAYER_NONE)
local sg=Duel.SelectFusionMaterial(tp,c,mg)
c:SetMaterial(sg)
Duel.SendtoGrave(sg,REASON_COST+REASON_RETURN)
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