Commit 1a2e4dd4 authored by 聖園ミカ's avatar 聖園ミカ 🐟

7

parent 5ac3f485
......@@ -65,10 +65,10 @@ function s.filter(e,c)
end
function s.damlimit(e,c)
local tp=e:GetHandlerPlayer()
local a=Duel.GetAttacker()
local tc=a:GetBattleTarget()
if tc and tc:IsControler(1-tp) then a,tc=tc,a end
local tc=Duel.GetAttacker()
local lc=Duel.GetAttackTarget()
if tc and tc:IsControler(1-tp) then tc,lc=lc,tc end
if tc:GetFlagEffect(id)==0 then
return 1
else return 0 end
end
\ No newline at end of file
end
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