Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
bb02a4ae
Commit
bb02a4ae
authored
Feb 11, 2025
by
Grajade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c1111003.lua
parent
f375c40c
Pipeline
#33108
passed with stage
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
script/c1111003.lua
script/c1111003.lua
+12
-9
No files found.
script/c1111003.lua
View file @
bb02a4ae
...
@@ -16,6 +16,7 @@ function c1111003.initial_effect(c)
...
@@ -16,6 +16,7 @@ function c1111003.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCondition
(
c1111003
.
con2
)
e2
:
SetTarget
(
c1111003
.
tg2
)
e2
:
SetTarget
(
c1111003
.
tg2
)
e2
:
SetOperation
(
c1111003
.
op2
)
e2
:
SetOperation
(
c1111003
.
op2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -60,24 +61,26 @@ function c1111003.op1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,24 +61,26 @@ function c1111003.op1(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
--
--
function
c1111003
.
tfilter2
(
c
,
tp
)
function
c1111003
.
tfilter2
(
c
,
tp
,
rp
)
return
c
:
GetPreviousControler
()
==
tp
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsSetCard
(
0x3e1f
)
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x3e1f
)
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_MONSTER
)
~=
0
and
c
:
IsAbleToDeck
()
and
c
:
IsAbleToDeck
()
and
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
c1111003
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c1111003
.
tfilter2
,
1
,
nil
,
tp
,
rp
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
end
end
function
c1111003
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1111003
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
r
and
r
==
REASON_EFFECT
and
rp
==
1
-
tp
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToDeck
()
and
e
:
GetHandler
():
IsAbleToDeck
()
and
eg
:
IsExists
(
c1111003
.
tfilter2
,
1
,
nil
,
tp
,
rp
)
end
and
eg
:
IsExists
(
c1111003
.
tfilter2
,
1
,
nil
,
tp
)
local
sg
=
eg
:
Filter
(
c1111003
.
tfilter2
,
nil
,
tp
,
rp
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
end
local
sg
=
eg
:
Filter
(
c1111003
.
tfilter2
,
nil
,
tp
)
sg
:
AddCard
(
e
:
GetHandler
())
sg
:
AddCard
(
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
sg
,
sg
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
sg
,
sg
:
GetCount
(),
0
,
0
)
end
end
function
c1111003
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1111003
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rg
=
eg
:
Filter
(
c1111003
.
tfilter2
,
nil
,
tp
)
local
rg
=
eg
:
Filter
(
c1111003
.
tfilter2
,
nil
,
tp
,
rp
)
if
c
:
IsRelateToEffect
(
e
)
then
rg
:
AddCard
(
c
)
end
if
c
:
IsRelateToEffect
(
e
)
then
rg
:
AddCard
(
c
)
end
if
rg
:
GetCount
()
<
1
then
return
end
if
rg
:
GetCount
()
<
1
then
return
end
Duel
.
SendtoDeck
(
rg
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
rg
,
nil
,
2
,
REASON_EFFECT
)
...
...
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