Commit 3229e3b7 authored by salix5's avatar salix5 Committed by GitHub

fix 銀河眼の光波竜 (#1616)

parent abf87db2
...@@ -41,7 +41,7 @@ function c18963306.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -41,7 +41,7 @@ function c18963306.operation(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.GetControl(tc,tp,PHASE_END,1)~=0 then if tc:IsRelateToEffect(e) and not tc:IsImmuneToEffect(e) and tc:IsControlerCanBeChanged() then
Duel.NegateRelatedChain(tc,RESET_TURN_SET) Duel.NegateRelatedChain(tc,RESET_TURN_SET)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
...@@ -65,6 +65,7 @@ function c18963306.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,6 +65,7 @@ function c18963306.operation(e,tp,eg,ep,ev,re,r,rp)
e5:SetValue(18963306) e5:SetValue(18963306)
e5:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e5:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e5) tc:RegisterEffect(e5)
Duel.GetControl(tc,tp,PHASE_END,1)
end end
end end
function c18963306.atktg(e,c) function c18963306.atktg(e,c)
......
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