Commit 58cd9e6f authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent 795520ac
...@@ -66,21 +66,24 @@ end ...@@ -66,21 +66,24 @@ end
function c19619755.splimit(e,c,tp,sumtp,sumpos) function c19619755.splimit(e,c,tp,sumtp,sumpos)
return bit.band(sumtp,SUMMON_TYPE_PENDULUM)==SUMMON_TYPE_PENDULUM and not c:IsLocation(LOCATION_EXTRA) return bit.band(sumtp,SUMMON_TYPE_PENDULUM)==SUMMON_TYPE_PENDULUM and not c:IsLocation(LOCATION_EXTRA)
end end
function c19619755.countfilter(c)
return c:IsFacedown() and c:GetSequence()<5
end
function c19619755.atktg(e,c) function c19619755.atktg(e,c)
local tp=c:GetControler() local tp=c:GetControler()
return Duel.GetMatchingGroupCount(Card.IsFacedown,tp,LOCATION_SZONE,0,nil)==0 return Duel.GetMatchingGroupCount(c19619755.countfilter,tp,LOCATION_SZONE,0,nil)==0
end end
function c19619755.limval(e,re,rp) function c19619755.limval(e,re,rp)
local rc=re:GetHandler() local rc=re:GetHandler()
local tp=rc:GetControler() local tp=rc:GetControler()
return rc:IsLocation(LOCATION_MZONE) and re:IsActiveType(TYPE_MONSTER) and not rc:IsImmuneToEffect(e) return rc:IsLocation(LOCATION_MZONE) and re:IsActiveType(TYPE_MONSTER) and not rc:IsImmuneToEffect(e)
and Duel.GetMatchingGroupCount(Card.IsFacedown,tp,LOCATION_SZONE,0,nil)==0 and Duel.GetMatchingGroupCount(c19619755.countfilter,tp,LOCATION_SZONE,0,nil)==0
end end
function c19619755.atkcon0(e) function c19619755.atkcon0(e)
return Duel.GetMatchingGroupCount(Card.IsFacedown,e:GetHandlerPlayer(),LOCATION_SZONE,0,nil)>=4 return Duel.GetMatchingGroupCount(c19619755.countfilter,e:GetHandlerPlayer(),LOCATION_SZONE,0,nil)>=4
end end
function c19619755.atkcon1(e) function c19619755.atkcon1(e)
return Duel.GetMatchingGroupCount(Card.IsFacedown,e:GetHandlerPlayer(),0,LOCATION_SZONE,nil)>=4 return Duel.GetMatchingGroupCount(c19619755.countfilter,e:GetHandlerPlayer(),0,LOCATION_SZONE,nil)>=4
end end
function c19619755.atkval(e,c) function c19619755.atkval(e,c)
return c:GetBaseAttack()*2 return c:GetBaseAttack()*2
......
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