Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
96c0551f
Commit
96c0551f
authored
Jun 20, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
fd311c65
Pipeline
#14107
passed with stages
in 27 minutes and 27 seconds
Changes
36
Pipelines
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
94 additions
and
83 deletions
+94
-83
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12048007.lua
expansions/script/c12048007.lua
+0
-8
expansions/script/c12070053.lua
expansions/script/c12070053.lua
+0
-1
expansions/script/c13959994.lua
expansions/script/c13959994.lua
+3
-3
expansions/script/c13959996.lua
expansions/script/c13959996.lua
+3
-3
expansions/script/c33700345.lua
expansions/script/c33700345.lua
+1
-0
expansions/script/c33700351.lua
expansions/script/c33700351.lua
+1
-1
expansions/script/c33700425.lua
expansions/script/c33700425.lua
+22
-2
expansions/script/c33700989.lua
expansions/script/c33700989.lua
+1
-1
expansions/script/c33701340.lua
expansions/script/c33701340.lua
+0
-1
expansions/script/c33701346.lua
expansions/script/c33701346.lua
+1
-1
expansions/script/c33701362.lua
expansions/script/c33701362.lua
+1
-1
expansions/script/c33701378.lua
expansions/script/c33701378.lua
+1
-1
expansions/script/c33701397.lua
expansions/script/c33701397.lua
+1
-1
expansions/script/c33701398.lua
expansions/script/c33701398.lua
+1
-1
expansions/script/c33701404.lua
expansions/script/c33701404.lua
+1
-1
expansions/script/c33701407.lua
expansions/script/c33701407.lua
+0
-1
expansions/script/c33701408.lua
expansions/script/c33701408.lua
+1
-1
expansions/script/c33701410.lua
expansions/script/c33701410.lua
+1
-1
expansions/script/c33701414.lua
expansions/script/c33701414.lua
+1
-1
expansions/script/c33701415.lua
expansions/script/c33701415.lua
+1
-1
expansions/script/c33701416.lua
expansions/script/c33701416.lua
+1
-1
expansions/script/c33701421.lua
expansions/script/c33701421.lua
+1
-1
expansions/script/c33701422.lua
expansions/script/c33701422.lua
+1
-1
expansions/script/c33701423.lua
expansions/script/c33701423.lua
+1
-1
expansions/script/c33701434.lua
expansions/script/c33701434.lua
+0
-1
expansions/script/c33701502.lua
expansions/script/c33701502.lua
+2
-0
expansions/script/c33701528.lua
expansions/script/c33701528.lua
+1
-0
expansions/script/c33701534.lua
expansions/script/c33701534.lua
+7
-7
expansions/script/c33711114.lua
expansions/script/c33711114.lua
+1
-1
expansions/script/c33711409.lua
expansions/script/c33711409.lua
+34
-35
expansions/script/c33711505.lua
expansions/script/c33711505.lua
+1
-1
expansions/script/c35800305.lua
expansions/script/c35800305.lua
+0
-1
expansions/script/c53728021.lua
expansions/script/c53728021.lua
+1
-0
expansions/script/c64800133.lua
expansions/script/c64800133.lua
+1
-1
expansions/script/c9390017.lua
expansions/script/c9390017.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
96c0551f
No preview for this file type
expansions/script/c12048007.lua
View file @
96c0551f
...
...
@@ -22,14 +22,6 @@ function cm.initial_effect(c)
e3
:
SetTarget
(
cm
.
destg
)
e3
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e3
)
--atk
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EVENT_DAMAGE
)
e3
:
SetCondition
(
cm
.
atkcon
)
e3
:
SetOperation
(
cm
.
atkop
)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
...
...
expansions/script/c12070053.lua
View file @
96c0551f
...
...
@@ -51,7 +51,6 @@ function cm.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
end
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xafa6
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
end
...
...
expansions/script/c13959994.lua
View file @
96c0551f
This diff is collapsed.
Click to expand it.
expansions/script/c13959996.lua
View file @
96c0551f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
expansions/script/c33700345.lua
View file @
96c0551f
...
...
@@ -6,6 +6,7 @@ cm.dfc_back_side=m-1
function
cm
.
initial_effect
(
c
)
Senya
.
DFCBackSideCommonEffect
(
c
)
c
:
EnableReviveLimit
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
...
...
expansions/script/c33700351.lua
View file @
96c0551f
--虚拟YouTuber 萌实
local
m
=
3370035
0
local
m
=
3370035
1
local
cm
=
_G
[
"c"
..
m
]
function
c33700351
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
...
...
expansions/script/c33700425.lua
View file @
96c0551f
...
...
@@ -4,7 +4,15 @@
local
s
=
c33700425
local
id
=
33700425
function
s
.
initial_effect
(
c
)
aux
.
AddEquipProcedure
(
c
)
--Activate
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetCategory
(
CATEGORY_EQUIP
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CONTINUOUS_TARGET
)
e0
:
SetTarget
(
s
.
target
)
e0
:
SetOperation
(
s
.
operation
)
c
:
RegisterEffect
(
e0
)
--0 atk
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
...
...
@@ -47,7 +55,19 @@ function s.initial_effect(c)
e5
:
SetOperation
(
s
.
drop
)
c
:
RegisterEffect
(
e5
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsFaceup
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
Duel
.
Equip
(
tp
,
e
:
GetHandler
(),
tc
)
end
end
function
s
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetEquipTarget
()
end
...
...
expansions/script/c33700989.lua
View file @
96c0551f
...
...
@@ -3,7 +3,7 @@ local m=33700989
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
+
CATEGORY_SEARCH
+
CATEGORY_TOHAND
+
CATEGORY_DRAW
+
CATEGORY_REMOVE
+
CATEGORY_RECOVER
)
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
+
CATEGORY_DRAW
+
CATEGORY_REMOVE
+
CATEGORY_RECOVER
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCost
(
cm
.
cost
)
...
...
expansions/script/c33701340.lua
View file @
96c0551f
...
...
@@ -6,7 +6,6 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c33701346.lua
View file @
96c0551f
...
...
@@ -61,7 +61,7 @@ end
function
c33701346
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a1
=
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
e
:
GetHandler
():
IsFaceup
()
local
a2
=
Duel
.
IsExistingMatchingCard
(
c33701346
.
tgfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
:
GetHandler
():
GetAttack
())
local
op
=
=
2
local
op
=
2
if
a1
and
a2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
33701346
,
1
),
aux
.
Stringid
(
33701346
,
2
))
elseif
a1
then
...
...
expansions/script/c33701362.lua
View file @
96c0551f
...
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
++
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_CAL
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
...
...
expansions/script/c33701378.lua
View file @
96c0551f
...
...
@@ -111,5 +111,5 @@ function cm.actlimit(e,re,tp)
tc
=
g
:
GetNext
()
end
end
return
rclv
>=
min
end
return
rclv
>=
min
end
expansions/script/c33701397.lua
View file @
96c0551f
...
...
@@ -66,7 +66,7 @@ function cm.coop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
if
op
==
1
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
else
op
==
2
then
else
if
op
==
2
then
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
end
else
...
...
expansions/script/c33701398.lua
View file @
96c0551f
...
...
@@ -95,7 +95,7 @@ function cm.spfilter(c,e,tp)
end
function
cm
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_DECK
,
0
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
expansions/script/c33701404.lua
View file @
96c0551f
...
...
@@ -61,7 +61,7 @@ end
function
cm
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
t
=
Duel
.
GetAttackTarget
()
local
c
=
e
:
GetHandler
()
return
Duel
.
GetAttacker
()
==
c
and
t
~=
nil
and
t
:
GetAttack
()
<
c
:
GetAttack
()
and
return
Duel
.
GetAttacker
()
==
c
and
t
~=
nil
and
t
:
GetAttack
()
<
c
:
GetAttack
()
end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
t
=
Duel
.
GetFirstTarget
()
...
...
expansions/script/c33701407.lua
View file @
96c0551f
...
...
@@ -63,7 +63,6 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
function
cm
.
efilter
(
e
,
te
)
return
e
:
GetHandlerPlayer
()
~=
re
:
GetOwnerPlayer
()
...
...
expansions/script/c33701408.lua
View file @
96c0551f
...
...
@@ -124,7 +124,7 @@ function cm.dselect1(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
rg
,
nil
,
2
,
REASON_RULE
)
end
e
:
GetLabelObject
():
DeleteGroup
()
else
op
=
1
then
else
if
op
=
=
1
then
Duel
.
Recover
(
tp
,
5000
,
REASON_EFFECT
)
end
end
expansions/script/c33701410.lua
View file @
96c0551f
...
...
@@ -51,7 +51,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,:
GetHandler
())
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
end
function
cm
.
splimit
(
e
,
c
)
...
...
expansions/script/c33701414.lua
View file @
96c0551f
...
...
@@ -151,7 +151,7 @@ function cm.atop(e,tp,eg,ep,ev,re,r,rp)
if
not
ex
then
return
end
if
cp
~=
PLAYER_ALL
then
if
Duel
.
IsPlayerAffectedByEffect
(
cp
,
EFFECT_REVERSE_DAMAGE
)
then
v
=
v
+
ev1
end
elseif
Duel
.
IsPlayerAffectedByEffect
(
0
,
EFFECT_REVERSE_DAMAGE
)
or
Duel
.
IsPlayerAffectedByEffect
(
1
,
EFFECT_REVERSE_DAMAGE
)
then
v
+
ev1
end
elseif
Duel
.
IsPlayerAffectedByEffect
(
0
,
EFFECT_REVERSE_DAMAGE
)
or
Duel
.
IsPlayerAffectedByEffect
(
1
,
EFFECT_REVERSE_DAMAGE
)
then
v
=
v
+
ev1
end
end
local
g
=
Group
.
CreateGroup
()
Duel
.
ChangeTargetCard
(
ev
,
g
)
...
...
expansions/script/c33701415.lua
View file @
96c0551f
...
...
@@ -109,7 +109,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
cfilter
(
c
,
tp
,
code
)
return
c
:
IsControler
(
tp
)
and
not
c
:
IsCode
(
code
)
and
return
c
:
IsControler
(
tp
)
and
not
c
:
IsCode
(
code
)
end
function
cm
.
drcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
code
=
0
...
...
expansions/script/c33701416.lua
View file @
96c0551f
...
...
@@ -51,7 +51,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
sg
:
GetFirst
()
if
sc
and
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
0
),
aux
.
Stringid
(
m
,
1
))
if
op
=
0
then
if
op
=
=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
expansions/script/c33701421.lua
View file @
96c0551f
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
condition
)
e2
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e3
:
SetTarget
(
cm
.
reptg
)
...
...
expansions/script/c33701422.lua
View file @
96c0551f
...
...
@@ -68,7 +68,7 @@ function cm.actconb(e)
end
function
cm
.
actlimit
(
e
,
re
,
tp
)
if
re
:
GetHandler
()
then
return
re
:
GetHandler
()
~=
e
:
GetHandler
()
else
return
re
:
GetOwner
()
~=
e
:
GetHandler
()
else
return
re
:
GetOwner
()
~=
e
:
GetHandler
()
end
end
function
cm
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
cm
[
2
]
>
0
and
cm
[
3
]
>
0
...
...
expansions/script/c33701423.lua
View file @
96c0551f
...
...
@@ -75,7 +75,7 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
damcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
=
e
:
GetLabelObject
()
and
e
:
GetHandlerPlayer
()
~=
tp
return
re
=
=
e
:
GetLabelObject
()
and
e
:
GetHandlerPlayer
()
~=
tp
end
function
cm
.
damcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
expansions/script/c33701434.lua
View file @
96c0551f
...
...
@@ -20,7 +20,6 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCode
(
EVENT_SUMMON
)
e2
:
SetCondition
(
cm
.
dscon
)
e2
:
SetCost
(
cm
.
cost
)
e2
:
SetTarget
(
cm
.
dstg
)
e2
:
SetOperation
(
cm
.
dsop
)
...
...
expansions/script/c33701502.lua
View file @
96c0551f
--【背景音台】Shelter
local
m
=
33701502
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--activate
local
e0
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c33701528.lua
View file @
96c0551f
...
...
@@ -2,6 +2,7 @@
local
m
=
33701528
local
cm
=
_G
[
"c"
..
m
]
cm
.
dfc_back_side
=
m
-
2
xpcall
(
function
()
require
(
"expansions/script/c37564765"
)
end
,
function
()
require
(
"script/c37564765"
)
end
)
function
cm
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
cm
.
mfilter
,
5
,
5
)
...
...
expansions/script/c33701534.lua
View file @
96c0551f
...
...
@@ -43,12 +43,12 @@ function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
m
,
aux
.
Stringid
(
m
,
0
))
if
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
m
,
aux
.
Stringid
(
m
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
end
expansions/script/c33711114.lua
View file @
96c0551f
...
...
@@ -93,7 +93,7 @@ function c33711114.ctcost1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
CTR_PETAL
,
4
,
REASON_COST
)
end
function
c33711114
.
tfilter1
(
c
,
e
,
tp
)
return
c
:
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
IsCode
(
33711115
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
IsCode
(
33711115
)
end
function
c33711114
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToExtra
()
and
Duel
.
IsExistingMatchingCard
(
c33711114
.
tfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
expansions/script/c33711409.lua
View file @
96c0551f
...
...
@@ -2,7 +2,6 @@
local
m
=
33711409
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
expansions/script/c33711505.lua
View file @
96c0551f
...
...
@@ -71,7 +71,7 @@ function s.acop(e, tp, eg, ep, ev, re, r, rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e1
:
SetValue
(
ac
:
GetTextDefense
)
e1
:
SetValue
(
ac
:
GetTextDefense
()
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
...
...
expansions/script/c35800305.lua
View file @
96c0551f
...
...
@@ -18,7 +18,6 @@ function cm.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCost
(
cm
.
co3
)
e3
:
SetTarget
(
cm
.
tg3
)
e3
:
SetOperation
(
cm
.
op3
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c53728021.lua
View file @
96c0551f
local
m
=
53728021
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"大征啼鸟 歼星激流"
if
not
pcall
(
function
()
require
(
"expansions/script/c53702500"
)
end
)
then
require
(
"script/c53702500"
)
end
function
cm
.
initial_effect
(
c
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkRace
,
RACE_MACHINE
),
2
)
SNNM
.
AnouguryLink
(
c
)
...
...
expansions/script/c64800133.lua
View file @
96c0551f
...
...
@@ -11,7 +11,7 @@ function c64800133.initial_effect(c)
--control
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_CONTROL
)
e
2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
,
64800133
)
...
...
expansions/script/c9390017.lua
View file @
96c0551f
...
...
@@ -40,13 +40,13 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
and
Duel
.
IsExistingTarget
(
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
2500
,
0
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
g1
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
...
...
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