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
c3dcd524
Commit
c3dcd524
authored
Apr 13, 2024
by
Tachibana
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pic
parent
057466ba
Pipeline
#26426
passed with stages
in 24 minutes and 50 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
expansions/script/c81030017.lua
expansions/script/c81030017.lua
+12
-12
No files found.
expansions/script/c81030017.lua
View file @
c3dcd524
...
@@ -47,17 +47,17 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,17 +47,17 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
end
local
e
3
=
Effect
.
CreateEffect
(
c
)
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetType
(
EFFECT_TYPE_FIELD
)
e
1
:
SetType
(
EFFECT_TYPE_FIELD
)
e
3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e
1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e
3
:
SetTargetRange
(
1
,
0
)
e
1
:
SetTargetRange
(
1
,
0
)
e
3
:
SetTarget
(
cm
.
splimit
)
e
1
:
SetTarget
(
cm
.
splimit
)
e
3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e
1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e
3
,
tp
)
Duel
.
RegisterEffect
(
e
1
,
tp
)
end
end
function
cm
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
)
function
cm
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
bit
.
band
(
sumtp
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
and
not
c
:
IsType
(
TYPE_PENDULUM
)
return
(
c
:
IsType
(
TYPE_RITUAL
)
and
not
c
:
IsType
(
TYPE_PENDULUM
))
and
bit
.
band
(
sumtp
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
end
function
cm
.
setfilter
(
c
)
function
cm
.
setfilter
(
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSSetable
()
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSSetable
()
...
@@ -93,10 +93,10 @@ function cm.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,10 +93,10 @@ function cm.setop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
cm
.
s
p
limit
)
e2
:
SetTarget
(
cm
.
s
s
limit
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
cm
.
s
p
limit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
cm
.
s
s
limit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsRace
(
RACE_PYRO
)
return
not
c
:
IsRace
(
RACE_PYRO
)
end
end
function
cm
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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