Commit 232d7719 authored by MonokuroInzanaito's avatar MonokuroInzanaito Committed by DailyShana

eratta of Black Garden (#1101)

parent 9df44cae
...@@ -39,7 +39,7 @@ function c71645242.initial_effect(c) ...@@ -39,7 +39,7 @@ function c71645242.initial_effect(c)
end end
end end
function c71645242.cfilter(c,tp) function c71645242.cfilter(c,tp)
return c:IsControler(tp) and c:GetSummonType()~=SUMMON_TYPE_SPECIAL+0x20 return c:IsFaceup() and c:IsControler(tp) and c:GetSummonType()~=SUMMON_TYPE_SPECIAL+0x20
end end
function c71645242.regcon(e,tp,eg,ep,ev,re,r,rp) function c71645242.regcon(e,tp,eg,ep,ev,re,r,rp)
local sf=0 local sf=0
...@@ -76,15 +76,15 @@ function c71645242.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,15 +76,15 @@ function c71645242.spop(e,tp,eg,ep,ev,re,r,rp)
end end
tc=g:GetNext() tc=g:GetNext()
end end
if bit.extract(ev,tp)~=0 and Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0 if bit.extract(ev,tp)~=0 and Duel.GetLocationCount(1-tp,LOCATION_MZONE,tp)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,71645243,0,0x4011,800,800,2,RACE_PLANT,ATTRIBUTE_DARK,POS_FACEUP_ATTACK,1-tp) then and Duel.IsPlayerCanSpecialSummonMonster(tp,71645243,0,0x4011,800,800,2,RACE_PLANT,ATTRIBUTE_DARK,POS_FACEUP_ATTACK,1-tp) then
local token=Duel.CreateToken(tp,71645243) local token=Duel.CreateToken(tp,71645243)
Duel.SpecialSummonStep(token,0x20,tp,1-tp,false,false,POS_FACEUP_ATTACK) Duel.SpecialSummonStep(token,0x20,tp,1-tp,false,false,POS_FACEUP_ATTACK)
end end
if bit.extract(ev,1-tp)~=0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if bit.extract(ev,1-tp)~=0 and Duel.GetLocationCount(tp,LOCATION_MZONE,1-tp)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,71645243,0,0x4011,800,800,2,RACE_PLANT,ATTRIBUTE_DARK) then and Duel.IsPlayerCanSpecialSummonMonster(1-tp,71645243,0,0x4011,800,800,2,RACE_PLANT,ATTRIBUTE_DARK) then
local token=Duel.CreateToken(1-tp,71645243) local token=Duel.CreateToken(1-tp,71645243)
Duel.SpecialSummonStep(token,0x20,tp,tp,false,false,POS_FACEUP_ATTACK) Duel.SpecialSummonStep(token,0x20,1-tp,tp,false,false,POS_FACEUP_ATTACK)
end end
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end end
......
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