Commit ac3419a1 authored by DailyShana's avatar DailyShana

fix

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