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
Soulgamer
ygopro-222DIY-cards
Commits
6bd868dc
Commit
6bd868dc
authored
Jun 08, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-
parent
c49d026e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
expansions/script/c12056022.lua
expansions/script/c12056022.lua
+3
-3
expansions/script/c23000309.lua
expansions/script/c23000309.lua
+1
-1
No files found.
expansions/script/c12056022.lua
View file @
6bd868dc
...
...
@@ -2,7 +2,7 @@
function
c12056022
.
initial_effect
(
c
)
--link summon
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0x9fab
),
2
,
2
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0x9fab
),
2
,
2
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
@@ -31,7 +31,7 @@ function c12056022.thcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c12056022
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
ct
=
Duel
.
GetCounter
(
tp
,
LOCATION_ONFIELD
,
0
,
0x1fb0
)
local
ct
=
Duel
.
GetCounter
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0x1fb0
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,(
g
+
ct
)
/
3
)
end
end
function
c12056022
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -42,7 +42,7 @@ function c12056022.operation(e,tp,eg,ep,ev,re,r,rp)
tc
=
g
:
GetNext
()
end
Duel
.
BreakEffect
()
ct
=
Duel
.
GetCounter
(
tp
,
LOCATION_ONFIELD
,
0
,
0x1fb0
)
/
3
local
ct
=
Duel
.
GetCounter
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0x1fb0
)
/
/
3
if
Duel
.
Draw
(
tp
,
ct
,
REASON_EFFECT
)
==
0
then
return
end
Duel
.
ShuffleHand
(
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
...
...
expansions/script/c23000309.lua
View file @
6bd868dc
...
...
@@ -47,7 +47,7 @@ function c23000309.initial_effect(c)
c
:
RegisterEffect
(
e5
)
end
function
c23000309
.
indct
(
e
,
re
,
r
,
rp
)
if
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
then
if
bit
.
band
(
r
,
REASON_
BATTLE
+
REASON_
EFFECT
)
~=
0
then
return
1
else
return
0
end
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