Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
2
Merge Requests
2
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
MyCard
ygopro-scripts-888
Commits
c3e75332
Commit
c3e75332
authored
Jun 03, 2025
by
wind2009
Committed by
GitHub
Jun 03, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check self status in condition (#2952)
parent
2bf900bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
c5908650.lua
c5908650.lua
+4
-0
c82791472.lua
c82791472.lua
+1
-2
No files found.
c5908650.lua
View file @
c3e75332
...
@@ -9,6 +9,7 @@ function c5908650.initial_effect(c)
...
@@ -9,6 +9,7 @@ function c5908650.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCost
(
c5908650
.
thcost
)
e1
:
SetCost
(
c5908650
.
thcost
)
e1
:
SetCondition
(
c5908650
.
thcon
)
e1
:
SetTarget
(
c5908650
.
thtg
)
e1
:
SetTarget
(
c5908650
.
thtg
)
e1
:
SetOperation
(
c5908650
.
thop
)
e1
:
SetOperation
(
c5908650
.
thop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -29,6 +30,9 @@ function c5908650.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -29,6 +30,9 @@ function c5908650.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c5908650
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
function
c5908650
.
aclimit
(
e
,
re
,
tp
)
function
c5908650
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsNonAttribute
(
ATTRIBUTE_LIGHT
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsNonAttribute
(
ATTRIBUTE_LIGHT
)
end
end
...
...
c82791472.lua
View file @
c3e75332
...
@@ -74,8 +74,7 @@ function c82791472.aclimit(e,re,tp)
...
@@ -74,8 +74,7 @@ function c82791472.aclimit(e,re,tp)
return
not
re
:
GetHandler
():
IsSetCard
(
0x137
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
return
not
re
:
GetHandler
():
IsSetCard
(
0x137
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
function
c82791472
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c82791472
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
Duel
.
IsMainPhase
()
and
e
:
GetHandler
():
IsSetCard
(
0x137
)
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
end
end
function
c82791472
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c82791472
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
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