Commit 405e9cbb authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent 3e3e8a3e
...@@ -19,8 +19,8 @@ function c73148972.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -19,8 +19,8 @@ function c73148972.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c73148972.activate(e,tp,eg,ep,ev,re,r,rp) function c73148972.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsControler(tp) then if tc:IsRelateToEffect(e) and tc:IsControler(tp)
Duel.SendtoGrave(tc,REASON_EFFECT) and Duel.SendtoGrave(tc,REASON_EFFECT)>0 and tc:IsLocation(LOCATION_GRAVE) then
local g=Duel.GetFieldGroup(tp,0,LOCATION_HAND):RandomSelect(tp,1) local g=Duel.GetFieldGroup(tp,0,LOCATION_HAND):RandomSelect(tp,1)
Duel.SendtoGrave(g,REASON_EFFECT) Duel.SendtoGrave(g,REASON_EFFECT)
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