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
6e3de018
Commit
6e3de018
authored
Dec 16, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
f1cd255b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
expansions/script/c12300710.lua
expansions/script/c12300710.lua
+15
-11
No files found.
expansions/script/c12300710.lua
View file @
6e3de018
...
...
@@ -52,13 +52,16 @@ function cm.initial_effect(c)
e6
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e6
:
SetValue
(
c
:
GetBaseAttack
()
+
700
)
c
:
RegisterEffect
(
e6
)
--
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e7
:
SetCode
(
EVENT_TO_GRAVE
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e7
)
--REDIRECT
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_FIELD
)
e8
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e8
:
SetRange
(
LOCATION_MZONE
)
e8
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e8
:
SetTarget
(
cm
.
thtg
)
e8
:
SetTargetRange
(
0xff
,
0xff
)
e8
:
SetValue
(
LOCATION_HAND
)
c
:
RegisterEffect
(
e8
)
end
function
cm
.
chklsn
(
c
)
return
c
:
IsHasEffect
(
12300706
)
or
c
:
IsLinkSetCard
(
0x2d7
)
...
...
@@ -127,9 +130,10 @@ end
function
cm
.
fildes
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSetCard
(
0x2d7
)
and
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsAbleToHand
()
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
og
=
eg
:
Filter
(
cm
.
fildes
,
nil
)
if
og
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
og
,
nil
,
REASON_EFFECT
)
function
cm
.
thtg
(
e
,
c
)
if
cm
.
fildes
(
c
)
then
if
c
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
0
,
c
)
end
return
true
else
return
false
end
end
\ No newline at end of file
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