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. 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. Typhoon   Tue Jul 23, 2013 2:55 am



D.D. Typhoon
Banish 1 Spell/Trap Card on the field.

--32083026
function c32083026.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE+TIMING_EQUIP)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c32083026.target)
e1:SetOperation(c32083026.activate)
c:RegisterEffect(e1)
end
function c32083026.filter(c)
return c:IsAbleToRemove() and c:IsType(TYPE_SPELL+TYPE_TRAP)
end
function c32083026.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and c32083026.filter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c32083026.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectTarget(tp,c32083026.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,e:GetHandler())
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,0,0)
end
function c32083026.activate(e,tp,eg,ep,ev,re,r,rp)
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
Mr.Loay

avatar


Posts : 34
Join date : 2013-07-15
Age : 19

PostSubject: Re: D.D. Typhoon   Tue Jul 23, 2013 3:31 pm

simple effect very close to mystical space typhoon effect but nice keep working Smile 
Back to top Go down
View user profile
 

D.D. Typhoon

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

 Similar topics

-
» Cards like Mystical Space Typhoon or Dust Tornado
» Eurofighter Typhoon
» are there Cards (spell/traps) with similar effect to mystical space typhoon
» 1/48th Revell Eurofighter Typhoon
» Rich's TYPHOON Scale 1:150

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