Commit 7f06a462 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 390a0679
...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,2100,0,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,2100,0,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end
c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER) if c:IsRelateToEffect(e) then
Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP) c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER)
s.effonfield(c) Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP)
Duel.SpecialSummonComplete() s.effonfield(c)
Duel.SpecialSummonComplete()
end
end end
function s.effonfield(c) function s.effonfield(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,1500,1500,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,1500,1500,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end
c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP) if c:IsRelateToEffect(e) then
Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP) c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER)
s.effonfield(c) Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP)
Duel.SpecialSummonComplete() s.effonfield(c)
Duel.SpecialSummonComplete()
end
end end
function s.effonfield(c) function s.effonfield(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,1500,1500,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,1500,1500,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end
c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP) if c:IsRelateToEffect(e) then
Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP) c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER)
s.effonfield(c) Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP)
Duel.SpecialSummonComplete() s.effonfield(c)
Duel.SpecialSummonComplete()
end
end end
function s.effonfield(c) function s.effonfield(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,1200,1800,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,1200,1800,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end
c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER) if c:IsRelateToEffect(e) then
Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP) c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER)
s.effonfield(c) Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP)
Duel.SpecialSummonComplete() s.effonfield(c)
Duel.SpecialSummonComplete()
end
end end
function s.effonfield(c) function s.effonfield(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,800,2000,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,800,2000,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end
c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP) if c:IsRelateToEffect(e) then
Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP) c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER)
s.effonfield(c) Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP)
Duel.SpecialSummonComplete() s.effonfield(c)
Duel.SpecialSummonComplete()
end
end end
function s.effonfield(c) function s.effonfield(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,400,2200,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,400,2200,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end
c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER) if c:IsRelateToEffect(e) then
Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP) c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER)
s.effonfield(c) Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP)
Duel.SpecialSummonComplete() s.effonfield(c)
Duel.SpecialSummonComplete()
end
end end
function s.effonfield(c) function s.effonfield(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,10 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,0,2400,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,0,2400,4,RACE_BEAST,ATTRIBUTE_LIGHT) then return end
c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP) if c:IsRelateToEffect(e) then
Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP) c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER)
s.effonfield(c) Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP)
Duel.SpecialSummonComplete() s.effonfield(c)
Duel.SpecialSummonComplete()
end
end end
function s.effonfield(c) function s.effonfield(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -20,11 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,11 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,2500,2000,6,RACE_BEAST,ATTRIBUTE_LIGHT) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,2500,2000,6,RACE_BEAST,ATTRIBUTE_LIGHT) then return end
c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP) if c:IsRelateToEffect(e) then
Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP) c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER)
s.effonfield1(c) Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP)
s.effonfield2(c) s.effonfield(c)
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end
end end
function s.effonfield1(c) function s.effonfield1(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -20,11 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,11 +20,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,2000,2500,6,RACE_BEAST,ATTRIBUTE_LIGHT) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,id,0x9ca1,TYPES_EFFECT_TRAP_MONSTER,2000,2500,6,RACE_BEAST,ATTRIBUTE_LIGHT) then return end
c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP) if c:IsRelateToEffect(e) then
Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP) c:AddMonsterAttribute(TYPE_EFFECT+TYPE_TRAP+TYPE_TUNER)
s.effonfield1(c) Duel.SpecialSummonStep(c,SUMMON_VALUE_SELF,tp,tp,true,false,POS_FACEUP)
s.effonfield2(c) s.effonfield(c)
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end
end end
function s.effonfield1(c) function s.effonfield1(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -58,7 +59,7 @@ function s.effonfield2(c) ...@@ -58,7 +59,7 @@ function s.effonfield2(c)
e1:SetDescription(aux.Stringid(id,0)) e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_REMOVE) e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetCountLimit(1) e1:SetCountLimit(1)
......
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