Commit 87c7c625 authored by mercury233's avatar mercury233 Committed by GitHub

fix 黄金の邪教神

parent fdc466a0
...@@ -69,6 +69,7 @@ function c78642798.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,6 +69,7 @@ function c78642798.eqop(e,tp,eg,ep,ev,re,r,rp)
local tc1=Duel.GetFirstTarget() local tc1=Duel.GetFirstTarget()
if tc1:IsRelateToEffect(e) and tc1:IsAbleToChangeControler() then if tc1:IsRelateToEffect(e) and tc1:IsAbleToChangeControler() then
local atk=tc1:GetTextAttack() local atk=tc1:GetTextAttack()
if atk<0 then atk=0 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
local sg=Duel.SelectMatchingCard(tp,c78642798.eqfilter,tp,LOCATION_MZONE,0,1,1,nil) local sg=Duel.SelectMatchingCard(tp,c78642798.eqfilter,tp,LOCATION_MZONE,0,1,1,nil)
if sg:GetCount()>0 then if sg:GetCount()>0 then
......
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