Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
ygopro-scripts
Commits
1e7a5151
Commit
1e7a5151
authored
Sep 29, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Fluorohydride/ygopro-scripts
parents
6b920a4f
81f816b8
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
70 additions
and
70 deletions
+70
-70
c10000080.lua
c10000080.lua
+1
-1
c18832779.lua
c18832779.lua
+1
-1
c26462013.lua
c26462013.lua
+1
-1
c26857786.lua
c26857786.lua
+1
-1
c28798938.lua
c28798938.lua
+1
-1
c33202303.lua
c33202303.lua
+1
-1
c40441990.lua
c40441990.lua
+2
-1
c42472002.lua
c42472002.lua
+12
-13
c44146295.lua
c44146295.lua
+2
-2
c46593546.lua
c46593546.lua
+1
-1
c52112003.lua
c52112003.lua
+3
-1
c5795882.lua
c5795882.lua
+3
-5
c61322713.lua
c61322713.lua
+3
-5
c65589010.lua
c65589010.lua
+12
-8
c74659582.lua
c74659582.lua
+1
-1
c76290637.lua
c76290637.lua
+2
-1
c78665705.lua
c78665705.lua
+3
-1
c80529459.lua
c80529459.lua
+2
-1
c81881839.lua
c81881839.lua
+1
-1
c8567955.lua
c8567955.lua
+3
-5
c8700633.lua
c8700633.lua
+1
-4
c99328137.lua
c99328137.lua
+13
-14
No files found.
c10000080.lua
View file @
1e7a5151
...
...
@@ -115,7 +115,7 @@ function c10000080.retop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_REMOVE_BRAINWASHING
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetLabelObject
(
c
)
e1
:
SetTarget
(
c10000080
.
rettg
)
...
...
c18832779.lua
View file @
1e7a5151
...
...
@@ -2,7 +2,7 @@
function
c18832779
.
initial_effect
(
c
)
--fusion summon
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x13f
),
2
,
true
)
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
Is
Fusion
SetCard
,
0x13f
),
2
,
true
)
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
18832779
,
0
))
...
...
c26462013.lua
View file @
1e7a5151
...
...
@@ -3,7 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--material
aux
.
AddFusionProcFunFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
Is
SetCard
,
0x1b9
),
aux
.
FilterBoolFunction
(
Card
.
Is
Type
,
TYPE_NORMAL
),
1
,
127
,
true
)
aux
.
AddFusionProcFunFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
Is
FusionSetCard
,
0x1b9
),
aux
.
FilterBoolFunction
(
Card
.
IsFusion
Type
,
TYPE_NORMAL
),
1
,
127
,
true
)
--summon success
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c26857786.lua
View file @
1e7a5151
...
...
@@ -28,7 +28,7 @@ function s.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCondition
(
s
.
atkcon
)
e3
:
SetTarget
(
s
.
atktg2
)
...
...
c28798938.lua
View file @
1e7a5151
...
...
@@ -2,7 +2,7 @@
function
c28798938
.
initial_effect
(
c
)
--fusion summon
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x14f
),
2
,
true
)
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
Is
Fusion
SetCard
,
0x14f
),
2
,
true
)
--effect gain
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
...
...
c33202303.lua
View file @
1e7a5151
...
...
@@ -3,7 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--material
aux
.
AddFusionProcFun2
(
c
,
aux
.
FilterBoolFunction
(
Card
.
Is
SetCard
,
0x21
),
aux
.
FilterBoolFunction
(
Card
.
Is
Attribute
,
ATTRIBUTE_DARK
),
true
)
aux
.
AddFusionProcFun2
(
c
,
aux
.
FilterBoolFunction
(
Card
.
Is
FusionSetCard
,
0x21
),
aux
.
FilterBoolFunction
(
Card
.
IsFusion
Attribute
,
ATTRIBUTE_DARK
),
true
)
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
...
c40441990.lua
View file @
1e7a5151
...
...
@@ -29,7 +29,8 @@ function c40441990.sumcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
c40441990
.
costfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
function
c40441990
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
40441990
)
==
0
end
end
function
c40441990
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFlagEffect
(
tp
,
40441990
)
~=
0
then
return
end
...
...
c42472002.lua
View file @
1e7a5151
...
...
@@ -39,7 +39,6 @@ function c42472002.effop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c42472002
.
sumcon
)
e1
:
SetTarget
(
c42472002
.
sumtg
)
e1
:
SetOperation
(
c42472002
.
sumop
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
@@ -53,21 +52,22 @@ function c42472002.effop(e,tp,eg,ep,ev,re,r,rp)
rc
:
RegisterEffect
(
e2
,
true
)
end
end
function
c42472002
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
42472002
)
==
0
and
Duel
.
GetTurnPlayer
()
==
tp
end
function
c42472002
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
42472002
)
==
0
and
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c42472002
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
42472002
,
1
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e1
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
Duel
.
GetFlagEffect
(
tp
,
42472002
)
==
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
42472002
,
1
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e1
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
42472002
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -76,7 +76,6 @@ function c42472002.sumop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetTarget
(
c42472002
.
splimit
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
42472002
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c42472002
.
splimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x107a
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
...
...
c44146295.lua
View file @
1e7a5151
...
...
@@ -40,7 +40,7 @@ function c44146295.branded_fusion_check(tp,sg,fc)
return
aux
.
gffcheck
(
sg
,
Card
.
IsFusionCode
,
68468459
,
Card
.
IsFusionType
,
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
end
function
c44146295
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
44146295
)
==
0
return
e
:
GetHandler
():
GetFlagEffect
Label
(
44146295
)
~=
Duel
.
GetTurnCount
()
-
1
end
function
c44146295
.
costfilter
(
c
)
return
c
:
IsType
(
TYPE_FUSION
)
and
aux
.
IsMaterialListCode
(
c
,
68468459
)
and
c
:
IsAbleToGraveAsCost
()
...
...
@@ -65,7 +65,7 @@ function c44146295.rmop(e,tp,eg,ep,ev,re,r,rp)
end
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
c
:
RegisterFlagEffect
(
44146295
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
2
)
c
:
RegisterFlagEffect
(
44146295
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
2
,
Duel
.
GetTurnCount
()
)
end
end
function
c44146295
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c46593546.lua
View file @
1e7a5151
...
...
@@ -83,7 +83,7 @@ function c46593546.ovltg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
c
:
IsType
(
TYPE_XYZ
)
and
(
c
:
CheckRemoveOverlayCard
(
tp
,
2
,
REASON_EFFECT
)
or
Duel
.
IsExistingMatchingCard
(
c46593546
.
ovltgfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
))
and
rc
:
IsRelateToEffect
(
re
)
and
rc
:
IsCan
BeXyzMaterial
(
c
)
end
and
rc
:
IsRelateToEffect
(
re
)
and
rc
:
IsCan
Overlay
(
)
end
end
function
c46593546
.
ovlop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c52112003.lua
View file @
1e7a5151
...
...
@@ -9,7 +9,9 @@ function c52112003.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c52112003
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
and
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
52112003
)
==
0
end
end
function
c52112003
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
math.min
(
5
,
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
))
...
...
c5795882.lua
View file @
1e7a5151
...
...
@@ -11,7 +11,6 @@ function c5795882.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c5795882
.
sumcon
)
e2
:
SetCost
(
c5795882
.
sumcost
)
e2
:
SetTarget
(
c5795882
.
sumtg
)
e2
:
SetOperation
(
c5795882
.
sumop
)
...
...
@@ -29,17 +28,16 @@ function c5795882.initial_effect(c)
e3
:
SetOperation
(
c5795882
.
recop
)
c
:
RegisterEffect
(
e3
)
end
function
c5795882
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
5795882
)
==
0
end
function
c5795882
.
sumcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
500
)
end
Duel
.
PayLPCost
(
tp
,
500
)
end
function
c5795882
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
5795882
)
==
0
end
end
function
c5795882
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFlagEffect
(
tp
,
5795882
)
~=
0
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
5795882
,
2
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c61322713.lua
View file @
1e7a5151
...
...
@@ -18,7 +18,6 @@ function c61322713.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
61322714
)
e2
:
SetCondition
(
c61322713
.
sumcon
)
e2
:
SetCost
(
c61322713
.
cost2
)
e2
:
SetTarget
(
c61322713
.
sumtg
)
e2
:
SetOperation
(
c61322713
.
sumop
)
...
...
@@ -65,9 +64,6 @@ function c61322713.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
c61322713
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
61322713
)
==
0
end
function
c61322713
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c61322713
.
cost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
and
c
:
IsAbleToRemove
()
end
...
...
@@ -75,9 +71,11 @@ function c61322713.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
c61322713
.
cost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
function
c61322713
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
61322713
)
==
0
end
end
function
c61322713
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFlagEffect
(
tp
,
61322713
)
~=
0
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
61322713
,
2
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c65589010.lua
View file @
1e7a5151
...
...
@@ -78,15 +78,19 @@ function c65589010.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
2
,
PLAYER_ALL
,
LOCATION_EXTRA
)
end
function
c65589010
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
turnp
=
Duel
.
GetTurnPlayer
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToGrave
,
turnp
,
LOCATION_EXTRA
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToGrave
,
turnp
,
0
,
LOCATION_EXTRA
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
turnp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
turnp
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
turnp
,
HINTMSG_TOGRAVE
)
local
sg2
=
g2
:
Select
(
1
-
turnp
,
1
,
1
,
nil
)
sg
:
Merge
(
sg2
)
if
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
or
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
0
,
LOCATION_EXTRA
,
1
,
nil
)
then
return
end
local
p
=
Duel
.
GetTurnPlayer
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToGrave
,
p
,
LOCATION_EXTRA
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
p
,
1
,
1
,
nil
)
if
sg
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
end
local
g2
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToGrave
,
p
,
0
,
LOCATION_EXTRA
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
p
,
HINTMSG_TOGRAVE
)
local
sg2
=
g2
:
Select
(
1
-
p
,
1
,
1
,
nil
)
if
sg2
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
sg2
,
REASON_EFFECT
)
end
end
c74659582.lua
View file @
1e7a5151
...
...
@@ -3,7 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--material
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x17f
),
2
,
true
)
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
Is
Fusion
SetCard
,
0x17f
),
2
,
true
)
--remove
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
...
c76290637.lua
View file @
1e7a5151
...
...
@@ -37,7 +37,8 @@ function s.thfilter(c)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x95
)
and
c
:
IsAbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
...
...
c78665705.lua
View file @
1e7a5151
...
...
@@ -25,7 +25,9 @@ function c78665705.filter(c)
return
c
:
IsCode
(
10000010
)
and
c
:
IsAbleToHand
()
end
function
c78665705
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c78665705
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c78665705
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
78665705
)
==
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
end
function
c78665705
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c80529459.lua
View file @
1e7a5151
...
...
@@ -27,7 +27,8 @@ function c80529459.initial_effect(c)
end
function
c80529459
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
...
...
c81881839.lua
View file @
1e7a5151
...
...
@@ -34,7 +34,7 @@ function c81881839.fselect(g)
return
g
:
GetClassCount
(
Card
.
GetCode
)
==
1
end
function
c81881839
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
g
=
Duel
.
GetMatchingGroup
(
c81881839
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
local
g
=
Duel
.
GetMatchingGroup
(
c81881839
.
lvfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
e
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
g
:
CheckSubGroup
(
c81881839
.
fselect
,
2
,
2
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
...
...
c8567955.lua
View file @
1e7a5151
...
...
@@ -6,7 +6,6 @@ function c8567955.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c8567955
.
sumcon
)
e1
:
SetCost
(
c8567955
.
sumcost
)
e1
:
SetTarget
(
c8567955
.
sumtg
)
e1
:
SetOperation
(
c8567955
.
sumop
)
...
...
@@ -23,17 +22,16 @@ function c8567955.initial_effect(c)
e2
:
SetOperation
(
c8567955
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
c8567955
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
8567955
)
==
0
end
function
c8567955
.
sumcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
1000
)
end
Duel
.
PayLPCost
(
tp
,
1000
)
end
function
c8567955
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
8567955
)
==
0
end
end
function
c8567955
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFlagEffect
(
tp
,
8567955
)
~=
0
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
8567955
,
2
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c8700633.lua
View file @
1e7a5151
...
...
@@ -17,12 +17,9 @@ function c8700633.initial_effect(c)
c8700633
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
ge1
:
SetCode
(
EVENT_S
PS
UMMON_SUCCESS
)
ge1
:
SetOperation
(
c8700633
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
ge2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
Duel
.
RegisterEffect
(
ge2
,
0
)
end
--ind
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
c99328137.lua
View file @
1e7a5151
...
...
@@ -14,7 +14,6 @@ function c99328137.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c99328137
.
sumcon
)
e2
:
SetTarget
(
c99328137
.
sumtg
)
e2
:
SetOperation
(
c99328137
.
sumop
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -25,22 +24,22 @@ end
function
c99328137
.
val
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
c99328137
.
cfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
*
400
end
function
c99328137
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
99328137
)
==
0
end
function
c99328137
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
and
Duel
.
IsPlayerCanAdditionalSummon
(
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
99328137
)
==
0
end
end
function
c99328137
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
99328137
,
1
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e1
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e1
:
SetTarget
(
c99328137
.
extrasumtg
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
99328137
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
Duel
.
GetFlagEffect
(
tp
,
94076521
)
==
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
99328137
,
1
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e1
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e1
:
SetTarget
(
c99328137
.
extrasumtg
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
99328137
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment