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

 Mystical Refpanel

View previous topic View next topic Go down 
AuthorMessage
WingZero




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

PostSubject: Mystical Refpanel   Fri 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
View user profile
VB99

avatar


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

PostSubject: Re: Mystical Refpanel   Mon 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
View user profile http://www.fanfiktion.de/u/VB99
StormWing0




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

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

This card would help somewhat in finishing a deck I'm working on. Razz Hopefully it works. Smile

_________________
Own Archetypes being worked on: RoseHarpie, OrbLit, Crystal Elemental (No cards yet on the last one).

Current Hamachi Room that isn't full:
Name: StormWing120V3
Pass: 1234

Discord Channel: Instant Invite Let me know if this fails to work right.  If it fully works it'll replace the Hamachi above.

Keep in mind these below are just estimates and even if it says 100% it only means what is needed for the main dueling deck is done
RoseHarpie 50% finished but no code or images
OrbLit 80% finished some images but no code
Crystal Elemental 0% finished
Back to top Go down
View user profile
Sponsored content





PostSubject: Re: Mystical Refpanel   

Back to top Go down
 

Mystical Refpanel

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

 Similar topics

-
» Mystical Refpanel
» Cards like Mystical Space Typhoon or Dust Tornado
» are there Cards (spell/traps) with similar effect to mystical space typhoon
» Card of the week #1: Mystical Space Typhoon.
» [ Single-Card Discussion] Valerifawn, Mystical Beast of the Forest

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