Commit 58034414 authored by mercury233's avatar mercury233

fix

parent 04ab5025
...@@ -25,6 +25,7 @@ function c100341051.initial_effect(c) ...@@ -25,6 +25,7 @@ function c100341051.initial_effect(c)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_IMMUNE_EFFECT) e3:SetCode(EFFECT_IMMUNE_EFFECT)
e3:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetValue(c100341051.efilter) e3:SetValue(c100341051.efilter)
c:RegisterEffect(e3) c:RegisterEffect(e3)
......
...@@ -11,7 +11,6 @@ function c100425004.initial_effect(c) ...@@ -11,7 +11,6 @@ function c100425004.initial_effect(c)
e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING) e1:SetCode(EVENT_CHAINING)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCountLimit(1) e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c100425004.imcon) e1:SetCondition(c100425004.imcon)
...@@ -44,7 +43,7 @@ function c100425004.initial_effect(c) ...@@ -44,7 +43,7 @@ function c100425004.initial_effect(c)
end end
c100425004.material_type=TYPE_SYNCHRO c100425004.material_type=TYPE_SYNCHRO
function c100425004.imcon(e,tp,eg,ep,ev,re,r,rp) function c100425004.imcon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and re:IsActiveType(TYPE_MONSTER) and aux.dscon() return rp==1-tp and re:IsActiveType(TYPE_MONSTER)
end end
function c100425004.imop(e,tp,eg,ep,ev,re,r,rp) function c100425004.imop(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