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
 

 D.D. Dragon - Void

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

D.D. Dragon - Void Empty
PostSubject: D.D. Dragon - Void   D.D. Dragon - Void Icon_minitimeSun Aug 11, 2013 9:25 am

D.D. Dragon - Void Void_b10


--32083009
function c32083009.initial_effect(c)
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(32083009,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetRange(LOCATION_GRAVE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE+TIMING_EQUIP)
e1:SetCost(c32083009.rmcost)
e1:SetTarget(c32083009.rmtg)
e1:SetOperation(c32083009.rmop)
c:RegisterEffect(e1)
end
function c32083009.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemove() end
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST)
end
function c32083009.rmtg(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 c32083009.rmop(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
Back to top Go down
http:// https://www.youtube.com/user/cane63106/videos
 

D.D. Dragon - Void

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

 Similar topics

-
» D.D. Dragon - Avalon
» D.D. God Dragon
» D.D. Dragon - Exodus
» D.D. Shift Dragon
» D.D. Dragon - Typhoon

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