Commit d2260288 authored by Tachibana's avatar Tachibana

eme

parent a47e05f5
Pipeline #6241 passed with stages
in 31 minutes and 16 seconds
...@@ -329,9 +329,9 @@ function Tenka.FriendToLover(c) ...@@ -329,9 +329,9 @@ function Tenka.FriendToLover(c)
end end
function Tenka.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function Tenka.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) end
if chk==0 then return Duel.IsExistingTarget(nil,tp,LOCATION_MZONE,0,1,nil) end if chk==0 then return Duel.IsExistingTarget(Card.IsFaceup,tp,LOCATION_MZONE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,nil,tp,LOCATION_MZONE,0,1,1,nil) Duel.SelectTarget(tp,Card.IsFaceup,tp,LOCATION_MZONE,0,1,1,nil)
end end
function Tenka.op(e,tp,eg,ep,ev,re,r,rp) function Tenka.op(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
......
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