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

vme50

parent c88d1389
No preview for this file type
expansions/pics/50218121.jpg

76.7 KB | W: | H:

expansions/pics/50218121.jpg

133 KB | W: | H:

expansions/pics/50218121.jpg
expansions/pics/50218121.jpg
expansions/pics/50218121.jpg
expansions/pics/50218121.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50218216.jpg

75.7 KB | W: | H:

expansions/pics/50218216.jpg

133 KB | W: | H:

expansions/pics/50218216.jpg
expansions/pics/50218216.jpg
expansions/pics/50218216.jpg
expansions/pics/50218216.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50223155.jpg

127 KB | W: | H:

expansions/pics/50223155.jpg

127 KB | W: | H:

expansions/pics/50223155.jpg
expansions/pics/50223155.jpg
expansions/pics/50223155.jpg
expansions/pics/50223155.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50223405.jpg

33.4 KB | W: | H:

expansions/pics/50223405.jpg

121 KB | W: | H:

expansions/pics/50223405.jpg
expansions/pics/50223405.jpg
expansions/pics/50223405.jpg
expansions/pics/50223405.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -23,7 +23,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.filter(c)
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and not c:IsType(TYPE_EFFECT)
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and c:IsAttribute(ATTRIBUTE_WIND) and not c:IsType(TYPE_EFFECT)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.filter(chkc) end
......
......@@ -30,6 +30,7 @@ function cm.initial_effect(c)
e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_SZONE)
e3:SetCountLimit(1,EFFECT_COUNT_CODE_SINGLE)
e3:SetTarget(cm.atktg)
e3:SetOperation(cm.activate)
c:RegisterEffect(e3)
local e2=Effect.CreateEffect(c)
......@@ -69,6 +70,10 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ChangeTargetCard(ev,g)
Duel.ChangeChainOperation(ev,cm.repop)
end
function cm.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(cm.filter,tp,LOCATION_MZONE,0,nil)
if chk==0 then return #g>0 end
end
function cm.repop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(cm.filter,1-tp,LOCATION_MZONE,0,nil)
local tc=g:GetFirst()
......
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