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
 

 Mystical Refpanel

View previous topic View next topic Go down 
AuthorMessage
WingZero




Member Title : WingZero
Posts : 2
Join date : 2014-07-25

Mystical Refpanel Empty
PostSubject: Mystical Refpanel   Mystical Refpanel Icon_minitimeFri Aug 15, 2014 3:43 am

Hello, I was wondering if someone could make a script for the anime version of Mystical Refpanel. Thanks
Back to top Go down
VB99

VB99


Member Title : Legendary Planet
Posts : 368
Join date : 2013-11-10

Mystical Refpanel Empty
PostSubject: Re: Mystical Refpanel   Mystical Refpanel Icon_minitimeMon Aug 18, 2014 1:18 am

function cXXXXXXXX.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCondition(cXXXXXXXX.condition)
e1:SetTarget(cXXXXXXXX.target)
e1:SetOperation(cXXXXXXXX.operation)
c:RegisterEffect(e1)
end
function cXXXXXXXX.condition(e,tp,eg,ep,ev,re,r,rp)
if e==re or not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return false end
local g=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
if not g or g:GetCount()~=1 then return false end
local tc=g:GetFirst()
e:SetLabelObject(tc)
return tc:IsOnField()
end
function cXXXXXXXX.filter(c,re,rp,tf,ceg,cep,cev,cre,cr,crp)
return tf(re,rp,ceg,cep,cev,cre,cr,crp,0,c)
end
function cXXXXXXXX.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local tf=re:GetTarget()
local res,ceg,cep,cev,cre,cr,crp=Duel.CheckEvent(re:GetCode(),true)
if chkc then return chkc:IsOnField() and cXXXXXXXX.filter(chkc,re,rp,tf,ceg,cep,cev,cre,cr,crp) end
if chk==0 then return Duel.IsExistingTarget(cXXXXXXXX.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,e:GetLabelObject(),re,rp,tf,ceg,cep,cev,cre,cr,crp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
Duel.SelectTarget(tp,c21501505.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,e:GetLabelObject(),re,rp,tf,ceg,cep,cev,cre,cr,crp)
end
function cXXXXXXXX.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
Duel.ChangeTargetCard(ev,Group.FromCards(tc))
end
end

Like this? It redirects single-targeted effects (on the field).
Back to top Go down
http://www.fanfiktion.de/u/VB99
StormWing0




Member Title : Over Creative Card Ideas
Posts : 451
Join date : 2013-07-14
Age : 32
Location : Tacoma, WA

Mystical Refpanel Empty
PostSubject: Re: Mystical Refpanel   Mystical Refpanel Icon_minitimeMon Aug 18, 2014 6:30 am

This card would help somewhat in finishing a deck I'm working on. Razz Hopefully it works. Smile
Back to top Go down
Sponsored content





Mystical Refpanel Empty
PostSubject: Re: Mystical Refpanel   Mystical Refpanel Icon_minitime

Back to top Go down
 

Mystical Refpanel

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

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