Commit 213e71a5 authored by 未闻皂名's avatar 未闻皂名

2025/10/8 bug修复

parent 088d20ec
Pipeline #40940 passed with stages
in 12 minutes and 20 seconds
...@@ -34,7 +34,8 @@ function cm.target(c,e,tp) ...@@ -34,7 +34,8 @@ function cm.target(c,e,tp)
end end
--Cannot Activate --Cannot Activate
function cm.eqcon(e) function cm.eqcon(e)
return e:GetHandler():GetEquipTarget()~=nil local ec=e:GetHandler():GetEquipTarget()
return ec and ec:IsControler(e:GetHandlerPlayer())
end end
function cm.limit(e,re,tp) function cm.limit(e,re,tp)
local tc=re:GetHandler() local tc=re:GetHandler()
...@@ -42,9 +43,10 @@ function cm.limit(e,re,tp) ...@@ -42,9 +43,10 @@ function cm.limit(e,re,tp)
end end
--Position --Position
function cm.poscon(e,tp,eg,ep,ev,re,r,rp) function cm.poscon(e,tp,eg,ep,ev,re,r,rp)
local ec=e:GetHandler():GetEquipTarget()
local tc=Duel.GetAttackTarget() local tc=Duel.GetAttackTarget()
return e:GetHandler():GetEquipTarget()==Duel.GetAttacker() return Duel.GetAttacker()==ec and tc and tc:IsControler(1-tp)
and tc and tc:IsDefensePos() and not tc:IsStatus(STATUS_BATTLE_DESTROYED) and tc:IsDefensePos() and not tc:IsStatus(STATUS_BATTLE_DESTROYED)
end end
function cm.posop(e,tp,eg,ep,ev,re,r,rp) function cm.posop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetAttackTarget() local tc=Duel.GetAttackTarget()
......
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