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

Replace c12400021.lua

parent 11efe3b9
Pipeline #30855 canceled with stages
in 51 seconds
......@@ -39,6 +39,9 @@ function s.initial_effect(c)
e3:SetTarget(s.damtg)
e3:SetOperation(s.damop)
c:RegisterEffect(e3)
local e5=e3:Clone()
e5:SetCode(EVENT_SUMMON_SUCCESS)
c:RegisterEffect(e5)
if not s.global_check then
s.global_check=true
local ge1=Effect.CreateEffect(c)
......@@ -81,7 +84,7 @@ end
function s.tkop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.ckfilter1,tp,0,LOCATION_MZONE,nil)
if g:GetCount()>0 then
local tc=g:RandomSelect(tp,1):GetFirst()
local tc=g:RandomSelect(tp,1):GetFirst()
Duel.Destroy(tc,REASON_EFFECT)
end
end
......
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