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
0a63d0a8
Commit
0a63d0a8
authored
Jul 19, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
25a71338
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
expansions/script/c40010111.lua
expansions/script/c40010111.lua
+3
-2
expansions/script/c50224520.lua
expansions/script/c50224520.lua
+4
-4
No files found.
expansions/script/c40010111.lua
View file @
0a63d0a8
...
...
@@ -26,6 +26,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCondition
(
cm
.
sprcon2
)
e3
:
SetOperation
(
cm
.
sprop2
)
c
:
RegisterEffect
(
e3
)
--draw
...
...
@@ -91,10 +92,10 @@ function cm.sprop1(e,tp,eg,ep,ev,re,r,rp,c)
end
function
cm
.
sprcon2
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
Card
.
IsCode
,
1
,
nil
,
40009559
)
return
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
Card
.
IsCode
,
1
,
nil
,
40009559
)
end
function
cm
.
sprop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
Card
.
IsCode
,
1
,
1
,
nil
,
40009559
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsCode
,
1
,
1
,
nil
,
40009559
)
Duel
.
Release
(
g
,
REASON_COST
)
end
...
...
expansions/script/c50224520.lua
View file @
0a63d0a8
...
...
@@ -58,14 +58,14 @@ function c50224520.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c50224520
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
function
c50224520
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsControler
(
tp
)
end
function
c50224520
.
atkval
(
e
,
c
)
local
g
=
e
:
GetHandler
():
GetColumnGroup
():
Filter
(
c50224520
.
cfilter
,
nil
)
local
g
=
e
:
GetHandler
():
GetColumnGroup
():
Filter
(
c50224520
.
cfilter
,
nil
,
e
:
GetHandlerPlayer
()
)
return
g
:
GetSum
(
Card
.
GetAttack
)
end
function
c50224520
.
defval
(
e
,
c
)
local
g
=
e
:
GetHandler
():
GetColumnGroup
():
Filter
(
c50224520
.
cfilter
,
nil
)
local
g
=
e
:
GetHandler
():
GetColumnGroup
():
Filter
(
c50224520
.
cfilter
,
nil
,
e
:
GetHandlerPlayer
()
)
return
g
:
GetSum
(
Card
.
GetDefense
)
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