Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
0e15a7fe
Commit
0e15a7fe
authored
Aug 21, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
6757e374
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
expansions/script/c79250010.lua
expansions/script/c79250010.lua
+1
-1
expansions/script/c79250027.lua
expansions/script/c79250027.lua
+8
-0
No files found.
expansions/script/c79250010.lua
View file @
0e15a7fe
...
@@ -68,7 +68,7 @@ function s.descon(e,tp)
...
@@ -68,7 +68,7 @@ function s.descon(e,tp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_FZONE
,
LOCATION_FZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_FZONE
,
LOCATION_FZONE
,
nil
)
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
0
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
g
)
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
0
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
g
)
end
end
function
s
.
efilter
(
e
,
t
e
)
function
s
.
efilter
(
e
,
r
e
)
return
e
:
GetHandlerPlayer
()
~=
re
:
GetOwnerPlayer
()
return
e
:
GetHandlerPlayer
()
~=
re
:
GetOwnerPlayer
()
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c79250027.lua
View file @
0e15a7fe
...
@@ -17,6 +17,14 @@ function s.initial_effect(c)
...
@@ -17,6 +17,14 @@ function s.initial_effect(c)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
e2
:
SetValue
(
1
)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--battle indes
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e3
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
e3
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemove
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemove
()
...
...
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