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

 Can someone program these Anime Number cards

View previous topic View next topic Go down 
AuthorMessage
Marc1




Posts : 43
Join date : 2013-08-03

PostSubject: Can someone program these Anime Number cards   Fri Apr 25, 2014 8:37 pm

Number 14: Greedy Sarameya

Rank 5 Fire Pyro 2500/1500

2 Level 5 monsters
If this card destroys an opponent's monster by battle, you can detach 1 Xyz Material from this card; any damage you would take during this battle is inflicted to your opponent instead, also destroy 1 face-up monster your opponent controls with less ATK than the destroyed monster.

Number 23: Lancelot, Ghost Knight of the Underworld

Rank 8 Dark Zombie 2000/0
2 Level 8 monsters
This card can attack your opponent directly. When this card attacks your opponent directly: Destroy all monsters your opponent controls with ATK equal to or less than double this card's ATK. During either player's turn, when your opponent activates a card effect: You can detach 1 Xyz Material from this card; negate that effect.

Number 28: Titanic Moth
Rank 7 Wind Insect 2400/1000
2 Level 7 monsters
When this card successfully attacks your opponent directly: You can detach 1 Xyz Material from this card; inflict 500 damage to your opponent for each card in their hand.
Back to top Go down
View user profile
VB99

avatar


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

PostSubject: Re: Can someone program these Anime Number cards   Sat Apr 26, 2014 2:51 pm

No. 28
function cXXXXXXXX.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.XyzFilterFunction(c,7),2)
c:EnableReviveLimit()
--
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(XXXXXXXX,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DAMAGE)
e1:SetCondition(cXXXXXXXX.condition)
e1:SetCost(cXXXXXXXX.cost)
e1:SetTarget(cXXXXXXXX.target)
e1:SetOperation(cXXXXXXXX.operation)
c:RegisterEffect(e1)
end
function cXXXXXXXX.condition(e,tp,eg,ep,ev,re,r,rp)
return ep~=tp and Duel.GetAttackTarget()==nil
end
function cXXXXXXXX.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end
function cXXXXXXXX.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetTargetPlayer(1-tp)
local dam=Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)*500
Duel.SetTargetParam(dam)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,dam)
end
function cXXXXXXXX.operation(e,tp,eg,ep,ev,re,r,rp)
local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER)
local dam=Duel.GetFieldGroupCount(p,LOCATION_HAND,0)*500
Duel.Damage(p,dam,REASON_EFFECT)
end

XXXXXXXX = Cardnumber of No. 28

Here you got No. 28. I can try the other ones, but I already know that they are real bitches to script ._.
Back to top Go down
View user profile http://www.fanfiktion.de/u/VB99
Marc1




Posts : 43
Join date : 2013-08-03

PostSubject: Re: Can someone program these Anime Number cards   Sat Apr 26, 2014 10:05 pm

Thanks!
Back to top Go down
View user profile
VB99

avatar


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

PostSubject: Re: Can someone program these Anime Number cards   Sat Apr 26, 2014 10:20 pm

No problem, however, as I'm still a learner, better try the card out^^

_________________
Back to top Go down
View user profile http://www.fanfiktion.de/u/VB99
Marc1




Posts : 43
Join date : 2013-08-03

PostSubject: Re: Can someone program these Anime Number cards   Tue Apr 29, 2014 6:51 pm

I’m getting errors.   One is “attempt to Index Global”.....  Another  is “call an error function”.
Back to top Go down
View user profile
Marc1




Posts : 43
Join date : 2013-08-03

PostSubject: Re: Can someone program these Anime Number cards   Tue Apr 29, 2014 7:20 pm

Nevermind, It works! I forgot a 0 in my card code.
Back to top Go down
View user profile
VB99

avatar


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

PostSubject: Re: Can someone program these Anime Number cards   Tue Apr 29, 2014 8:43 pm

*Confused VB is confused* ...Ok, as long as it works^^

_________________
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: Can someone program these Anime Number cards   Wed Apr 30, 2014 4:07 am

Marc1 wrote:
Nevermind, It works! I forgot a 0 in my card code.
lol happens to all of us. Smile
Back to top Go down
View user profile
Sponsored content





PostSubject: Re: Can someone program these Anime Number cards   

Back to top Go down
 

Can someone program these Anime Number cards

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

 Similar topics

-
» Yu-Gi-Oh! Zexal Number Hunters
» Favorite cartoon/anime Characters/Cards.
» Anime cards
» Making Anime cards real
» Gagaga Deck (Anime Edition)

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