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
b18d439a
Commit
b18d439a
authored
Aug 10, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
a83ecc8d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c12038005.lua
expansions/script/c12038005.lua
+4
-4
expansions/script/c22100113.lua
expansions/script/c22100113.lua
+2
-2
No files found.
expansions/script/c12038005.lua
View file @
b18d439a
...
...
@@ -84,7 +84,7 @@ function cm.negcon(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
return
true
end
function
filter
(
c
,
rc
)
function
cm
.
filter
(
c
,
rc
)
return
c
:
IsAbleToHand
()
and
c
:
IsCode
(
rc
:
GetCode
())
and
not
re
:
GetHandler
():
IsCode
(
table.unpack
(
Srprzm_setback
))
end
function
cm
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -95,10 +95,10 @@ function cm.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
POSCHANGE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
1
,
rc
,
rc
:
GetCode
()
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
1
,
rc
,
rc
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
\ No newline at end of file
expansions/script/c22100113.lua
View file @
b18d439a
...
...
@@ -15,11 +15,11 @@ function cm.initial_effect(c)
e2
:
SetCode
(
EFFECT_CANNOT_RELEASE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
0
,
1
)
e2
:
Set
Value
(
cm
.
tg0
)
e2
:
Set
Target
(
cm
.
tg0
)
c
:
RegisterEffect
(
e2
)
local
e11
=
e2
:
Clone
()
e11
:
SetTargetRange
(
1
,
0
)
e11
:
Set
Value
(
cm
.
tg1
)
e11
:
Set
Target
(
cm
.
tg1
)
c
:
RegisterEffect
(
e11
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
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