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)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if c:IsRelateToChain() and tc and tc:IsRelateToChain()
and tc:IsControler(1-tp) and tc:IsType(TYPE_MONSTER) then
Duel.GetControl(c,1-tp)
and tc:IsType(TYPE_MONSTER) then
if tc:IsControler(1-tp) then
Duel.GetControl(c,1-tp)
end
local fid=c:GetFieldID()
if c:GetFlagEffectLabel(id)~=fid then
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