Commit 83799fbe authored by mercury233's avatar mercury233 Committed by GitHub

fix 星読みの魔術師

parent 2c141d59
...@@ -40,8 +40,9 @@ end ...@@ -40,8 +40,9 @@ end
function c94415058.actcon(e) function c94415058.actcon(e)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
local tc=Duel.GetAttacker() local tc=Duel.GetAttacker()
if not tc then return false end
if tc:IsControler(1-tp) then tc=Duel.GetAttackTarget() end if tc:IsControler(1-tp) then tc=Duel.GetAttackTarget() end
return tc and tc:IsControler(tp) and tc:IsType(TYPE_PENDULUM) return tc:IsControler(tp) and tc:IsType(TYPE_PENDULUM)
end end
function c94415058.aclimit(e,re,tp) function c94415058.aclimit(e,re,tp)
return re:IsActiveType(TYPE_SPELL) and re:IsHasType(EFFECT_TYPE_ACTIVATE) return re:IsActiveType(TYPE_SPELL) and re:IsHasType(EFFECT_TYPE_ACTIVATE)
......
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