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
30ab2f76
Commit
30ab2f76
authored
Mar 10, 2025
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c4114224.lua
parent
ed0ab490
Pipeline
#33528
passed with stage
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
script/c4114224.lua
script/c4114224.lua
+3
-3
No files found.
script/c4114224.lua
View file @
30ab2f76
...
@@ -56,7 +56,7 @@ function c4114224.costfilter1(c)
...
@@ -56,7 +56,7 @@ function c4114224.costfilter1(c)
return
c
:
IsSetCard
(
0x6141
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsSetCard
(
0x6141
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c4114224
.
costfilter2
(
c
)
function
c4114224
.
costfilter2
(
c
)
return
c
:
IsOriginalCodeRule
(
4114224
)
and
c
:
IsFaceup
()
and
not
c
:
IsDisabled
()
and
not
c
:
IsForbidden
()
and
c
:
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_
COST
)
return
c
:
IsOriginalCodeRule
(
4114224
)
and
c
:
IsFaceup
()
and
not
c
:
IsDisabled
()
and
not
c
:
IsForbidden
()
and
c
:
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_
ACTION
)
end
end
function
c4114224
.
costchk
(
e
,
c
,
tp
)
function
c4114224
.
costchk
(
e
,
c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c4114224
.
costfilter1
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c4114224
.
costfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
4114224
)
and
Duel
.
GetFlagEffect
(
tp
,
4114225
)
==
0
return
Duel
.
IsExistingMatchingCard
(
c4114224
.
costfilter1
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c4114224
.
costfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
4114224
)
and
Duel
.
GetFlagEffect
(
tp
,
4114225
)
==
0
...
@@ -71,8 +71,8 @@ function c4114224.costop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,8 +71,8 @@ function c4114224.costop(e,tp,eg,ep,ev,re,r,rp)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c4114224
.
costfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c4114224
.
costfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
tg2
=
g2
:
GetFirst
()
local
tg2
=
g2
:
GetFirst
()
Duel
.
Hint
(
HINT_SELECTMSG
,
0
,
HINTMSG_REMOVEXYZ
)
Duel
.
Hint
(
HINT_SELECTMSG
,
0
,
HINTMSG_REMOVEXYZ
)
tg2
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_
COST
)
tg2
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_
ACTION
)
Duel
.
SendtoGrave
(
g1
,
REASON_
COST
)
Duel
.
SendtoGrave
(
g1
,
REASON_
ACTION
)
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
false
)
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
false
)
end
end
function
c4114224
.
extg
(
e
,
c
)
function
c4114224
.
extg
(
e
,
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