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
Ai
ygopro-222DIY-cards
Commits
351c3384
Commit
351c3384
authored
Aug 10, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7fde036a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
expansions/script/c12044018.lua
expansions/script/c12044018.lua
+5
-2
expansions/script/c12044031.lua
expansions/script/c12044031.lua
+1
-1
No files found.
expansions/script/c12044018.lua
View file @
351c3384
...
...
@@ -114,11 +114,14 @@ function cm.ffilter(c)
return
not
c
:
IsReason
(
REASON_DRAW
)
and
c
:
IsPreviousLocation
(
LOCATION_DECK
)
end
function
cm
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Debug
.
Message
(
e
:
GetHandler
():
IsAbleToDeck
())
Debug
.
Message
(
rp
==
1
-
tp
)
Debug
.
Message
(
eg
:
IsExists
(
cm
.
ffilter
,
1
,
nil
))
return
e
:
GetHandler
():
IsAbleToDeck
()
and
rp
==
1
-
tp
and
eg
:
IsExists
(
cm
.
ffilter
,
1
,
nil
)
end
function
cm
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
re
:
GetHandler
()
then
Duel
.
SendtoHand
(
re
:
GetHandler
(),
nil
,
REASON_EFFECT
)
if
eg
then
Duel
.
Remove
(
eg
:
Filter
(
cm
.
ffilter
,
nil
),
POS_FACEUP
,
REASON_EFFECT
)
end
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
...
...
expansions/script/c12044031.lua
View file @
351c3384
...
...
@@ -38,7 +38,7 @@ function cm.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetRange
(
LOCATION_
HAND
)
e2
:
SetRange
(
LOCATION_
DECK
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_SPSUM_PARAM
)
e2
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
1
)
e2
:
SetCondition
(
cm
.
spcon
)
...
...
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