Commit 8d2e8225 authored by wind2009's avatar wind2009

Update クリアー・ワールド

parent 840e88a9
Pipeline #28015 passed with stages
in 1 minute and 6 seconds
...@@ -110,8 +110,8 @@ function c33900648.attributechk(tp) ...@@ -110,8 +110,8 @@ function c33900648.attributechk(tp)
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_MZONE,0,nil)
local tc=g:GetFirst() local tc=g:GetFirst()
while tc do while tc do
rac=bit.bor(rac,tc:GetAttribute()) rac=bit.bor(rac,tc:GetAttribute())
tc=g:GetNext() tc=g:GetNext()
end end
attchk=rac attchk=rac
end end
...@@ -124,14 +124,14 @@ end ...@@ -124,14 +124,14 @@ end
function c33900648.darkcon1(e) function c33900648.darkcon1(e)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return bit.band(c33900648.attributechk(tp),ATTRIBUTE_DARK)~=0 return bit.band(c33900648.attributechk(tp),ATTRIBUTE_DARK)~=0
and Duel.GetFieldGroupCount(e:GetHandlerPlayer(),LOCATION_MZONE,0)>=2 and Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)>=2
and not Duel.IsPlayerAffectedByEffect(e:GetHandlerPlayer(),97811903) and not Duel.IsPlayerAffectedByEffect(tp,97811903)
end end
function c33900648.darkcon2(e) function c33900648.darkcon2(e)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return bit.band(c33900648.attributechk(1-tp),ATTRIBUTE_DARK)~=0 return bit.band(c33900648.attributechk(1-tp),ATTRIBUTE_DARK)~=0
and Duel.GetFieldGroupCount(e:GetHandlerPlayer(),0,LOCATION_MZONE)>=2 and Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)>=2
and not Duel.IsPlayerAffectedByEffect(1-e:GetHandlerPlayer(),97811903) and not Duel.IsPlayerAffectedByEffect(1-tp,97811903)
end end
function c33900648.descon(e,tp,eg,ep,ev,re,r,rp) function c33900648.descon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(c33900648.attributechk(Duel.GetTurnPlayer()),ATTRIBUTE_EARTH)~=0 return bit.band(c33900648.attributechk(Duel.GetTurnPlayer()),ATTRIBUTE_EARTH)~=0
...@@ -188,12 +188,12 @@ end ...@@ -188,12 +188,12 @@ end
function c33900648.windcon1(e) function c33900648.windcon1(e)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return bit.band(c33900648.attributechk(tp),ATTRIBUTE_WIND)~=0 return bit.band(c33900648.attributechk(tp),ATTRIBUTE_WIND)~=0
and not Duel.IsPlayerAffectedByEffect(e:GetHandlerPlayer(),97811903) and not Duel.IsPlayerAffectedByEffect(tp,97811903)
end end
function c33900648.windcon2(e) function c33900648.windcon2(e)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return bit.band(c33900648.attributechk(1-tp),ATTRIBUTE_WIND)~=0 return bit.band(c33900648.attributechk(1-tp),ATTRIBUTE_WIND)~=0
and not Duel.IsPlayerAffectedByEffect(1-e:GetHandlerPlayer(),97811903) and not Duel.IsPlayerAffectedByEffect(1-tp,97811903)
end end
function c33900648.actarget(e,te,tp) function c33900648.actarget(e,te,tp)
return te:IsHasType(EFFECT_TYPE_ACTIVATE) and te:IsActiveType(TYPE_SPELL) return te:IsHasType(EFFECT_TYPE_ACTIVATE) and te:IsActiveType(TYPE_SPELL)
...@@ -203,5 +203,4 @@ function c33900648.costchk(e,te_or_c,tp) ...@@ -203,5 +203,4 @@ function c33900648.costchk(e,te_or_c,tp)
end end
function c33900648.costop(e,tp,eg,ep,ev,re,r,rp) function c33900648.costop(e,tp,eg,ep,ev,re,r,rp)
Duel.PayLPCost(tp,500) Duel.PayLPCost(tp,500)
end end
\ No newline at end of file
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