Commit 2785fae8 authored by sidschingis's avatar sidschingis

fix

equip part can no longer be applied if there is no space
parent 4d6c71e8
......@@ -98,7 +98,7 @@ function c55742055.operation2(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst()
if Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)==0 then return end
local tg=Duel.GetMatchingGroup(c55742055.eqfilter,tp,LOCATION_HAND,0,nil,tc)
if tg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(55742055,4)) then
if tg:GetCount()>0 and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.SelectYesNo(tp,aux.Stringid(55742055,4)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
local sg=tg:Select(tp,1,1,nil)
......
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