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

  Fusion monster doesn't appear in extra deck?

View previous topic View next topic Go down 
AuthorMessage
Marc1




Posts : 43
Join date : 2013-08-03

PostSubject: Fusion monster doesn't appear in extra deck?    Sat Apr 30, 2016 9:02 pm

Zaquil - Dark Alchemy
Level 8 Dark Beast 0/0

“Homunculus the Alchemic Being” + 1 or more Dark-Type monsters
Cannot be used as a Fusion Material. Must first be Special Summoned (from your Extra Deck) by sending the above cards from either field to the Graveyard. (You do not use "Polymerization".) The original ATK of this card becomes 1000 x the number of Fusion Materials used for its Fusion Summon.

I can place the card in extra deck but It doesn't appear when I'm in a duel. Where did i go wrong? I think it has to do with the summoning condition but all I changed from Chimeratech Fortress Dragon was Cyber Dragon for Homunculus the Alchemic Being & Race_Machine for Attribute_Dark.


--Zaquil - Dark Alchemy
function c10740000.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeFun(c,40410110,aux.FilterBoolFunction(Card.IsAttribute,Attribute_DARK),1,true,true)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(c10740000.splimit)
c:RegisterEffect(e1)
--special summon rule
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e2:SetRange(LOCATION_EXTRA)
e2:SetCondition(c10740000.sprcon)
e2:SetOperation(c10740000.sprop)
c:RegisterEffect(e2)
--cannot be fusion material
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e3:SetCode(EFFECT_CANNOT_BE_FUSION_MATERIAL)
e3:SetValue(1)
c:RegisterEffect(e3)
end
function c10740000.splimit(e,se,sp,st)
return e:GetHandler():GetLocation()~=LOCATION_EXTRA
end
function c10740000.spfilter1(c,tp,ft)
if c:IsCode(40410110) and c:IsAbleToGraveAsCost() and c:IsCanBeFusionMaterial(nil,true) and (c:IsControler(tp) or c:IsFaceup()) then
if ft>0 or (c:IsControler(tp) and c:IsLocation(LOCATION_MZONE)) then
return Duel.IsExistingMatchingCard(c10740000.spfilter2,tp,LOCATION_MZONE,LOCATION_MZONE,1,c,tp)
else
return Duel.IsExistingMatchingCard(c10740000.spfilter2,tp,LOCATION_MZONE,0,1,c,tp)
end
else return false end
end
function c10740000.spfilter2(c,tp)
return c:IsAttribute(Attribute_DARK) and c:IsAbleToGraveAsCost() and c:IsCanBeFusionMaterial() and (c:IsControler(tp) or c:IsFaceup())
end
function c10740000.sprcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.IsExistingMatchingCard(c10740000.spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,tp,ft)
end
function c10740000.sprop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(10740000,0))
local g1=Duel.SelectMatchingCard(tp,c10740000.spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil,tp,ft)
local tc=g1:GetFirst()
local g=Duel.GetMatchingGroup(c10740000.spfilter2,tp,LOCATION_MZONE,LOCATION_MZONE,tc,tp)
local g2=nil
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(10740000,1))
if ft>0 or (tc:IsControler(tp) and tc:IsLocation(LOCATION_MZONE)) then
g2=g:Select(tp,1,10,nil)
else
g2=g:FilterSelect(tp,Card.IsControler,1,1,nil,tp)
if g:GetCount()>1 and Duel.SelectYesNo(tp,210) then
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(10740000,1))
local g3=g:Select(tp,1,9,g2:GetFirst())
g2:Merge(g3)
end
end
g1:Merge(g2)
Duel.SendtoGrave(g1,REASON_COST)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_BASE_ATTACK)
e1:SetReset(RESET_EVENT+0xff0000)
e1:SetValue(g1:GetCount()*1000)
c:RegisterEffect(e1)
end
Back to top Go down
View user profile
 

Fusion monster doesn't appear in extra deck?

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

 Similar topics

-
» junk doppel :) wad to put for extra deck ?
» Neo-Spacian Grand Mole's effect on Extra Deck
» What cards can banish all of the monster in graveyard or something like that?
» Fusion Monster Creation Tournament
» Extra Deck summoning lesson one Fusion summoning

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