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
062481f4
Commit
062481f4
authored
May 21, 2024
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c27038.lua
parent
f343ba41
Pipeline
#27260
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
script/c27038.lua
script/c27038.lua
+11
-2
No files found.
script/c27038.lua
View file @
062481f4
...
...
@@ -36,6 +36,7 @@ function c27038.initial_effect(c)
local
e3b
=
e2b
:
Clone
()
e3b
:
SetRange
(
LOCATION_GRAVE
)
e3b
:
SetCondition
(
c27038
.
bdcon2
)
e3b
:
SetTarget
(
c27038
.
bdtg2
)
e3b
:
SetOperation
(
c27038
.
bdop2
)
c
:
RegisterEffect
(
e3b
)
...
...
@@ -51,6 +52,7 @@ function c27038.initial_effect(c)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
e5
:
SetRange
(
LOCATION_GRAVE
)
e5
:
SetCondition
(
aux
.
exccon
)
e5
:
SetTarget
(
c27038
.
dmtg5
)
e5
:
SetOperation
(
c27038
.
dmop5
)
c
:
RegisterEffect
(
e5
)
...
...
@@ -59,12 +61,13 @@ function c27038.initial_effect(c)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e6
:
SetCategory
(
CATEGORY_DAMAGE
)
e6
:
SetCode
(
EVENT_TO_GRAVE
)
e6
:
SetRange
(
LOCATION_SZONE
+
LOCATION_GRAVE
)
e6
:
SetRange
(
LOCATION_SZONE
)
e6
:
SetTarget
(
c27038
.
dmtg3
)
e6
:
SetOperation
(
c27038
.
dmop3
)
c
:
RegisterEffect
(
e6
)
local
e7
=
e6
:
Clone
()
e7
:
SetRange
(
LOCATION_GRAVE
)
e7
:
SetCondition
(
aux
.
exccon
)
e7
:
SetTarget
(
c27038
.
dmtg6
)
e7
:
SetOperation
(
c27038
.
dmop6
)
c
:
RegisterEffect
(
e7
)
...
...
@@ -119,7 +122,8 @@ end
function
c27038
.
dmcon4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
end
local
tg
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
return
tg
and
tg
:
IsExists
(
c27038
.
dfilter
,
1
,
nil
)
return
tg
and
tg
:
IsExists
(
c27038
.
dfilter
,
1
,
nil
)
and
Duel
.
IsChainDisablable
(
ev
)
and
(
Duel
.
GetTurnCount
()
~=
e
:
GetHandler
():
GetTurnID
()
or
e
:
GetHandler
():
IsReason
(
REASON_RETURN
))
end
function
c27038
.
dmtg4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
@@ -143,6 +147,11 @@ function c27038.bdcon(e,tp,eg,ep,ev,re,r,rp)
local
ec
=
eg
:
GetFirst
()
return
ec
:
IsFaceup
()
and
ec
:
IsControler
(
tp
)
and
ec
:
IsSetCard
(
0x242
)
end
function
c27038
.
bdcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
eg
:
GetFirst
()
return
ec
:
IsFaceup
()
and
ec
:
IsControler
(
tp
)
and
ec
:
IsSetCard
(
0x242
)
and
(
Duel
.
GetTurnCount
()
~=
e
:
GetHandler
():
GetTurnID
()
or
e
:
GetHandler
():
IsReason
(
REASON_RETURN
))
end
function
c27038
.
bdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
1600
)
...
...
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