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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...