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 - Typhoon

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 - Typhoon   Fri Aug 16, 2013 3:01 am



 --32083011
function c32083011.initial_effect(c)
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(32083011,1))
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c32083011.rmtg)
e1:SetOperation(c32083011.rmop)
c:RegisterEffect(e1)
end
function c32083011.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToRemove()
end
function c32083011.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if e:GetHandler():GetPreviousLocation()~=LOCATION_REMOVED then return end
if chkc then return chkc:IsOnField() and chkc:IsControler(1-tp) and c32083011.filter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c32083011.filter,tp,0,LOCATION_ONFIELD,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectTarget(tp,c32083011.filter,tp,0,LOCATION_ONFIELD,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
end
function c32083011.rmop(e,tp,eg,ep,ev,re,r,rp,chk)
local tc=Duel.GetFirstTarget()
if 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 - Typhoon

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-