Commit 8d2e8225 authored by wind2009's avatar wind2009

Update クリアー・ワールド

parent 840e88a9
...@@ -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)
...@@ -204,4 +204,3 @@ end ...@@ -204,4 +204,3 @@ 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