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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
7b908536
Commit
7b908536
authored
Aug 29, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E
parent
506466eb
Pipeline
#16121
passed with stages
in 32 minutes and 24 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c66914000.lua
expansions/script/c66914000.lua
+3
-2
expansions/script/c66914008.lua
expansions/script/c66914008.lua
+0
-1
No files found.
expansions/222DIY.cdb
View file @
7b908536
No preview for this file type
expansions/script/c66914000.lua
View file @
7b908536
...
...
@@ -35,13 +35,14 @@ function c66914000.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
c66914000
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
count
=
0
for
i
=
1
,
ev
do
local
chain
=
Duel
.
GetCurrentChain
()
for
i
=
1
,
chain
do
local
te
,
tgp
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
if
tgp
==
tp
then
count
=
count
+
1
end
end
if
chk
==
0
then
return
count
<
3
or
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
if
chk
==
0
then
return
(
count
<
3
or
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
)
end
local
cat
=
0
if
count
>=
2
then
cat
=
cat
|
CATEGORY_DAMAGE
...
...
expansions/script/c66914008.lua
View file @
7b908536
...
...
@@ -52,7 +52,6 @@ function c66914008.activate(e,tp,eg,ep,ev,re,r,rp)
dg
:
AddCard
(
tc
)
end
end
Debug
.
Message
(
dg
:
GetCount
())
if
dg
:
GetCount
()
>=
1
then
Duel
.
Damage
(
1
-
tp
,
count
*
1500
,
REASON_EFFECT
)
end
...
...
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