Commit beabab1e authored by mercury233's avatar mercury233

fix hint

parent 10c2806e
......@@ -101,7 +101,7 @@ function c53334471.adjustop(e,tp,eg,ep,ev,re,r,rp)
local att=c53334471.getattribute(g2)
if not c53334471.isonlyone(att) then
if c53334471[1-tp]==0 or bit.band(c53334471[1-tp],att)==0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_TOGRAVE)
local sg=g2:SelectSubGroup(1-tp,c53334471.tgselect,false,1,#g2,g2)
if not sg then
att=0
......
......@@ -101,7 +101,7 @@ function c90846359.adjustop(e,tp,eg,ep,ev,re,r,rp)
local rac=c90846359.getrace(g2)
if bit.band(rac,rac-1)~=0 then
if c90846359[1-tp]==0 or bit.band(c90846359[1-tp],rac)==0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_TOGRAVE)
local sg=g2:SelectSubGroup(1-tp,c90846359.tgselect,false,1,#g2,g2)
if not sg then
rac=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