Jump to content

Need help with coding a custom Lavalval Chain Errata


zde829

Recommended Posts

--Lavalval Chain (Errata)
local eX=Effect.CreateEffect©
-- Send Card from Deck to GY
local eX=Effect.CreateEffect©
eA:SetType(EFFECT_TYPE_X)
eA:SetDescription(aux.Stringid(XXXX,n))*
eA:SetCategory(CATEGORY_X)
eA:SetCode(EFFECT_X)
eA:SetRange(LOCATION_X)
eA:SetCountLimit(1, XXXXXXXX)
eA:SetTargetRange(LOCATION_X)
eA:SetProperty(EFFECT_FLAG_DELAY)
eX:SetCategory
eX:SetValue(V)
c:RegisterEffect(eA)

local eX=Effect.CreateEffect©
-- Place Monster on top of Deck
local eX=Effect.CreateEffect©
eA:SetType(EFFECT_TYPE_X)
eA:SetDescription(aux.Stringid(XXXX,n))*
eA:SetCategory(CATEGORY_X)
eA:SetCode(EFFECT_X)
eA:SetRange(LOCATION_X)
eA:SetCountLimit(R, XXXXXXXX)
eA:SetTargetRange(LOCATION_X)
eA:SetProperty(EFFECT_FLAG_DELAY)
eX:SetCategory
eX:SetValue(V)
c:RegisterEffect(eA)

eA:SetCountLimit(1, 34086407)
function c34086407.xyzfilter©
return Duel.GetFlagEffect(c:GetControler(),34086407)==0 and c:IsSetCard(0x39)
    aux.AddXyzProcedure(c,c34086407.xyzfilter,4,2)
end

The custom Errata reads:

"2 Level 4 "Laval" monsters
Once per turn: You can detach 1 Xyz Material from this card to activate 1 of these effects;
●Send 1 card from your Deck to the Graveyard.
●Choose 1 monster from your Deck and place it on top of your Deck.
You can only activate an effect of "Lavalval Chain" once per turn."

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...