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
66202708
Commit
66202708
authored
Sep 05, 2024
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ebf04182
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
expansions/script/c12832002.lua
expansions/script/c12832002.lua
+1
-1
expansions/script/c21185608.lua
expansions/script/c21185608.lua
+1
-2
expansions/script/c30900519.lua
expansions/script/c30900519.lua
+2
-3
No files found.
expansions/script/c12832002.lua
View file @
66202708
...
...
@@ -32,7 +32,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
if
Duel
.
GetTurnPlayer
()
==
1
-
tp
then
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_
DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_
EXTRA
)
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
...
...
expansions/script/c21185608.lua
View file @
66202708
...
...
@@ -100,11 +100,10 @@ function c21185608.location(c)
return
not
c
:
IsLocation
(
LOCATION_EXTRA
)
end
function
c21185608
.
LCheckGoal
(
sg
,
tp
,
lc
,
gf
,
lmat
)
local
ug
=
sg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_EXTRA
)
return
sg
:
CheckWithSumEqual
(
Auxiliary
.
GetLinkCount
,
lc
:
GetLink
(),
#
sg
,
#
sg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
(
not
gf
or
gf
(
sg
,
lc
,
tp
))
and
not
sg
:
IsExists
(
Auxiliary
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
(
not
lmat
or
sg
:
IsContains
(
lmat
))
and
(
ug
==
nil
or
ug
:
GetCount
()
<=
1
)
and
(
not
lmat
or
sg
:
IsContains
(
lmat
))
and
not
sg
:
IsExists
(
Card
.
IsLocation
,
2
,
nil
,
LOCATION_EXTRA
)
end
function
c21185608
.
LinkTarget
(
f
,
minct
,
maxct
,
gf
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
og
,
lmat
,
min
,
max
)
...
...
expansions/script/c30900519.lua
View file @
66202708
...
...
@@ -41,7 +41,7 @@ c:EnableReviveLimit()
end
function
cm
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
c
:
IsFusionSetCard
(
0xc86
)
and
(
not
sg
or
not
sg
:
IsExists
(
Card
.
IsFusionAttribute
,
1
,
c
,
c
:
GetFusionAttribute
()))
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
FusionSetCard
(
0xc86
)
and
(
not
sg
or
not
sg
:
IsExists
(
Card
.
IsFusionAttribute
,
1
,
c
,
c
:
GetFusionAttribute
()))
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
or
aux
.
fuslimit
(
e
,
se
,
sp
,
st
)
...
...
@@ -62,7 +62,7 @@ end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
local
att
=
tc
:
GetAttribute
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tgfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
att
)
...
...
@@ -78,7 +78,6 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e5
:
SetValue
(
RESET_TURN_SET
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e5
)
end
end
end
function
cm
.
condition1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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