Commit 959b86f4 authored by 想象力很好的毛虫's avatar 想象力很好的毛虫 Committed by GitHub

Fix ライトロード・ドミニオン キュリオス LSummonCheck (#2254)

* Fix ライトロード・ドミニオン キュリオス

* Simplify check logic
parent 241e957d
...@@ -39,8 +39,12 @@ function c98095162.initial_effect(c) ...@@ -39,8 +39,12 @@ function c98095162.initial_effect(c)
e3:SetOperation(c98095162.thop) e3:SetOperation(c98095162.thop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c98095162.attfilter(c,att)
return c:GetLinkAttribute()&att==0
end
function c98095162.lcheck(g) function c98095162.lcheck(g)
return g:GetClassCount(Card.GetLinkAttribute)==1 and g:GetClassCount(Card.GetLinkRace)==g:GetCount() local tc=g:GetFirst()
return not g:IsExists(c98095162.attfilter,1,tc,tc:GetLinkAttribute()) and g:GetClassCount(Card.GetLinkRace)==#g
end end
function c98095162.tgcon(e,tp,eg,ep,ev,re,r,rp) function c98095162.tgcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
......
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