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
3
Merge Requests
3
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
48588632
Commit
48588632
authored
Jun 26, 2024
by
mercury233
Committed by
Chen Bill
Jan 01, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2a88eead
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
c24892828.lua
c24892828.lua
+6
-6
c51303014.lua
c51303014.lua
+6
-6
No files found.
c24892828.lua
View file @
48588632
...
...
@@ -23,18 +23,18 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
ovop
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
filter
(
c
,
id
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1a4
)
and
c
:
IsHasLevel
()
and
not
c
:
IsCode
(
id
)
function
s
.
filter
(
c
,
code
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1a4
)
and
c
:
IsHasLevel
()
and
not
c
:
IsCode
(
code
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
id
=
c
:
GetCode
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
filter
(
chkc
,
id
)
end
local
code
=
c
:
GetCode
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
filter
(
chkc
,
code
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
id
)
end
and
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
code
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
s
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
id
)
Duel
.
SelectTarget
(
tp
,
s
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
code
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c51303014.lua
View file @
48588632
...
...
@@ -37,12 +37,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
if
g
:
GetClassCount
(
Card
.
GetOriginalLevel
)
==
1
then
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e
1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e
1
:
SetValue
(
1
)
tc
:
RegisterEffect
(
e
1
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
2
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e
2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e
2
:
SetValue
(
1
)
tc
:
RegisterEffect
(
e
2
)
end
end
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