a place for all your custom card needs you can post scripts pics and request for card to be made also please donate to the funding for a new server made for custom card duels
 
HomePortalLatest imagesSearchRegisterLog in

Share
 

 Few of my D.D. Cards

View previous topic View next topic Go down 
AuthorMessage
cane_63106

cane_63106


Member Title : D.D. Dragon Kaiser
Posts : 454
Join date : 2013-07-23
Location : St. Louis, MO

Few of my D.D. Cards Empty
PostSubject: Few of my D.D. Cards   Few of my D.D. Cards Icon_minitimeThu Jul 25, 2013 12:33 am

Big thanks to Outlaw1994 for helping with Blast Dragon, Typhoon and any help in the future.

D.D. Dragon - Infinity
Few of my D.D. Cards Infini10

--D.D. Dragon - Infinity
function c32083002.initial_effect(c)
--base attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_BASE_ATTACK)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetValue(c32083002.atkval)
c:RegisterEffect(e1)
end
function c32083002.filter(c)
return c:IsFaceup() and c:IsRace(RACE_DRAGON)and c:IsSetCard(0x7D53)
end
function c32083002.atkval(e,c)
return Duel.GetMatchingGroupCount(c32083002.filter,c:GetControler(),LOCATION_REMOVED,0,nil)*1000
end


D.D. Blast Dragon
Few of my D.D. Cards Blastd10

function c32083014.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(32083014,1))
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c32083014.descost)
e1:SetTarget(c32083014.destg)
e1:SetOperation(c32083014.desop)
c:RegisterEffect(e1)
end
function c32083014.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c32083014.cfilter,tp,LOCATION_HAND,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,c32083014.cfilter,tp,LOCATION_HAND,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_COST)
end
function c32083014.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc:IsAbleToRemove() end
if chk==0 then return Duel.IsExistingTarget(Card.IsAbleToRemove,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectTarget(tp,Card.IsAbleToRemove,tp,0,LOCATION_MZONE,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,0,0)
end
function c32083014.desop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then
Duel.Remove(tc,POS_FACEUP,REASON_EFFECT)
end
end


D.D. Storm
Few of my D.D. Cards Storm_10

--32083027
function c32083027.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c32083027.target)
e1:SetOperation(c32083027.activate)
c:RegisterEffect(e1)
end
function c32083027.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToRemove()
end
function c32083027.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(c32083027.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c) end
local sg=Duel.GetMatchingGroup(c32083027.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,c)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,sg,sg:GetCount(),0,0)
end
function c32083027.activate(e,tp,eg,ep,ev,re,r,rp)
local sg=Duel.GetMatchingGroup(c32083027.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,e:GetHandler())
Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)
end


D.D. Abyss
Few of my D.D. Cards Dd_aby10

--32083028
function c32083028.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c32083028.target)
e1:SetOperation(c32083028.activate)
c:RegisterEffect(e1)
end
function c32083028.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
local sg=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,sg,sg:GetCount(),0,0)
end
function c32083028.activate(e,tp,eg,ep,ev,re,r,rp)
local sg=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)
end
Back to top Go down
http:// https://www.youtube.com/user/cane63106/videos
 

Few of my D.D. Cards

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Fairy tail anime cards 49/49 more cards added
» I need these cards plz :D
» Anti mlp cards
» New MtG cards
» MLP Custom cards

Permissions in this forum:You cannot reply to topics in this forum
Mackpro :: MackPro :: Custom Cards-