Commit 19c35e5d authored by POLYMER's avatar POLYMER

fix

parent bf27040d
......@@ -53,7 +53,7 @@ function c28322511.activate(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_DISABLE_EFFECT)
......@@ -61,7 +61,7 @@ function c28322511.activate(e,tp,eg,ep,ev,re,r,rp)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_ADD_SETCODE)
e3:SetReset(RESET_EVENT+RESETS_STANDARD)
e3:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e3:SetValue(0x284)
tc:RegisterEffect(e3)
tc:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(28322511,2))
......@@ -108,12 +108,17 @@ function c28322511.adop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(x)
e1:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_OPPO_TURN)
e1:SetValue(1)
e1:SetCondition(c28322511.efcon)
e1:SetOwnerPlayer(tp)
xc:RegisterEffect(e1)
table.insert(c28322511.get(e),xc)
end
end
function c28322511.efcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetControler()==e:GetOwnerPlayer()
end
c28322511.et = { }
function c28322511.get(v)
for _,i in ipairs(c28322511.et) do
......
......@@ -109,12 +109,17 @@ function c28341958.adop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(x)
e1:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_OPPO_TURN)
e1:SetValue(1)
e1:SetCondition(c28341958.efcon)
e1:SetOwnerPlayer(tp)
xc:RegisterEffect(e1)
table.insert(c28341958.get(e),xc)
end
end
function c28341958.efcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetControler()==e:GetOwnerPlayer()
end
c28341958.et = { }
function c28341958.get(v)
for _,i in ipairs(c28341958.et) do
......
......@@ -134,12 +134,17 @@ function c28366214.adop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(x)
e1:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_OPPO_TURN)
e1:SetValue(1)
e1:SetCondition(c28366214.efcon)
e1:SetOwnerPlayer(tp)
xc:RegisterEffect(e1)
table.insert(c28366214.get(e),xc)
end
end
function c28366214.efcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetControler()==e:GetOwnerPlayer()
end
c28366214.et = { }
function c28366214.get(v)
for _,i in ipairs(c28366214.et) do
......
......@@ -118,12 +118,17 @@ function c28366501.adop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(x)
e1:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_OPPO_TURN)
e1:SetValue(1)
e1:SetCondition(c28366501.efcon)
e1:SetOwnerPlayer(tp)
xc:RegisterEffect(e1)
table.insert(c28366501.get(e),xc)
end
end
function c28366501.efcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetControler()==e:GetOwnerPlayer()
end
c28366501.et = { }
function c28366501.get(v)
for _,i in ipairs(c28366501.et) do
......
......@@ -37,7 +37,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.ft(c)
return c.VHisc_HYZQ and not c:IsCode(33201371) and Duel.IsPlayerCanSpecialSummonMonster(tp,c:GetCode(),nil,TYPES_NORMAL_TRAP_MONSTER,1500,1500,4,RACE_ROCK,ATTRIBUTE_EARTH)
return c.VHisc_HYZQ and c:IsType(TYPE_SPELL) and not c:IsCode(33201371) and Duel.IsPlayerCanSpecialSummonMonster(tp,c:GetCode(),nil,TYPES_NORMAL_TRAP_MONSTER,1500,1500,4,RACE_ROCK,ATTRIBUTE_EARTH)
end
--Release effect
......
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