Commit 08565037 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c21113615.lua

parent 006dd50f
Pipeline #30857 passed with stages
in 35 minutes and 35 seconds
......@@ -44,11 +44,11 @@ end
function c21113615.con2(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and eg:IsExists(Card.IsControler,1,nil,1-tp)
end
function c21113615.w(c,tp)
return c:IsControler(1-tp) and c:IsControlerCanBeChanged() and c:IsFaceup()
function c21113615.w(c,e,tp)
return c:IsControler(1-tp) and c:IsControlerCanBeChanged() and c:IsFaceup() and c:IsCanBeEffectTarget(e)
end
function c21113615.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(c21113615.w,tp,0,4,nil,tp)
local g=Duel.GetMatchingGroup(c21113615.w,tp,0,4,nil,e,tp)
if chk==0 then return #g>0 end
local sg=g:RandomSelect(tp,1,1)
Duel.SetTargetCard(sg)
......
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