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
08cc6622
Commit
08cc6622
authored
Aug 25, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
9526005d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/script/c30900711.lua
expansions/script/c30900711.lua
+2
-2
expansions/script/c33720229.lua
expansions/script/c33720229.lua
+3
-3
No files found.
expansions/script/c30900711.lua
View file @
08cc6622
...
...
@@ -17,7 +17,7 @@ function cm.filter1(c,e,tp)
return
c
:
IsLevel
(
1
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
filter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
return
c
:
IsFaceup
()
end
function
cm
.
fselect
(
sg
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
...
...
@@ -37,7 +37,7 @@ function cm.xyztg(e,tp,eg,ep,ev,re,r,rp,chk)
if
ft
>
4
then
ft
=
4
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
4
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
and
mg
:
CheckSubGroup
(
cm
.
fselect
,
1
,
ft
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
+
LOCATION_EXTRA
)
end
...
...
expansions/script/c33720229.lua
View file @
08cc6622
...
...
@@ -34,8 +34,8 @@ if not s.STRING_INVALID_AND_RETRY then
end
local
STRING_INVALID_AND_ESCAPE
=
aux
.
Stringid
(
id
,
11
)
local
STRING_ASK_OPPONENT
=
aux
.
Stringid
(
id
,
12
)
local
STRING_SHOW_X
=
aux
.
Stringid
(
id
,
13
)
local
STRING_ASK_OPPONENT
=
aux
.
Stringid
(
id
,
12
)
local
STRING_SHOW_X
=
aux
.
Stringid
(
id
,
13
)
local
FLAG_TOTAL_DECLARED_LEVEL
=
id
...
...
@@ -138,7 +138,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummonComplete
()
else
local
tc
=
Duel
.
CreateToken
(
tp
,
code
)
local
te
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
=
tc
:
CheckActivateEffect
(
fals
e
,
true
,
true
)
local
te
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
=
tc
:
CheckActivateEffect
(
tru
e
,
true
,
true
)
Duel
.
ClearTargetCard
()
tc
:
CreateEffectRelation
(
te
)
local
target
=
te
:
GetTarget
()
...
...
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