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
4d79ae17
Commit
4d79ae17
authored
Sep 09, 2024
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
600fix
parent
4a95a37a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
expansions/script/c60002228.lua
expansions/script/c60002228.lua
+3
-0
expansions/script/c60002230.lua
expansions/script/c60002230.lua
+1
-1
No files found.
expansions/script/c60002228.lua
View file @
4d79ae17
...
...
@@ -47,6 +47,9 @@ function cm.op2(e,tp,eg,ep,ev,re,r,rp,c)
end
end
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
60002228
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
function
cm
.
cos5f1
(
c
)
return
c
:
GetFlagEffect
(
m
)
>
0
and
(
c
:
IsAbleToDeckAsCost
()
or
c
:
IsAbleToExtraAsCost
())
end
...
...
expansions/script/c60002230.lua
View file @
4d79ae17
...
...
@@ -51,7 +51,7 @@ end
function
cm
.
op5
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
or
not
e
:
GetHandler
():
IsFaceup
()
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
xfilter
,
tp
,
LOCATION_MZONE
,
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
xfilter
,
tp
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
dmg
=
g
:
GetFirst
():
GetAttack
()
Duel
.
Damage
(
1
-
tp
,
dmg
,
REASON_EFFECT
)
end
\ No newline at end of file
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