Commit b47e98fd authored by salix5's avatar salix5
parent 71511dbe
...@@ -99,9 +99,10 @@ function c88021907.effop(e,tp,eg,ep,ev,re,r,rp) ...@@ -99,9 +99,10 @@ function c88021907.effop(e,tp,eg,ep,ev,re,r,rp)
local sel=e:GetLabel() local sel=e:GetLabel()
if bit.band(sel,1)~=0 then if bit.band(sel,1)~=0 then
local g=Duel.GetFieldGroup(tp,0,LOCATION_HAND) local g=Duel.GetFieldGroup(tp,0,LOCATION_HAND)
if g:GetCount()==0 then return end if g:GetCount()>0 then
local sg=g:RandomSelect(tp,1) local sg=g:RandomSelect(tp,1)
Duel.SendtoGrave(sg,REASON_EFFECT) Duel.SendtoGrave(sg,REASON_EFFECT)
end
end end
if bit.band(sel,2)~=0 then if bit.band(sel,2)~=0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
......
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