Commit ac3419a1 authored by DailyShana's avatar DailyShana

fix

parent d77cab08
......@@ -4,6 +4,7 @@ function c12953226.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetOperation(c12953226.desop)
c:RegisterEffect(e1)
--atk down
......@@ -16,7 +17,7 @@ function c12953226.initial_effect(c)
c:RegisterEffect(e2)
end
function c12953226.desop(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(e:GetHandler(),REASON_EFFECT)
Duel.Destroy(e:GetHandler(),REASON_RULE)
end
function c12953226.val(e,c)
local tp=c:GetControler()
......
......@@ -50,7 +50,7 @@ function c86943389.atkop(e,tp,eg,ep,ev,re,r,rp)
end
function c86943389.regcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_MZONE) and bit.band(c:GetSummonType(),SUMMON_TYPE_SYNCHRO)==SUMMON_TYPE_SYNCHRO
return c:IsPreviousLocation(LOCATION_MZONE) and c:GetSummonType()==SUMMON_TYPE_SYNCHRO
end
function c86943389.regop(e,tp,eg,ep,ev,re,r,rp)
local c=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