Commit ed3eabe3 authored by mercury233's avatar mercury233

update

parent 0e634554
......@@ -76,7 +76,7 @@ function c53334471.adjustop(e,tp,eg,ep,ev,re,r,rp)
local att=c53334471.getattribute(g1)
if bit.band(att,att-1)~=0 then
if c53334471[tp]==0 or bit.band(c53334471[tp],att)==0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATTRIBUTE)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(53334471,0))
att=Duel.AnnounceAttribute(tp,1,att)
else att=c53334471[tp] end
end
......@@ -88,7 +88,7 @@ function c53334471.adjustop(e,tp,eg,ep,ev,re,r,rp)
local att=c53334471.getattribute(g2)
if bit.band(att,att-1)~=0 then
if c53334471[1-tp]==0 or bit.band(c53334471[1-tp],att)==0 then
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_ATTRIBUTE)
Duel.Hint(HINT_SELECTMSG,1-tp,aux.Stringid(53334471,0))
att=Duel.AnnounceAttribute(1-tp,1,att)
else att=c53334471[1-tp] end
end
......
......@@ -77,7 +77,7 @@ function c90846359.adjustop(e,tp,eg,ep,ev,re,r,rp)
local rac=c90846359.getrace(g1)
if bit.band(rac,rac-1)~=0 then
if c90846359[tp]==0 or bit.band(c90846359[tp],rac)==0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RACE)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(90846359,0))
rac=Duel.AnnounceRace(tp,1,rac)
else rac=c90846359[tp] end
end
......@@ -89,7 +89,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,1-tp,HINTMSG_RACE)
Duel.Hint(HINT_SELECTMSG,1-tp,aux.Stringid(90846359,0))
rac=Duel.AnnounceRace(1-tp,1,rac)
else rac=c90846359[1-tp] end
end
......
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