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
d4d7c177
Commit
d4d7c177
authored
Jun 22, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
12
parent
6339a591
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
8 deletions
+5
-8
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
expansions/script/c12048031.lua
expansions/script/c12048031.lua
+1
-1
expansions/script/c12061020.lua
expansions/script/c12061020.lua
+2
-3
expansions/script/c33711702.lua
expansions/script/c33711702.lua
+1
-3
ygopro.exe
ygopro.exe
+0
-0
No files found.
.gitlab-ci.yml
View file @
d4d7c177
...
@@ -63,7 +63,7 @@ pack:
...
@@ -63,7 +63,7 @@ pack:
-
cd update
-
cd update
-
./update-server.sh
-
./update-server.sh
-
cd ..
-
cd ..
-
7z a -mx9 dist/archive/ygopro-222DIY-data.7z expansions update
ygopro.exe
-
7z a -mx9 dist/archive/ygopro-222DIY-data.7z expansions update
-
7z a -mx9 dist/archive/ygopro-222DIY-sound.7z sound
-
7z a -mx9 dist/archive/ygopro-222DIY-sound.7z sound
-
ls -1 | sed '/dist/d' | xargs -I {} mv {} dist/contents/
-
ls -1 | sed '/dist/d' | xargs -I {} mv {} dist/contents/
artifacts
:
artifacts
:
...
...
expansions/script/c12048031.lua
View file @
d4d7c177
...
@@ -131,7 +131,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -131,7 +131,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
cm
.
filter
(
c
,
tp
)
function
cm
.
f
f
ilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsControler
(
tp
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
cm
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c12061020.lua
View file @
d4d7c177
...
@@ -38,7 +38,7 @@ function cm.initial_effect(c)
...
@@ -38,7 +38,7 @@ function cm.initial_effect(c)
e2
:
SetCondition
(
cm
.
scon
)
e2
:
SetCondition
(
cm
.
scon
)
e2
:
SetTarget
(
cm
.
rmtarget
)
e2
:
SetTarget
(
cm
.
rmtarget
)
e2
:
SetTargetRange
(
0xff
,
0xff
)
e2
:
SetTargetRange
(
0xff
,
0xff
)
e2
:
SetValue
(
LOCATION_DECK
SHF
)
e2
:
SetValue
(
LOCATION_DECK
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--
--
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -46,7 +46,7 @@ function cm.initial_effect(c)
...
@@ -46,7 +46,7 @@ function cm.initial_effect(c)
e3
:
SetCode
(
m
)
e3
:
SetCode
(
m
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e3
:
SetTargetRange
(
0xff
,
0xf
)
e3
:
SetTargetRange
(
0xff
,
0xf
f
)
e3
:
SetCondition
(
cm
.
scon
)
e3
:
SetCondition
(
cm
.
scon
)
e3
:
SetTarget
(
cm
.
checktg
)
e3
:
SetTarget
(
cm
.
checktg
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
@@ -107,7 +107,6 @@ function cm.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -107,7 +107,6 @@ function cm.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
apfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
apfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
for
tc
in
aux
.
Next
(
g
)
do
for
tc
in
aux
.
Next
(
g
)
do
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c33711702.lua
View file @
d4d7c177
...
@@ -64,13 +64,11 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,13 +64,11 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
tg
:
Filter
(
Card
.
IsAbleToHand
,
nil
)
local
sg
=
tg
:
Filter
(
Card
.
IsAbleToHand
,
nil
)
if
sg
:
GetCount
()
>
0
then
if
sg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tg
=
sg
:
RandomSelect
(
tp
,
1
)
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
tc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOHAND
,
0
,
0
)
tc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOHAND
,
0
,
0
)
Duel
.
SendtoHand
(
tc
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
--tc:ResetEffect(EVENT_CUSTOM+m,RESET_EVENT)
--Debug.Message(tc:GetFlagEffect(m))
end
end
end
end
function
cm
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
ygopro.exe
deleted
100644 → 0
View file @
6339a591
File deleted
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