Commit 60db1c13 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 5734d069
No preview for this file type
expansions/pics/65080016.jpg

32.7 KB | W: | H:

expansions/pics/65080016.jpg

129 KB | W: | H:

expansions/pics/65080016.jpg
expansions/pics/65080016.jpg
expansions/pics/65080016.jpg
expansions/pics/65080016.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/65080018.jpg

26.4 KB | W: | H:

expansions/pics/65080018.jpg

120 KB | W: | H:

expansions/pics/65080018.jpg
expansions/pics/65080018.jpg
expansions/pics/65080018.jpg
expansions/pics/65080018.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/65080019.jpg

33.1 KB | W: | H:

expansions/pics/65080019.jpg

129 KB | W: | H:

expansions/pics/65080019.jpg
expansions/pics/65080019.jpg
expansions/pics/65080019.jpg
expansions/pics/65080019.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/65080021.jpg

31.9 KB | W: | H:

expansions/pics/65080021.jpg

128 KB | W: | H:

expansions/pics/65080021.jpg
expansions/pics/65080021.jpg
expansions/pics/65080021.jpg
expansions/pics/65080021.jpg
  • 2-up
  • Swipe
  • Onion skin
--Seven协会南部4科 浮士德
local s,id=GetID()
function s.spsummon(c)
s.lcb_setcard=true
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_POSITION)
......
......@@ -30,6 +30,7 @@ function s.sprop(g)
Duel.SendtoGrave(g,REASON_COST)
end
function s.recover(c)
s.lcb_setcard=true
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_RECOVER+CATEGORY_POSITION)
......
--气泡企鹅
function c65080016.initial_effect(c)
aux.AddCodeList(c,65080011)
aux.AddCodeList(c,65080022)
--sp summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_REMOVE+CATEGORY_SEARCH+CATEGORY_TOHAND)
......@@ -31,7 +31,7 @@ function c65080016.retg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g1=Duel.SelectTarget(tp,c65080016.refilter,tp,LOCATION_MZONE,0,1,1,e:GetHandler())
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g1,1,0,0)
if Duel.IsEnvironment(65080011) then
if Duel.IsEnvironment(65080022) then
e:SetCategory(CATEGORY_REMOVE+CATEGORY_SEARCH+CATEGORY_SPECIAL_SUMMON)
end
end
......@@ -50,7 +50,7 @@ function c65080016.reop(e,tp,eg,ep,ev,re,r,rp)
e1:SetOperation(c65080016.retop)
e1:SetReset(RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN)
Duel.RegisterEffect(e1,tp)
if Duel.IsEnvironment(65080011) and Duel.IsExistingMatchingCard(c65080016.spfil,tp,LOCATION_DECK,0,1,nil,e,tp,race,code) and Duel.GetMZoneCount(tp)>0 and Duel.SelectYesNo(tp,aux.Stringid(65080016,0)) then
if Duel.IsEnvironment(65080022) and Duel.IsExistingMatchingCard(c65080016.spfil,tp,LOCATION_DECK,0,1,nil,e,tp,race,code) and Duel.GetMZoneCount(tp)>0 and Duel.SelectYesNo(tp,aux.Stringid(65080016,0)) then
local mg=Duel.SelectMatchingCard(tp,c65080016.spfil,tp,LOCATION_DECK,0,1,1,nil,e,tp,race,code)
Duel.SpecialSummon(mg,0,tp,tp,false,false,POS_FACEUP_DEFENSE)
end
......
......@@ -2,7 +2,7 @@
function c65080018.initial_effect(c)
aux.AddXyzProcedure(c,aux.TRUE,3,2,nil,nil,99)
c:EnableReviveLimit()
aux.AddCodeList(c,65080018)
aux.AddCodeList(c,65080022)
--BACK
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
......@@ -16,7 +16,7 @@ function c65080018.initial_effect(c)
end
function c65080018.bkfil(c)
return c:IsAbleToHand() and c:IsAttribute(ATTRIBUTE_WIND) and c:IsLevelBelow(4) and (c:IsLocation(LOCATION_REMOVED) or Duel.IsEnvironment(65080018))
return c:IsAbleToHand() and c:IsAttribute(ATTRIBUTE_WIND) and c:IsLevelBelow(4) and (c:IsLocation(LOCATION_REMOVED) or Duel.IsEnvironment(65080022))
end
function c65080018.cost(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -27,7 +27,7 @@ end
function c65080018.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65080018.bkfil,tp,LOCATION_REMOVED+LOCATION_GRAVE,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,nil,LOCATION_REMOVED)
if Duel.IsEnvironment(65080018) then
if Duel.IsEnvironment(65080022) then
e:SetCategory(CATEGORY_TOHAND+CATEGORY_GRAVE_ACTION)
end
end
......
......@@ -2,7 +2,7 @@
function c65080019.initial_effect(c)
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkAttribute,ATTRIBUTE_WIND),2)
c:EnableReviveLimit()
aux.AddCodeList(c,22702055)
aux.AddCodeList(c,65080022)
--sp summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......@@ -38,7 +38,7 @@ function c65080019.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g1=Duel.SelectTarget(tp,c65080019.refilter,tp,LOCATION_MZONE,0,1,1,nil,lg)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g1,1,0,0)
if Duel.IsEnvironment(22702055) then
if Duel.IsEnvironment(65080022) then
e:SetCategory(CATEGORY_REMOVE+CATEGORY_SEARCH+CATEGORY_TOHAND)
end
end
......@@ -56,7 +56,7 @@ function c65080019.thop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN)
Duel.RegisterEffect(e1,tp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
if Duel.IsEnvironment(22702055) and Duel.IsExistingMatchingCard(c65080019.thfil,tp,LOCATION_DECK,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(65080019,0)) then
if Duel.IsEnvironment(65080022) and Duel.IsExistingMatchingCard(c65080019.thfil,tp,LOCATION_DECK,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(65080019,0)) then
local g=Duel.SelectMatchingCard(tp,c65080019.thfil,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
......@@ -74,7 +74,7 @@ end
function c65080019.thfil2(c,e,tp)
return aux.IsCodeListed(c,22702055) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return aux.IsCodeListed(c,65080022) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c65080019.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65080019.thfil2,tp,LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_GRAVE,1,nil,e,tp) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
......
--VOID SEA
function c65080021.initial_effect(c)
aux.AddCodeList(c,65080021)
aux.AddCodeList(c,65080022)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
......@@ -101,7 +101,7 @@ function c65080021.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function c65080021.spfil(c,e,tp)
return aux.IsCodeListed(c,65080021) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
return aux.IsCodeListed(c,65080022) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end
function c65080021.valfil(c)
return c:IsFaceup() and c:IsRace(RACE_AQUA+RACE_FISH+RACE_SEASERPENT)
......
--虚空之都 阿克缇斯
function c65080022.initial_effect(c)
aux.AddCodeList(c,65080022)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--Search
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_REMOVE)
e2:SetRange(LOCATION_FZONE)
e2:SetCountLimit(1,65080022)
e2:SetCondition(c65080022.thcon)
e2:SetTarget(c65080022.thtg)
e2:SetOperation(c65080022.thop)
c:RegisterEffect(e2)
--atk and dame
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(65080022,0))
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_FZONE)
e3:SetCountLimit(1)
e3:SetTarget(c65080022.target)
e3:SetOperation(c65080022.operation)
c:RegisterEffect(e3)
end
function c65080022.tgfil(c)
return c:IsAttribute(ATTRIBUTE_WIND) and c:IsFaceup() and c:IsAbleToRemove()
end
function c65080022.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingTarget(c65080022.tgfil,tp,LOCATION_MZONE,0,1,nil) end
local g=Duel.SelectTarget(tp,c65080022.tgfil,tp,LOCATION_MZONE,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,0,0)
end
function c65080022.operation(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
local tc=Duel.GetFirstTarget()
local atk=tc:GetAttack()
if Duel.Remove(tc,POS_FACEUP,REASON_COST+REASON_TEMPORARY)~=0 then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_STANDBY)
e1:SetReset(RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN)
e1:SetLabelObject(tc)
e1:SetCountLimit(1)
e1:SetCondition(c65080022.retcon)
e1:SetOperation(c65080022.retop)
Duel.RegisterEffect(e1,tp)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_PRE_DAMAGE_CALCULATE)
e2:SetLabel(atk)
e2:SetReset(RESET_PHASE+PHASE_END,2)
e2:SetCondition(c65080022.condition2)
e2:SetOperation(c65080022.activate)
Duel.RegisterEffect(e2,tp)
local e10=Effect.CreateEffect(e:GetHandler())
e10:SetType(EFFECT_TYPE_FIELD)
e10:SetProperty(EFFECT_FLAG_CLIENT_HINT+EFFECT_FLAG_PLAYER_TARGET)
e10:SetReset(RESET_PHASE+PHASE_END)
e10:SetTargetRange(1,0)
e10:SetDescription(aux.Stringid(65080022,0))
Duel.RegisterEffect(e10,tp)
end
end
function c65080022.condition2(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetAttackTarget()==nil and Duel.GetTurnPlayer()~=tp
end
function c65080022.activate(e,tp,eg,ep,ev,re,r,rp)
local a=Duel.GetAttacker()
local aa=a:GetAttack()
local atk=e:GetLabel()
local aatk=aa-atk
if aatk<0 then aatk=0 end
local e4=Effect.CreateEffect(e:GetHandler())
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetRange(LOCATION_MZONE)
e4:SetCode(EFFECT_SET_BATTLE_ATTACK)
e4:SetReset(RESET_PHASE+PHASE_DAMAGE)
e4:SetValue(aatk)
a:RegisterEffect(e4,true)
end
function c65080022.retcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp
end
function c65080022.retop(e,tp,eg,ep,ev,re,r,rp)
Duel.ReturnToField(e:GetLabelObject())
end
function c65080022.thfil(c,tp)
return c:IsPreviousLocation(LOCATION_MZONE) and c:GetPreviousControler()==tp and c:IsRace(RACE_FISH+RACE_AQUA+RACE_SEASERPENT)
end
function c65080022.thcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65080022.thfil,1,nil,tp)
end
function c65080022.thfil2(c)
return (c:IsAttribute(ATTRIBUTE_WIND) or (c:IsType(TYPE_SPELL+TYPE_TRAP) and aux.IsCodeListed(c,65080022))) and c:IsAbleToHand()
end
function c65080022.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65080022.thfil2,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function c65080022.thop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c65080022.thfil2,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
end
\ No newline at end of file
--红风鳞
function c65080023.initial_effect(c)
aux.AddCodeList(c,65080022)
--sp summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_REMOVE+CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,65080023)
e1:SetCost(c65080023.jumpcost)
e1:SetTarget(c65080023.jumptg)
e1:SetOperation(c65080023.jumpop)
c:RegisterEffect(e1)
--Remove
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_REMOVE)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,65080013)
e2:SetCondition(c65080023.recon)
e2:SetTarget(c65080023.retg)
e2:SetOperation(c65080023.reop)
c:RegisterEffect(e2)
end
function c65080023.recon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsEnvironment(65080022)
end
function c65080023.retg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return false end
if chk==0 then return Duel.IsExistingTarget(aux.TRUE,tp,LOCATION_MZONE,0,1,nil)
and Duel.IsExistingTarget(aux.TRUE,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g1=Duel.SelectTarget(tp,aux.TRUE,tp,LOCATION_MZONE,0,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g2=Duel.SelectTarget(tp,aux.TRUE,tp,0,LOCATION_MZONE,1,1,nil)
g1:Merge(g2)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g1,2,0,0)
end
function c65080023.reop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
if g:GetCount()>0 then
Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
end
end
function c65080023.jumpcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAttribute,tp,LOCATION_HAND,0,1,e:GetHandler(),ATTRIBUTE_WIND) end
local g=Duel.SelectMatchingCard(tp,Card.IsAttribute,tp,LOCATION_HAND,0,1,1,e:GetHandler(),ATTRIBUTE_WIND)
Duel.ConfirmCards(1-tp,g)
end
function c65080023.jumptgfil(c)
return (c:IsCode(65080022) or (c:IsType(TYPE_SPELL+TYPE_TRAP) and aux.IsCodeListed(c,65080022))) and c:IsAbleToHand()
end
function c65080023.jumptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.IsExistingMatchingCard(c65080023.jumptgfil,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,e:GetHandler(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,0,0)
end
function c65080023.jumpop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) and not Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then return end
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
Duel.BreakEffect()
if Duel.Remove(c,0,REASON_EFFECT+REASON_TEMPORARY)==0 then return end
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_STANDBY)
e1:SetCountLimit(1)
e1:SetLabelObject(c)
e1:SetCondition(c65080023.retcon)
e1:SetOperation(c65080023.retop)
e1:SetReset(RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN)
Duel.RegisterEffect(e1,tp)
local g=Duel.SelectMatchingCard(tp,c65080023.jumptgfil,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
end
end
function c65080023.retcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp
end
function c65080023.retop(e,tp,eg,ep,ev,re,r,rp)
Duel.ReturnToField(e:GetLabelObject())
end
\ No newline at end of file
--星空翼鱼
function c65080025.initial_effect(c)
aux.AddCodeList(c,65080022)
--sp summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,65080025)
e1:SetTarget(c65080025.jumptg)
e1:SetOperation(c65080025.jumpop)
c:RegisterEffect(e1)
--
local e3=e1:Clone()
e3:SetRange(LOCATION_GRAVE)
e3:SetCondition(c65080025.jumpcon)
c:RegisterEffect(e3)
--Search
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_REMOVE)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,65080015)
e2:SetCondition(c65080025.spcon)
e2:SetTarget(c65080025.sptg)
e2:SetOperation(c65080025.spop)
c:RegisterEffect(e2)
end
function c65080025.thfil(c,tp)
return c:IsPreviousLocation(LOCATION_MZONE) and c:GetPreviousControler()==tp and c:IsAttribute(ATTRIBUTE_WIND)
end
function c65080025.spcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65080025.thfil,1,nil,tp)
end
function c65080025.thfil2(c,e,tp)
return c:IsRace(RACE_FISH+RACE_AQUA+RACE_SEASERPENT) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c65080025.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65080025.thfil2,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil,e,tp) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,LOCATION_GRAVE+LOCATION_REMOVED)
end
function c65080025.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c65080025.thfil2,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil,e,tp)
if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end
end
function c65080025.jumpcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsEnvironment(65080022)
end
function c65080025.jumpfil(c)
return c:IsAttribute(ATTRIBUTE_WIND) and c:IsRace(RACE_AQUA+RACE_FISH+RACE_SEASERPENT) and c:IsAbleToRemove()
end
function c65080025.jumptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chkc then return c65080025.jumpfil(chkc) and chkc:IsLocation(LOCATION_MZONE) end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>-1
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.IsExistingTarget(c65080025.jumpfil,tp,LOCATION_MZONE,0,1,nil) end
local g=Duel.SelectTarget(tp,c65080025.jumpfil,tp,LOCATION_MZONE,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,e:GetHandler(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function c65080025.jumpop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if not (c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>-1) then return end
if Duel.Remove(tc,0,REASON_EFFECT+REASON_TEMPORARY)==0 then return end
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_STANDBY)
e1:SetCountLimit(1)
e1:SetLabelObject(tc)
e1:SetCondition(c65080025.retcon)
e1:SetOperation(c65080025.retop)
e1:SetReset(RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN)
Duel.RegisterEffect(e1,tp)
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
function c65080025.retcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp
end
function c65080025.retop(e,tp,eg,ep,ev,re,r,rp)
Duel.ReturnToField(e:GetLabelObject())
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