Commit e7145d4d authored by Amiya's avatar Amiya

修复

parent 1601be60
Pipeline #41484 passed with stages
in 2 minutes and 41 seconds
...@@ -65,8 +65,10 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,8 +65,10 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if c:IsRelateToChain() and tc and tc:IsRelateToChain() if c:IsRelateToChain() and tc and tc:IsRelateToChain()
and tc:IsControler(1-tp) and tc:IsType(TYPE_MONSTER) then and tc:IsType(TYPE_MONSTER) then
Duel.GetControl(c,1-tp) if tc:IsControler(1-tp) then
Duel.GetControl(c,1-tp)
end
local fid=c:GetFieldID() local fid=c:GetFieldID()
if c:GetFlagEffectLabel(id)~=fid then if c:GetFlagEffectLabel(id)~=fid then
c:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,0,1,fid) c:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,0,1,fid)
......
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