Commit 91ab3096 authored by wyykak's avatar wyykak

fix 22230143

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent ac3b6db8
...@@ -58,10 +58,10 @@ function c22230143.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,10 +58,10 @@ function c22230143.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c22230143.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c22230143.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() and chkc~=e:GetHandler() end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() and chkc~=e:GetHandler() end
if chk==0 then return true end if chk==0 then return Duel.IsExistingTarget(Card.IsFaceup,tp,LOCATION_MZONE,0,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
Duel.SelectTarget(tp,Card.IsFaceup,tp,0,LOCATION_MZONE,1,1,e:GetHandler()) Duel.SelectTarget(tp,Card.IsFaceup,tp,LOCATION_MZONE,0,1,1,e:GetHandler())
end end
function c22230143.eqop(e,tp,eg,ep,ev,re,r,rp) function c22230143.eqop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
......
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