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
b9e71bea
Commit
b9e71bea
authored
Aug 10, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
f173286d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
expansions/script/c22100113.lua
expansions/script/c22100113.lua
+3
-3
expansions/script/c22100129.lua
expansions/script/c22100129.lua
+5
-1
No files found.
expansions/script/c22100113.lua
View file @
b9e71bea
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
e2
:
SetCode
(
EFFECT_CANNOT_RELEASE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
Set
Target
(
cm
.
tg
)
e2
:
Set
Value
(
cm
.
tg
)
c
:
RegisterEffect
(
e2
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -41,8 +41,8 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e4
)
--
end
function
cm
.
tg
(
e
,
c
)
return
c
:
IsSetCard
(
0x8fa
)
and
c
:
GetOwner
()
~=
c
:
GetControler
()
function
cm
.
tg
(
e
,
c
,
tp
,
sumtp
)
return
c
:
IsSetCard
(
0x8fa
)
and
c
:
GetOwner
()
~=
tp
end
function
cm
.
atkfilter
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c22100129.lua
View file @
b9e71bea
...
...
@@ -155,12 +155,16 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e11
:
SetRange
(
LOCATION_MZONE
)
e11
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e11
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e11
:
SetTargetRange
(
0
,
0xff
)
e11
:
SetTargetRange
(
0
xfe
,
0xff
)
e11
:
SetValue
(
LOCATION_DECKBOT
)
e11
:
SetTarget
(
cm
.
rmtg
)
c
:
RegisterEffect
(
e11
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
4
))
end
end
function
cm
.
rmtg
(
e
,
c
)
return
c
:
GetOwner
()
~=
e
:
GetHandlerPlayer
()
end
function
cm
.
splimit
(
e
,
c
)
return
c
:
IsControler
(
e
:
GetHandlerPlayer
())
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