Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-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
八宫一月
ygopro-THC-cards
Commits
d920c4f9
Commit
d920c4f9
authored
Dec 29, 2021
by
oilloillo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix eff2 not include changePos & SpSummon with faceDown
parent
75589ab8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
165 additions
and
151 deletions
+165
-151
script/c999018.lua
script/c999018.lua
+165
-151
No files found.
script/c999018.lua
View file @
d920c4f9
...
...
@@ -12,10 +12,7 @@ function M.initial_effect(c)
M
.
addCommonEff
(
c
)
end
M
.
hana_mat
=
{
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0xaa6
),
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x229
),
}
function
M
.
addEff1
(
c
)
function
filter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_HAND
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetPreviousControler
()
==
tp
...
...
@@ -94,6 +91,23 @@ function M.addEff2(c)
e2
:
SetTarget
(
tg
)
e2
:
SetOperation
(
op
)
c
:
RegisterEffect
(
e2
)
local
function
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
local
sg
=
eg
:
Filter
(
Card
.
IsPosition
,
nil
,
POS_FACEDOWN_DEFENSE
)
return
sg
:
GetCount
()
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
local
e32
=
e2
:
Clone
()
e32
:
SetTarget
(
tg2
)
e32
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e32
)
local
e22
=
e32
:
Clone
()
e22
:
SetCode
(
EVENT_CHANGE_POS
)
c
:
RegisterEffect
(
e22
)
end
function
M
.
addCommonEff
(
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