Commit ee79393b authored by GuGu's avatar GuGu

Update c4114110.lua

parent 61a80d2d
Pipeline #33414 passed with stage
in 43 seconds
......@@ -31,12 +31,12 @@ function c4114110.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end
if chk==0 then return Duel.IsExistingTarget(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
Duel.SelectTarget(tp,nil,tp,0,LOCATION_MZONE,1,1,nil)
Duel.SelectTarget(tp,Card.IsFaceup,tp,0,LOCATION_MZONE,1,1,nil)
end
function c4114110.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if tc:IsSetCard(0x1141) and tc:IsAbleToDeck() then
if tc:IsRelateToEffect(e) and tc:IsFaceup() then
if tc:IsSetCard(0x1141) then
Duel.SendtoDeck(tc,nil,2,REASON_EFFECT)
else
local e1=Effect.CreateEffect(e:GetHandler())
......
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