Commit 5854ab7d authored by salix5's avatar salix5

non-trap monster

parent 3bd3081c
...@@ -47,17 +47,16 @@ end ...@@ -47,17 +47,16 @@ end
function c1154611.spop(e,tp,eg,ep,ev,re,r,rp) function c1154611.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,1154611,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,1154611,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0xc7c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_IMMUNE_EFFECT) e2:SetCode(EFFECT_IMMUNE_EFFECT)
...@@ -65,7 +64,7 @@ function c1154611.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +64,7 @@ function c1154611.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetValue(c1154611.efilter) e2:SetValue(c1154611.efilter)
e2:SetReset(RESET_EVENT+0x1fe0000) e2:SetReset(RESET_EVENT+0x1fe0000)
c:RegisterEffect(e2) c:RegisterEffect(e2,true)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e3:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
...@@ -73,6 +72,7 @@ function c1154611.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,6 +72,7 @@ function c1154611.spop(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_EVENT+0x47e0000) e3:SetReset(RESET_EVENT+0x47e0000)
e3:SetValue(LOCATION_REMOVED) e3:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e3,true) c:RegisterEffect(e3,true)
Duel.SpecialSummonComplete()
end end
end end
function c1154611.efilter(e,re) function c1154611.efilter(e,re)
......
...@@ -58,17 +58,16 @@ end ...@@ -58,17 +58,16 @@ end
function c2376209.spop(e,tp,eg,ep,ev,re,r,rp) function c2376209.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,2376209,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,2376209,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0xc7c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_IMMUNE_EFFECT) e2:SetCode(EFFECT_IMMUNE_EFFECT)
...@@ -76,7 +75,7 @@ function c2376209.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,7 +75,7 @@ function c2376209.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetValue(c2376209.efilter) e2:SetValue(c2376209.efilter)
e2:SetReset(RESET_EVENT+0x1fe0000) e2:SetReset(RESET_EVENT+0x1fe0000)
c:RegisterEffect(e2) c:RegisterEffect(e2,true)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e3:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
...@@ -84,6 +83,7 @@ function c2376209.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -84,6 +83,7 @@ function c2376209.spop(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_EVENT+0x47e0000) e3:SetReset(RESET_EVENT+0x47e0000)
e3:SetValue(LOCATION_REMOVED) e3:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e3,true) c:RegisterEffect(e3,true)
Duel.SpecialSummonComplete()
end end
end end
function c2376209.efilter(e,re) function c2376209.efilter(e,re)
......
...@@ -55,17 +55,17 @@ end ...@@ -55,17 +55,17 @@ end
function c24212820.spop(e,tp,eg,ep,ev,re,r,rp) function c24212820.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,24212820,0x10db,0x21,4,300,600,RACE_WARRIOR,ATTRIBUTE_DARK) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,24212820,0x10db,0x21,4,300,600,RACE_WARRIOR,ATTRIBUTE_DARK) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,1,tp,tp,true,false,POS_FACEUP_DEFENCE)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_EFFECT+TYPE_MONSTER) e1:SetValue(TYPE_EFFECT+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0xc7c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,1,tp,tp,true,false,POS_FACEUP_DEFENCE) --redirect
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e2:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
...@@ -73,6 +73,7 @@ function c24212820.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,6 +73,7 @@ function c24212820.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetReset(RESET_EVENT+0x47e0000) e2:SetReset(RESET_EVENT+0x47e0000)
e2:SetValue(LOCATION_REMOVED) e2:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e2,true) c:RegisterEffect(e2,true)
Duel.SpecialSummonComplete()
end end
end end
function c24212820.defcon(e) function c24212820.defcon(e)
......
...@@ -46,17 +46,16 @@ end ...@@ -46,17 +46,16 @@ end
function c24903843.spop(e,tp,eg,ep,ev,re,r,rp) function c24903843.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,24903843,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,24903843,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0xc7c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_IMMUNE_EFFECT) e2:SetCode(EFFECT_IMMUNE_EFFECT)
...@@ -64,7 +63,7 @@ function c24903843.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -64,7 +63,7 @@ function c24903843.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetValue(c24903843.efilter) e2:SetValue(c24903843.efilter)
e2:SetReset(RESET_EVENT+0x1fe0000) e2:SetReset(RESET_EVENT+0x1fe0000)
c:RegisterEffect(e2) c:RegisterEffect(e2,true)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e3:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
...@@ -72,6 +71,7 @@ function c24903843.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,6 +71,7 @@ function c24903843.spop(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_EVENT+0x47e0000) e3:SetReset(RESET_EVENT+0x47e0000)
e3:SetValue(LOCATION_REMOVED) e3:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e3,true) c:RegisterEffect(e3,true)
Duel.SpecialSummonComplete()
end end
end end
function c24903843.efilter(e,re) function c24903843.efilter(e,re)
......
...@@ -53,17 +53,17 @@ end ...@@ -53,17 +53,17 @@ end
function c33622465.spop(e,tp,eg,ep,ev,re,r,rp) function c33622465.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,33622465,0,0x11,3,1200,400,RACE_WARRIOR,ATTRIBUTE_EARTH) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,33622465,0,0x11,3,1200,400,RACE_WARRIOR,ATTRIBUTE_EARTH) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP_DEFENCE)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0x47c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP_DEFENCE) --redirect
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e2:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
...@@ -71,5 +71,6 @@ function c33622465.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,5 +71,6 @@ function c33622465.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetReset(RESET_EVENT+0x47e0000) e2:SetReset(RESET_EVENT+0x47e0000)
e2:SetValue(LOCATION_REMOVED) e2:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e2,true) c:RegisterEffect(e2,true)
Duel.SpecialSummonComplete()
end end
end end
...@@ -49,17 +49,16 @@ end ...@@ -49,17 +49,16 @@ end
function c35035481.spop(e,tp,eg,ep,ev,re,r,rp) function c35035481.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,35035481,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,35035481,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0xc7c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_IMMUNE_EFFECT) e2:SetCode(EFFECT_IMMUNE_EFFECT)
...@@ -75,6 +74,7 @@ function c35035481.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -75,6 +74,7 @@ function c35035481.spop(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_EVENT+0x47e0000) e3:SetReset(RESET_EVENT+0x47e0000)
e3:SetValue(LOCATION_REMOVED) e3:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e3,true) c:RegisterEffect(e3,true)
Duel.SpecialSummonComplete()
end end
end end
function c35035481.efilter(e,re) function c35035481.efilter(e,re)
......
...@@ -55,17 +55,16 @@ end ...@@ -55,17 +55,16 @@ end
function c38761908.spop(e,tp,eg,ep,ev,re,r,rp) function c38761908.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,38761908,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,38761908,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0xc7c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_IMMUNE_EFFECT) e2:SetCode(EFFECT_IMMUNE_EFFECT)
...@@ -73,7 +72,7 @@ function c38761908.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,7 +72,7 @@ function c38761908.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetValue(c38761908.efilter) e2:SetValue(c38761908.efilter)
e2:SetReset(RESET_EVENT+0x1fe0000) e2:SetReset(RESET_EVENT+0x1fe0000)
c:RegisterEffect(e2) c:RegisterEffect(e2,true)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e3:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
...@@ -81,6 +80,7 @@ function c38761908.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,6 +80,7 @@ function c38761908.spop(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_EVENT+0x47e0000) e3:SetReset(RESET_EVENT+0x47e0000)
e3:SetValue(LOCATION_REMOVED) e3:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e3,true) c:RegisterEffect(e3,true)
Duel.SpecialSummonComplete()
end end
end end
function c38761908.efilter(e,re) function c38761908.efilter(e,re)
......
...@@ -30,17 +30,17 @@ end ...@@ -30,17 +30,17 @@ end
function c51606429.activate(e,tp,eg,ep,ev,re,r,rp) function c51606429.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,51606429,0x10db,0x11,3,0,0,RACE_WARRIOR,ATTRIBUTE_DARK) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,51606429,0x10db,0x11,3,0,0,RACE_WARRIOR,ATTRIBUTE_DARK) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP_ATTACK)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0x47c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP_ATTACK) Duel.SpecialSummonComplete()
end end
end end
function c51606429.negcon(e,tp,eg,ep,ev,re,r,rp) function c51606429.negcon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -91,16 +91,16 @@ end ...@@ -91,16 +91,16 @@ end
function c54241725.spop(e,tp,eg,ep,ev,re,r,rp) function c54241725.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,54241725,0,0x11,5,1000,2400,RACE_FAIRY,ATTRIBUTE_LIGHT) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,54241725,0,0x11,5,1000,2400,RACE_FAIRY,ATTRIBUTE_LIGHT) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP_DEFENCE)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0xc7c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP_DEFENCE) Duel.SpecialSummonComplete()
end end
end end
...@@ -61,17 +61,16 @@ end ...@@ -61,17 +61,16 @@ end
function c61420130.spop(e,tp,eg,ep,ev,re,r,rp) function c61420130.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,61420130,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,61420130,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0xc7c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_IMMUNE_EFFECT) e2:SetCode(EFFECT_IMMUNE_EFFECT)
...@@ -87,6 +86,7 @@ function c61420130.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,6 +86,7 @@ function c61420130.spop(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_EVENT+0x47e0000) e3:SetReset(RESET_EVENT+0x47e0000)
e3:SetValue(LOCATION_REMOVED) e3:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e3,true) c:RegisterEffect(e3,true)
Duel.SpecialSummonComplete()
end end
end end
function c61420130.efilter(e,re) function c61420130.efilter(e,re)
......
...@@ -47,17 +47,16 @@ end ...@@ -47,17 +47,16 @@ end
function c64765016.spop(e,tp,eg,ep,ev,re,r,rp) function c64765016.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,64765016,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,64765016,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0xc7c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_IMMUNE_EFFECT) e2:SetCode(EFFECT_IMMUNE_EFFECT)
...@@ -73,6 +72,7 @@ function c64765016.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,6 +72,7 @@ function c64765016.spop(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_EVENT+0x47e0000) e3:SetReset(RESET_EVENT+0x47e0000)
e3:SetValue(LOCATION_REMOVED) e3:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e3,true) c:RegisterEffect(e3,true)
Duel.SpecialSummonComplete()
end end
end end
function c64765016.efilter(e,re) function c64765016.efilter(e,re)
......
...@@ -57,23 +57,24 @@ end ...@@ -57,23 +57,24 @@ end
function c77462146.spop(e,tp,eg,ep,ev,re,r,rp) function c77462146.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,77462146,0x10db,0x11,4,0,300,RACE_WARRIOR,ATTRIBUTE_DARK) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,77462146,0x10db,0x11,4,0,300,RACE_WARRIOR,ATTRIBUTE_DARK) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP_DEFENCE)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0xc7c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP_DEFENCE) --redirect
local e7=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e7:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e7:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e2:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
e7:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7:SetReset(RESET_EVENT+0x47e0000) e2:SetReset(RESET_EVENT+0x47e0000)
e7:SetValue(LOCATION_REMOVED) e2:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e7,true) c:RegisterEffect(e2,true)
Duel.SpecialSummonComplete()
end end
end end
...@@ -50,17 +50,16 @@ end ...@@ -50,17 +50,16 @@ end
function c98414735.spop(e,tp,eg,ep,ev,re,r,rp) function c98414735.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,98414735,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,98414735,0xd4,0x11,1200,0,2,RACE_AQUA,ATTRIBUTE_WATER) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0xc7c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_IMMUNE_EFFECT) e2:SetCode(EFFECT_IMMUNE_EFFECT)
...@@ -68,7 +67,7 @@ function c98414735.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -68,7 +67,7 @@ function c98414735.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetValue(c98414735.efilter) e2:SetValue(c98414735.efilter)
e2:SetReset(RESET_EVENT+0x1fe0000) e2:SetReset(RESET_EVENT+0x1fe0000)
c:RegisterEffect(e2) c:RegisterEffect(e2,true)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e3:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
...@@ -76,6 +75,7 @@ function c98414735.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,6 +75,7 @@ function c98414735.spop(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_EVENT+0x47e0000) e3:SetReset(RESET_EVENT+0x47e0000)
e3:SetValue(LOCATION_REMOVED) e3:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e3,true) c:RegisterEffect(e3,true)
Duel.SpecialSummonComplete()
end end
end end
function c98414735.efilter(e,re) function c98414735.efilter(e,re)
......
...@@ -25,17 +25,17 @@ end ...@@ -25,17 +25,17 @@ end
function c98827725.activate(e,tp,eg,ep,ev,re,r,rp) function c98827725.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) if c:IsRelateToEffect(e) and Duel.IsPlayerCanSpecialSummonMonster(tp,98827725,0x10db,0x11,4,0,300,RACE_WARRIOR,ATTRIBUTE_DARK) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,98827725,0x10db,0x11,4,0,300,RACE_WARRIOR,ATTRIBUTE_DARK) then c:AddMonsterAttribute(0,0,0,0,0)
c:SetStatus(STATUS_NO_LEVEL,false) Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP_DEFENCE)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL+TYPE_MONSTER)
e1:SetReset(RESET_EVENT+0x47c0000) e1:SetReset(RESET_EVENT+0x1fc0000)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP_DEFENCE) Duel.SpecialSummonComplete()
end end
end end
function c98827725.actcon(e) function c98827725.actcon(e)
......
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