Commit c42548bb authored by Tachibana's avatar Tachibana

E

parent a0acf4df
No preview for this file type
......@@ -39,7 +39,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e4)
end
function cm.spfilter(c,e,tp)
return muxu.check_fusion_set_Urban(c) and c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return muxu.check_set_Urban(c) and c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
......@@ -40,7 +40,7 @@ function cm.sfilter(c)
return muxu.check_set_Urban(c) and c:IsType(TYPE_MONSTER)
end
function cm.descfilter(c)
return (muxu.check_fusion_set_Urban(c) or c:IsCode(1102000)) and c:IsFaceup() and c:IsType(TYPE_MONSTER)
return (muxu.check_set_Urban(c) or c:IsCode(1102000)) and c:IsFaceup() and c:IsType(TYPE_MONSTER)
end
function cm.discon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -72,7 +72,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.cfilter(c,tp)
return c:IsFaceup() and (muxu.check_fusion_set_Urban(c) or c:IsCode(1102000)) and c:IsControler(tp)
return c:IsFaceup() and (muxu.check_set_Urban(c) or c:IsCode(1102000)) and c:IsControler(tp)
end
function cm.discon(e,tp,eg,ep,ev,re,r,rp)
local c=Duel.GetAttackTarget()
......
......@@ -27,7 +27,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.cfilter(c)
return muxu.check_fusion_set_Urban(c) and c:IsFaceup() and c:IsType(TYPE_MONSTER)
return muxu.check_set_Urban(c) and c:IsFaceup() and c:IsType(TYPE_MONSTER)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(cm.cfilter,tp,LOCATION_MZONE,0,nil)
......@@ -76,7 +76,7 @@ function cm.retop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(tc,nil,2,REASON_EFFECT)
end
function cm.repfilter1(c,tp)
return (muxu.check_fusion_set_Urban(c) or c:IsCode(1102000)) and c:IsFaceup() and c:IsType(TYPE_MONSTER)
return (muxu.check_set_Urban(c) or c:IsCode(1102000)) and c:IsFaceup() and c:IsType(TYPE_MONSTER)
end
function cm.repfilter2(c)
return (c:IsOnField() or c:IsLocation(LOCATION_HAND)) and c:IsReason(REASON_EFFECT+REASON_BATTLE) and not c:IsReason(REASON_REPLACE)
......
......@@ -128,8 +128,8 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE)
c:RegisterEffect(e1)
local g=Duel.GetMatchingGroup(nil,tp,0,LOCATION_MZONE,nil)
local dg=g:SelectSubGroup(tp,cm.gfilter,1,#g,num)
local dg=g:SelectSubGroup(tp,cm.gfilter,false,1,#g,num)
Duel.HintSelection(dg)
Duel.Destroy(dg)
Duel.Destroy(dg,REASON_EFFECT)
end
end
\ No newline at end of file
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