Commit 3d575a65 authored by sidschingis's avatar sidschingis

fix

fixed interaction when equipping the opponent's Monster.
parent 7ef9ab03
......@@ -55,10 +55,9 @@ function c75524092.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
return true
end
function c75524092.desrepop(e,tp,eg,ep,ev,re,r,rp)
local exc=e:GetHandler():GetEquipTarget():GetBattleTarget()
Duel.SendtoHand(e:GetHandler(),nil,REASON_EFFECT)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local exc=Duel.GetAttacker()
if exc:IsControler(tp) then exc=Duel.GetAttackTarget() end
local g=Duel.SelectMatchingCard(tp,Card.IsDestructable,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,exc)
if Duel.Destroy(g,REASON_EFFECT)>0 and Duel.Damage(1-tp,600,REASON_EFFECT)~=0 then
if Duel.GetLocationCount(1-tp,LOCATION_MZONE,tp)>0
......
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