Commit 9fca639a authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent aca2f8da
...@@ -24,10 +24,12 @@ function c24838456.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -24,10 +24,12 @@ function c24838456.target(e,tp,eg,ep,ev,re,r,rp,chk)
local dg=Group.CreateGroup() local dg=Group.CreateGroup()
for i=1,ev do for i=1,ev do
local te=Duel.GetChainInfo(i,CHAININFO_TRIGGERING_EFFECT) local te=Duel.GetChainInfo(i,CHAININFO_TRIGGERING_EFFECT)
local tc=te:GetHandler() if te:IsHasType(EFFECT_TYPE_ACTIVATE) or te:IsActiveType(TYPE_MONSTER) then
ng:AddCard(tc) local tc=te:GetHandler()
if tc:IsRelateToEffect(te) then ng:AddCard(tc)
dg:AddCard(tc) if tc:IsRelateToEffect(te) then
dg:AddCard(tc)
end
end end
end end
Duel.SetTargetCard(dg) Duel.SetTargetCard(dg)
......
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