Commit ecdfe759 authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix (#1836)

parent e9e0b400
...@@ -27,6 +27,7 @@ function c8820526.atkcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -27,6 +27,7 @@ function c8820526.atkcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local bc=c:GetBattleTarget() local bc=c:GetBattleTarget()
return c:IsRelateToBattle() and bc and bc:IsFaceup() and bc:IsRelateToBattle() and c:IsSummonType(SUMMON_TYPE_ADVANCE) return c:IsRelateToBattle() and bc and bc:IsFaceup() and bc:IsRelateToBattle() and c:IsSummonType(SUMMON_TYPE_ADVANCE)
and Duel.GetMatchingGroupCount(c8820526.filter,tp,LOCATION_EXTRA,0,nil)>0
end end
function c8820526.filter(c) function c8820526.filter(c)
return c:IsFaceup() and c:IsType(TYPE_PENDULUM) return c:IsFaceup() and c:IsType(TYPE_PENDULUM)
......
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