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
dbaecd1c
Commit
dbaecd1c
authored
Apr 21, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sign out
parent
ba96ea50
Pipeline
#2967
passed with stages
in 26 minutes and 34 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
8 deletions
+13
-8
expansions/script/c33701342.lua
expansions/script/c33701342.lua
+2
-2
expansions/script/c33701374.lua
expansions/script/c33701374.lua
+1
-1
expansions/script/c81003002.lua
expansions/script/c81003002.lua
+1
-1
expansions/script/c81052005.lua
expansions/script/c81052005.lua
+9
-4
No files found.
expansions/script/c33701342.lua
View file @
dbaecd1c
...
...
@@ -63,10 +63,10 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
cm
[
tc
:
GetOwnerPlayer
()]
=
cm
[
tc
:
GetOwnerPlayer
()]
+
1
cm
[
ep
]
=
cm
[
ep
]
+
ev
end
function
cm
.
checkop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
cm
[
tc
:
GetOwnerPlayer
()]
=
cm
[
tc
:
GetOwnerPlayer
()
+
2
]
+
1
cm
[
ep
+
2
]
=
cm
[
ep
+
2
]
+
2
end
function
cm
.
clear
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
cm
[
0
]
=
0
...
...
expansions/script/c33701374.lua
View file @
dbaecd1c
...
...
@@ -87,7 +87,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
ep
==
tp
and
1
-
ep
==
rp
and
bit
.
band
(
r
,
REASON_BATTLE
+
REASON_EFFECT
)
~=
0
then
if
1
-
ep
==
rp
and
bit
.
band
(
r
,
REASON_BATTLE
+
REASON_EFFECT
)
~=
0
then
cm
[
ep
]
=
cm
[
ep
]
+
ev
end
end
...
...
expansions/script/c81003002.lua
View file @
dbaecd1c
...
...
@@ -70,7 +70,7 @@ function cm.thfilter(c)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
function
cm
.
acttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
thfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
cm
.
thfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
thfilter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
thfilter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
...
...
expansions/script/c81052005.lua
View file @
dbaecd1c
...
...
@@ -27,7 +27,7 @@ function cm.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_TODECK
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_
EFFEC
T
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_
TARGE
T
)
e2
:
SetRange
(
LOCATION_REMOVED
)
e2
:
SetCountLimit
(
1
,
m
+
900
)
e2
:
SetTarget
(
cm
.
tdtg
)
...
...
@@ -81,11 +81,11 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
Is
Location
(
LOCATION_ONFIELD
)
and
chkc
:
IsAbleToRemove
()
end
if
chkc
then
return
chkc
:
Is
OnField
()
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsAbleToRemove
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToDeck
()
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
...
...
@@ -98,3 +98,8 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
end
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