Commit b1fafe55 authored by Mr.Tan's avatar Mr.Tan

Update 無垢なる予幻視

parent 1d44de9c
Pipeline #35750 failed with stages
in 41 seconds
......@@ -58,22 +58,17 @@ function s.ratg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local tc=Duel.SelectTarget(tp,s.rafilter,tp,LOCATION_MZONE,0,1,1,nil):GetFirst()
local race,att
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RACE)
if ATTRIBUTE_ALL&~tc:GetAttribute()==0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RACE)
race=Duel.AnnounceRace(tp,1,RACE_ALL&~tc:GetRace())
att=tc:GetAttribute()
elseif RACE_ALL&~tc:GetRace()==0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATTRIBUTE)
att=Duel.AnnounceAttribute(tp,1,ATTRIBUTE_ALL~tc:GetAttribute())
race=tc:GetRace()
else
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RACE)
race=Duel.AnnounceRace(tp,1,RACE_ALL)
if race==tc:GetRace() then
att=Duel.AnnounceAttribute(tp,1,ATTRIBUTE_ALL~tc:GetAttribute())
else
att=Duel.AnnounceAttribute(tp,1,ATTRIBUTE_ALL)
end
end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATTRIBUTE)
if RACE_ALL&~tc:GetRace()==0 or race==tc:GetRace() then
att=Duel.AnnounceAttribute(tp,1,ATTRIBUTE_ALL&~tc:GetAttribute())
else
att=Duel.AnnounceAttribute(tp,1,ATTRIBUTE_ALL)
end
e:SetLabel(race,att)
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