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
4253ddfe
Commit
4253ddfe
authored
Jun 06, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
29650f60
Pipeline
#13454
passed with stages
in 30 minutes and 29 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
expansions/script/c33400329.lua
expansions/script/c33400329.lua
+11
-10
expansions/script/c33400345.lua
expansions/script/c33400345.lua
+2
-1
No files found.
expansions/script/c33400329.lua
View file @
4253ddfe
...
...
@@ -127,8 +127,9 @@ end
function
cm
.
checkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
while
tc
do
local
tp
=
tc
:
GetPreviousControler
()
if
tc
:
GetPreviousPosition
()
&
POS_FACEUP
~=
0
and
tc
:
IsType
(
TYPE_MONSTER
)
then
if
tc
:
IsSetCard
(
0x5341
)
and
Duel
.
GetFlagEffect
(
t
c
:
GetSummonPlayer
()
,
m
+
1
)
==
0
then
if
tc
:
IsSetCard
(
0x5341
)
and
Duel
.
GetFlagEffect
(
t
p
,
m
+
1
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
33400330
,
0
,
0
,
0
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
12
))
...
...
@@ -138,7 +139,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e3
,
tp
)
-- Duel.Recover(tp,10,REASON_EFFECT)
end
if
tc
:
IsSetCard
(
0x5342
)
and
Duel
.
GetFlagEffect
(
t
c
:
GetSummonPlayer
()
,
m
+
2
)
==
0
then
if
tc
:
IsSetCard
(
0x5342
)
and
Duel
.
GetFlagEffect
(
t
p
,
m
+
2
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
33400331
,
0
,
0
,
0
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
@@ -148,7 +149,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e3
,
tp
)
-- Duel.Recover(tp,1,REASON_EFFECT)
end
if
tc
:
IsSetCard
(
0x6342
)
and
Duel
.
GetFlagEffect
(
t
c
:
GetSummonPlayer
()
,
m
+
3
)
==
0
then
if
tc
:
IsSetCard
(
0x6342
)
and
Duel
.
GetFlagEffect
(
t
p
,
m
+
3
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
33400332
,
0
,
0
,
0
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
4
))
...
...
@@ -158,7 +159,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e3
,
tp
)
-- Duel.Recover(tp,2,REASON_EFFECT)
end
if
tc
:
IsSetCard
(
0x3341
)
and
Duel
.
GetFlagEffect
(
t
c
:
GetSummonPlayer
()
,
m
+
4
)
==
0
then
if
tc
:
IsSetCard
(
0x3341
)
and
Duel
.
GetFlagEffect
(
t
p
,
m
+
4
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
33400333
,
0
,
0
,
0
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
5
))
...
...
@@ -168,7 +169,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e3
,
tp
)
-- Duel.Recover(tp,3,REASON_EFFECT)
end
if
tc
:
IsSetCard
(
0x6341
)
and
Duel
.
GetFlagEffect
(
t
c
:
GetSummonPlayer
()
,
m
+
5
)
==
0
then
if
tc
:
IsSetCard
(
0x6341
)
and
Duel
.
GetFlagEffect
(
t
p
,
m
+
5
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
33400334
,
0
,
0
,
0
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
6
))
...
...
@@ -178,7 +179,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e3
,
tp
)
-- Duel.Recover(tp,4,REASON_EFFECT)
end
if
tc
:
IsSetCard
(
0x9341
)
and
tc
:
GetOriginalAttribute
()
==
ATTRIBUTE_FIRE
and
Duel
.
GetFlagEffect
(
t
c
:
GetSummonPlayer
()
,
m
+
6
)
==
0
then
if
tc
:
IsSetCard
(
0x9341
)
and
tc
:
GetOriginalAttribute
()
==
ATTRIBUTE_FIRE
and
Duel
.
GetFlagEffect
(
t
p
,
m
+
6
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
33400335
,
0
,
0
,
0
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
7
))
...
...
@@ -188,7 +189,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e3
,
tp
)
-- Duel.Recover(tp,5,REASON_EFFECT)
end
if
tc
:
IsSetCard
(
0x9342
)
and
Duel
.
GetFlagEffect
(
t
c
:
GetSummonPlayer
()
,
m
+
7
)
==
0
then
if
tc
:
IsSetCard
(
0x9342
)
and
Duel
.
GetFlagEffect
(
t
p
,
m
+
7
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
33400336
,
0
,
0
,
0
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
8
))
...
...
@@ -198,7 +199,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e3
,
tp
)
-- Duel.Recover(tp,6,REASON_EFFECT)
end
if
tc
:
IsSetCard
(
0x3342
)
and
Duel
.
GetFlagEffect
(
t
c
:
GetSummonPlayer
()
,
m
+
8
)
==
0
then
if
tc
:
IsSetCard
(
0x3342
)
and
Duel
.
GetFlagEffect
(
t
p
,
m
+
8
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
33400337
,
0
,
0
,
0
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
9
))
...
...
@@ -208,7 +209,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e3
,
tp
)
-- Duel.Recover(tp,7,REASON_EFFECT)
end
if
tc
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
t
c
:
GetSummonPlayer
()
,
m
+
9
)
==
0
then
if
tc
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
t
p
,
m
+
9
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
33400338
,
0
,
0
,
0
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
10
))
...
...
@@ -218,7 +219,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e3
,
tp
)
-- Duel.Recover(tp,8,REASON_EFFECT)
end
if
tc
:
IsSetCard
(
0xc341
)
and
Duel
.
GetFlagEffect
(
t
c
:
GetSummonPlayer
()
,
m
+
10
)
==
0
then
if
tc
:
IsSetCard
(
0xc341
)
and
Duel
.
GetFlagEffect
(
t
p
,
m
+
10
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
33400339
,
0
,
0
,
0
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
11
))
...
...
expansions/script/c33400345.lua
View file @
4253ddfe
--魔王剑-残酷
if
not
pcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
)
then
require
(
"script/c16101100"
)
end
local
m
=
33400345
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
...
...
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