Commit 47b3e9ee authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix (#1963)

parent 0ecc68f0
......@@ -25,6 +25,7 @@ function c77498348.initial_effect(c)
e3:SetCondition(c77498348.spcon)
e3:SetOperation(c77498348.spop)
e3:SetLabel(ATTRIBUTE_LIGHT)
e3:SetValue(SUMMON_VALUE_SELF)
c:RegisterEffect(e3)
local e4=e3:Clone()
e4:SetDescription(aux.Stringid(77498348,1))
......@@ -37,6 +38,7 @@ function c77498348.initial_effect(c)
e5:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e5:SetCode(EVENT_SPSUMMON_SUCCESS)
e5:SetProperty(EFFECT_FLAG_CARD_TARGET)
e5:SetCondition(c77498348.rmcon)
e5:SetCost(c77498348.rmcost)
e5:SetTarget(c77498348.rmtg)
e5:SetOperation(c77498348.rmop)
......@@ -60,6 +62,9 @@ function c77498348.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Remove(g,POS_FACEUP,REASON_COST)
e:GetLabelObject():SetLabel(e:GetLabel())
end
function c77498348.rmcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+SUMMON_VALUE_SELF
end
function c77498348.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCurrentPhase()==PHASE_MAIN1 end
local e1=Effect.CreateEffect(e:GetHandler())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment