Commit c8a96a09 authored by Tachibana's avatar Tachibana

ndyd

parent 58c71e1c
expansions/pics/65030078.jpg

28.7 KB | W: | H:

expansions/pics/65030078.jpg

129 KB | W: | H:

expansions/pics/65030078.jpg
expansions/pics/65030078.jpg
expansions/pics/65030078.jpg
expansions/pics/65030078.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/65030079.jpg

32 KB | W: | H:

expansions/pics/65030079.jpg

130 KB | W: | H:

expansions/pics/65030079.jpg
expansions/pics/65030079.jpg
expansions/pics/65030079.jpg
expansions/pics/65030079.jpg
  • 2-up
  • Swipe
  • Onion skin
--人理的显现-迦勒底
local m=m
local m=16400001
local cm=_G["c"..m]
function cm.initial_effect(c)
--activate
......
......@@ -55,7 +55,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
rg=g:Select(tp,2,2,nil)
end
Duel.Remove(rg,POS_FACEDOWN,REASON_COST)
Duel.Remove(rg,POS_FACEUP,REASON_COST)
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
......@@ -75,16 +75,16 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.rfilter(c)
return c:IsType(0x1ce0) and c:IsAbleToGraveAsCost()
return c:IsSetCard(0x1ce0) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToGraveAsCost()
end
function cm.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.rfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,cm.rfilter,tp,LOCATION_DECK,0,1,1,nil)
Duel.SendtoGrave(g,REASON_COST)
end
function cm.rmfilter(c,atk)
return c:GetAttack()<atk and c:IsType(TYPE_MONSTER) and c:IsAbleToRemove()
return c:IsAttackBelow(atk) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemove()
end
function cm.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
local atk=e:GetHandler():GetAttack()
......@@ -94,7 +94,7 @@ end
function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
local atk=e:GetHandler():GetAttack()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,cm.rmfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,atk)
local g=Duel.SelectMatchingCard(tp,cm.rmfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil,atk)
if g:GetCount()>0 then
Duel.HintSelection(g)
Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
......
......@@ -88,7 +88,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function cm.attg(c)
function cm.attg(e,c)
return c:IsSetCard(0xce0) and c:IsType(TYPE_LINK)
end
function cm.ftarget(e,c)
......
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