Commit 5a0d458b authored by Grajade's avatar Grajade

Update c19033.lua

parent 08308a9a
...@@ -47,13 +47,10 @@ function c19033.stg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -47,13 +47,10 @@ function c19033.stg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,1,0,0)
end end
function c19033.sop(e,tp,eg,ep,ev,re,r,rp) function c19033.sop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) and Duel.SendtoHand(tc,nil,REASON_EFFECT)>0 then
Duel.SendtoHand(tc,nil,REASON_EFFECT) local def=Duel.GetOperatedGroup():GetFirst():GetDefense()
Duel.ConfirmCards(1-tp,tc) if def>0 then Duel.Recover(tp,def,REASON_EFFECT) end
local def=Duel.GetOperatedGroup():Filter(Card.IsLocation,nil,LOCATION_HAND):GetFirst():GetDefense()
Duel.Recover(tp,def,REASON_EFFECT)
end end
end end
function c19033.spr(e,tp,eg,ep,ev,re,r,rp) function c19033.spr(e,tp,eg,ep,ev,re,r,rp)
......
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