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
fc82ff66
Commit
fc82ff66
authored
Jan 29, 2022
by
伊蕾娜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复猎梦者3效果战破送墓时无法发动的bug,多个怪兽同时送墓时无法选择的bug。
parent
b8f2217b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
script/c16000006.lua
script/c16000006.lua
+5
-4
No files found.
script/c16000006.lua
View file @
fc82ff66
...
@@ -26,7 +26,7 @@ function c16000006.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c16000006.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
16000006
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
16000006
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
16000006
)
e2
:
SetCountLimit
(
1
,
16000006
)
...
@@ -102,15 +102,16 @@ function c16000006.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -102,15 +102,16 @@ function c16000006.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c16000006
.
cfilter
(
c
,
tp
)
function
c16000006
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsSetCard
(
0x5208
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsSetCard
(
0x5208
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c16000006
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16000006
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
Filter
(
c16000006
.
cfilter
,
nil
,
tp
):
GetCount
()
>
0
return
eg
:
Filter
(
c16000006
.
cfilter
,
nil
,
tp
):
GetCount
()
>
0
end
end
function
c16000006
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c16000006
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
eg
:
Filter
(
c16000006
.
cfilter
,
nil
,
tp
)
local
g
=
eg
:
Filter
(
c16000006
.
cfilter
,
nil
,
tp
)
local
rc
=
g
:
GetFirst
()
if
chk
==
0
then
return
g
:
GetCount
()
>
0
end
if
chk
==
0
then
return
rc
and
rc
:
IsAbleToRemoveAsCost
()
end
local
rc
if
g
:
GetCount
()
==
1
then
rc
=
g
:
GetFirst
()
else
rc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
end
e
:
SetLabel
(
rc
:
GetLevel
())
e
:
SetLabel
(
rc
:
GetLevel
())
Duel
.
Remove
(
rc
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
rc
,
POS_FACEUP
,
REASON_COST
)
end
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