-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ad8c5d
commit 2cbec0a
Showing
68 changed files
with
1,824 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
--異次元ジェット・アイアン号 | ||
function c15574615.initial_effect(c) | ||
c:EnableReviveLimit() | ||
--special summon | ||
local e1=Effect.CreateEffect(c) | ||
e1:SetType(EFFECT_TYPE_FIELD) | ||
e1:SetCode(EFFECT_SPSUMMON_PROC) | ||
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) | ||
e1:SetRange(LOCATION_HAND) | ||
e1:SetCondition(c15574615.spcon) | ||
e1:SetOperation(c15574615.spop) | ||
c:RegisterEffect(e1) | ||
--atk | ||
local e2=Effect.CreateEffect(c) | ||
e2:SetDescription(aux.Stringid(15574615,0)) | ||
e2:SetCategory(CATEGORY_SPECIAL_SUMMON) | ||
e2:SetProperty(EFFECT_FLAG_CARD_TARGET) | ||
e2:SetType(EFFECT_TYPE_IGNITION) | ||
e2:SetRange(LOCATION_MZONE) | ||
e2:SetCost(c15574615.cost) | ||
e2:SetTarget(c15574615.target) | ||
e2:SetOperation(c15574615.operation) | ||
c:RegisterEffect(e2) | ||
end | ||
function c15574615.spfilter(c,code) | ||
return c:IsFaceup() and c:IsCode(code) and c:IsAbleToGraveAsCost() | ||
end | ||
function c15574615.spcon(e,c) | ||
if c==nil then return true end | ||
local tp=c:GetControler() | ||
return Duel.GetLocationCount(tp,LOCATION_MZONE,0)~=0 | ||
and Duel.IsExistingMatchingCard(c15574615.spfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,nil,80208158) | ||
and Duel.IsExistingMatchingCard(c15574615.spfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,nil,16796157) | ||
and Duel.IsExistingMatchingCard(c15574615.spfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,nil,43791861) | ||
and Duel.IsExistingMatchingCard(c15574615.spfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,nil,79185500) | ||
end | ||
function c15574615.spop(e,tp,eg,ep,ev,re,r,rp,c) | ||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) | ||
local g1=Duel.SelectMatchingCard(tp,c15574615.spfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil,80208158) | ||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) | ||
local g2=Duel.SelectMatchingCard(tp,c15574615.spfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil,16796157) | ||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) | ||
local g3=Duel.SelectMatchingCard(tp,c15574615.spfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil,43791861) | ||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) | ||
local g4=Duel.SelectMatchingCard(tp,c15574615.spfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil,79185500) | ||
g1:Merge(g2) | ||
g1:Merge(g3) | ||
g1:Merge(g4) | ||
Duel.SendtoGrave(g1,REASON_COST) | ||
end | ||
function c15574615.cost(e,tp,eg,ep,ev,re,r,rp,chk) | ||
if chk==0 then return e:GetHandler():IsReleaseable() end | ||
Duel.Release(e:GetHandler(),REASON_COST) | ||
end | ||
function c15574615.spfilter2(c,e,tp,code) | ||
return c:IsCode(code) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) | ||
end | ||
function c15574615.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) | ||
if chkc then return false end | ||
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>=3 | ||
and Duel.IsExistingTarget(c15574615.spfilter2,tp,LOCATION_GRAVE,0,1,nil,e,tp,80208158) | ||
and Duel.IsExistingTarget(c15574615.spfilter2,tp,LOCATION_GRAVE,0,1,nil,e,tp,16796157) | ||
and Duel.IsExistingTarget(c15574615.spfilter2,tp,LOCATION_GRAVE,0,1,nil,e,tp,43791861) | ||
and Duel.IsExistingTarget(c15574615.spfilter2,tp,LOCATION_GRAVE,0,1,nil,e,tp,79185500) end | ||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) | ||
local g1=Duel.SelectTarget(tp,c15574615.spfilter2,tp,LOCATION_GRAVE,0,1,1,nil,e,tp,80208158) | ||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) | ||
local g2=Duel.SelectTarget(tp,c15574615.spfilter2,tp,LOCATION_GRAVE,0,1,1,nil,e,tp,16796157) | ||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) | ||
local g3=Duel.SelectTarget(tp,c15574615.spfilter2,tp,LOCATION_GRAVE,0,1,1,nil,e,tp,43791861) | ||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) | ||
local g4=Duel.SelectTarget(tp,c15574615.spfilter2,tp,LOCATION_GRAVE,0,1,1,nil,e,tp,79185500) | ||
g1:Merge(g2) | ||
g1:Merge(g3) | ||
g1:Merge(g4) | ||
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g1,4,0,0) | ||
end | ||
function c15574615.operation(e,tp,eg,ep,ev,re,r,rp) | ||
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e) | ||
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) | ||
if g:GetCount()>ft then return end | ||
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--野獣戦士ピューマン | ||
function c16796157.initial_effect(c) | ||
--salvage | ||
local e1=Effect.CreateEffect(c) | ||
e1:SetDescription(aux.Stringid(16796157,0)) | ||
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) | ||
e1:SetType(EFFECT_TYPE_IGNITION) | ||
e1:SetRange(LOCATION_MZONE) | ||
e1:SetCost(c16796157.thcost) | ||
e1:SetTarget(c16796157.thtg) | ||
e1:SetOperation(c16796157.thop) | ||
c:RegisterEffect(e1) | ||
end | ||
function c16796157.thcost(e,tp,eg,ep,ev,re,r,rp,chk) | ||
if chk==0 then return e:GetHandler():IsReleaseable() end | ||
Duel.Release(e:GetHandler(),REASON_COST) | ||
end | ||
function c16796157.filter(c) | ||
return c:IsCode(80208158) and c:IsAbleToHand() and not c:IsHasEffect(EFFECT_NECRO_VALLEY) | ||
end | ||
function c16796157.thtg(e,tp,eg,ep,ev,re,r,rp,chk) | ||
if chk==0 then return Duel.IsExistingMatchingCard(c16796157.filter,tp,LOCATION_GRAVE+LOCATION_DECK,0,1,nil) end | ||
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE+LOCATION_DECK) | ||
end | ||
function c16796157.thop(e,tp,eg,ep,ev,re,r,rp) | ||
if Duel.GetLocationCount(tp,LOCATION_MZONE)==0 then return end | ||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOHAND) | ||
local g=Duel.SelectMatchingCard(tp,c16796157.filter,tp,LOCATION_GRAVE+LOCATION_DECK,0,1,1,nil) | ||
if g:GetCount()>0 then | ||
Duel.SendtoHand(g,nil,REASON_EFFECT) | ||
Duel.ConfirmCards(1-tp,g) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--セイクリッド・レスカ | ||
function c16906241.initial_effect(c) | ||
--summon success | ||
local e2=Effect.CreateEffect(c) | ||
e2:SetDescription(aux.Stringid(16906241,0)) | ||
e2:SetCategory(CATEGORY_SPECIAL_SUMMON) | ||
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) | ||
e2:SetCode(EVENT_SUMMON_SUCCESS) | ||
e2:SetTarget(c16906241.sptg) | ||
e2:SetOperation(c16906241.spop) | ||
c:RegisterEffect(e2) | ||
end | ||
function c16906241.filter(c,e,tp) | ||
return c:IsSetCard(0x53) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) | ||
end | ||
function c16906241.sptg(e,tp,eg,ep,ev,re,r,rp,chk) | ||
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 | ||
and Duel.IsExistingMatchingCard(c16906241.filter,tp,LOCATION_HAND,0,1,nil,e,tp) end | ||
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND) | ||
end | ||
function c16906241.spop(e,tp,eg,ep,ev,re,r,rp) | ||
if Duel.GetLocationCount(tp,LOCATION_MZONE)==0 then return end | ||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) | ||
local g=Duel.SelectMatchingCard(tp,c16906241.filter,tp,LOCATION_HAND,0,1,1,nil,e,tp) | ||
if g:GetCount()>0 then | ||
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP_DEFENCE) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--セイクリッド・レオニス | ||
function c17129783.initial_effect(c) | ||
--extra summon | ||
local e1=Effect.CreateEffect(c) | ||
e1:SetType(EFFECT_TYPE_FIELD) | ||
e1:SetTargetRange(LOCATION_HAND+LOCATION_MZONE,0) | ||
e1:SetCode(EFFECT_EXTRA_SUMMON_COUNT) | ||
e1:SetRange(LOCATION_MZONE) | ||
e1:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x53)) | ||
c:RegisterEffect(e1) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
--リチュア・ナタリア | ||
function c17241370.initial_effect(c) | ||
--cannot special summon | ||
local e1=Effect.CreateEffect(c) | ||
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) | ||
e1:SetType(EFFECT_TYPE_SINGLE) | ||
e1:SetCode(EFFECT_SPSUMMON_CONDITION) | ||
e1:SetValue(aux.FALSE) | ||
c:RegisterEffect(e1) | ||
--summon,flip | ||
local e2=Effect.CreateEffect(c) | ||
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) | ||
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) | ||
e2:SetCode(EVENT_SUMMON_SUCCESS) | ||
e2:SetOperation(c17241370.retreg) | ||
c:RegisterEffect(e2) | ||
local e3=e2:Clone() | ||
e3:SetCode(EVENT_FLIP) | ||
c:RegisterEffect(e3) | ||
--to deck | ||
local e4=Effect.CreateEffect(c) | ||
e4:SetDescription(aux.Stringid(17241370,1)) | ||
e4:SetCategory(CATEGORY_TODECK) | ||
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) | ||
e4:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) | ||
e4:SetCode(EVENT_SUMMON_SUCCESS) | ||
e4:SetTarget(c17241370.tdtg) | ||
e4:SetOperation(c17241370.tdop) | ||
c:RegisterEffect(e4) | ||
local e5=e4:Clone() | ||
e5:SetCode(EVENT_FLIP) | ||
c:RegisterEffect(e5) | ||
end | ||
function c17241370.filter(c) | ||
return c:IsSetCard(0x3a) and c:IsType(TYPE_MONSTER) and c:IsAbleToDeck() | ||
end | ||
function c17241370.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) | ||
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c17241370.filter(chkc) end | ||
if chk==0 then return Duel.IsExistingTarget(c17241370.filter,tp,LOCATION_GRAVE,0,1,nil) end | ||
local g=Duel.SelectTarget(tp,c17241370.filter,tp,LOCATION_GRAVE,0,1,1,nil) | ||
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,1,0,0) | ||
end | ||
function c17241370.tdop(e,tp,eg,ep,ev,re,r,rp) | ||
local tc=Duel.GetFirstTarget() | ||
if tc:IsRelateToEffect(e) then | ||
Duel.SendtoDeck(tc,nil,0,REASON_EFFECT) | ||
end | ||
end | ||
function c17241370.retreg(e,tp,eg,ep,ev,re,r,rp) | ||
local c=e:GetHandler() | ||
--to hand | ||
local e1=Effect.CreateEffect(c) | ||
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) | ||
e1:SetDescription(aux.Stringid(17241370,0)) | ||
e1:SetCategory(CATEGORY_TOHAND) | ||
e1:SetCode(EVENT_PHASE+PHASE_END) | ||
e1:SetRange(LOCATION_MZONE) | ||
e1:SetProperty(EFFECT_FLAG_REPEAT) | ||
e1:SetCountLimit(1) | ||
e1:SetReset(RESET_EVENT+0x1ee0000+RESET_PHASE+PHASE_END) | ||
e1:SetCondition(c17241370.retcon) | ||
e1:SetTarget(c17241370.rettg) | ||
e1:SetOperation(c17241370.retop) | ||
c:RegisterEffect(e1) | ||
local e2=e1:Clone() | ||
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) | ||
c:RegisterEffect(e2) | ||
end | ||
function c17241370.retcon(e,tp,eg,ep,ev,re,r,rp) | ||
local c=e:GetHandler() | ||
if c:IsHasEffect(EFFECT_SPIRIT_DONOT_RETURN) then return false end | ||
if e:IsHasType(EFFECT_TYPE_TRIGGER_F) then | ||
return not c:IsHasEffect(EFFECT_SPIRIT_MAYNOT_RETURN) | ||
else return c:IsHasEffect(EFFECT_SPIRIT_MAYNOT_RETURN) end | ||
end | ||
function c17241370.rettg(e,tp,eg,ep,ev,re,r,rp,chk) | ||
if chk==0 then return true end | ||
Duel.SetOperationInfo(0,CATEGORY_TOHAND,e:GetHandler(),1,0,0) | ||
end | ||
function c17241370.retop(e,tp,eg,ep,ev,re,r,rp) | ||
local c=e:GetHandler() | ||
if c:IsRelateToEffect(e) and c:IsFaceup() then | ||
Duel.SendtoHand(c,nil,REASON_EFFECT) | ||
end | ||
end |
Oops, something went wrong.