Commit 006dd50f authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c21113606.lua

parent c81adf5d
Pipeline #30856 canceled with stages
in 26 seconds
......@@ -15,9 +15,12 @@ end
function c21113606.con(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_EXTRA,0)==0
end
function c21113606.q(c)
return c:IsControlerCanBeChanged() and c:IsFaceup()
end
function c21113606.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(c21113606.q,tp,0,4,nil)
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