Commit 23c0af7a authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c21113609.lua

parent 096c1b11
Pipeline #31190 failed with stages
in 10 minutes and 34 seconds
......@@ -14,9 +14,12 @@ end
function c21113609.con(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_EXTRA,0)==0
end
function c21113609.q(c,e)
return c:IsControlerCanBeChanged() and c:IsCanBeEffectTarget(e)
end
function c21113609.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingTarget(Card.IsControlerCanBeChanged,tp,0,4,1,nil) end
local g=Duel.GetMatchingGroup(Card.IsControlerCanBeChanged,tp,0,4,nil)
local g=Duel.GetMatchingGroup(c21113609.q,tp,0,4,nil,e)
local sg=g:RandomSelect(tp,1,1)
Duel.SetTargetCard(sg)
Duel.SetOperationInfo(0,CATEGORY_CONTROL,sg,1,0,0)
......
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