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
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | .
 

 D.D. Dragon - Void

View previous topic View next topic Go down 
AuthorMessage
cane_63106

avatar


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

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




--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
View user profile 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

-
» power tool dragon deck(rate and fix)
» Black rose dragon and Beast of the pharaoh.
» Plant Red Nova Dragon Deck
» Aster Phoenix - Dragon Deck
» New from Dragon/CyberHobby

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