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
Soulgamer
ygopro-222DIY-cards
Commits
c8d01cbd
Commit
c8d01cbd
authored
May 16, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nmbd
parent
5f495e2c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
15 deletions
+12
-15
expansions/script/c21520237.lua
expansions/script/c21520237.lua
+6
-6
expansions/script/c21520238.lua
expansions/script/c21520238.lua
+6
-6
expansions/script/c81024020.lua
expansions/script/c81024020.lua
+0
-3
No files found.
expansions/script/c21520237.lua
View file @
c8d01cbd
...
...
@@ -90,8 +90,8 @@ end
function
c21520237
.
igfilter
(
c
)
return
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_TRAP
)
end
function
c21520237
.
igfilter2
(
f
c
)
return
fc
:
IsCode
(
21520133
)
and
fc
:
IsFaceup
()
function
c21520237
.
effectfilter
(
c
)
return
c
:
IsCode
(
21520133
)
and
c
:
IsFaceup
()
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c21520237
.
igtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
...
...
@@ -121,9 +121,9 @@ function c21520237.igop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
c
,
REASON_EFFECT
)
end
Duel
.
ShuffleDeck
(
tp
)
if
not
Duel
.
IsExistingMatchingCard
(
c21520237
.
igfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
then
end
if
not
Duel
.
IsExistingMatchingCard
(
c21520237
.
effectfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
then
Duel
.
BreakEffect
()
Duel
.
Damage
(
tp
,
1500
,
REASON_RULE
)
end
end
end
expansions/script/c21520238.lua
View file @
c8d01cbd
...
...
@@ -90,8 +90,8 @@ end
function
c21520238
.
igfilter
(
c
)
return
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_SPELL
)
end
function
c21520238
.
igfilter2
(
f
c
)
return
fc
:
IsCode
(
21520133
)
and
fc
:
IsFaceup
()
function
c21520238
.
effectfilter
(
c
)
return
c
:
IsCode
(
21520133
)
and
c
:
IsFaceup
()
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c21520238
.
igtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
...
...
@@ -121,9 +121,9 @@ function c21520238.igop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
c
,
REASON_EFFECT
)
end
Duel
.
ShuffleDeck
(
tp
)
if
not
Duel
.
IsExistingMatchingCard
(
c21520238
.
igfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
then
end
if
not
Duel
.
IsExistingMatchingCard
(
c21520238
.
effectfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
then
Duel
.
BreakEffect
()
Duel
.
Damage
(
tp
,
2000
,
REASON_RULE
)
end
end
end
expansions/script/c81024020.lua
View file @
c8d01cbd
...
...
@@ -42,9 +42,6 @@ function cm.ssop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
cm
.
rfcon
(
e
)
return
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
or
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
()
end
function
cm
.
sptg
(
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
)
end
...
...
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