Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
3c742223
Commit
3c742223
authored
Jul 07, 2021
by
mercury233
Committed by
GitHub
Jul 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 餅カエル (#1673)
parent
ab378ba2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
c90809975.lua
c90809975.lua
+7
-8
No files found.
c90809975.lua
View file @
3c742223
...
@@ -79,12 +79,11 @@ function c90809975.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -79,12 +79,11 @@ function c90809975.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
if
re
:
GetHandler
():
IsDestructable
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
re
:
GetHandler
():
IsDestructable
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
local
cat
=
e
:
GetCategory
()
end
if
bit
.
band
(
re
:
GetHandler
():
GetOriginalType
(),
TYPE_MONSTER
)
~=
0
then
if
bit
.
band
(
re
:
GetHandler
():
GetOriginalType
(),
TYPE_MONSTER
)
~=
0
then
e
:
SetCategory
(
bit
.
bor
(
cat
,
CATEGORY_SPECIAL_SUMMON
))
e
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
else
else
e
:
SetCategory
(
bit
.
band
(
cat
,
bit
.
bnot
(
CATEGORY_SPECIAL_SUMMON
)))
e
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
end
end
end
end
end
function
c90809975
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c90809975
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -92,8 +91,8 @@ function c90809975.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,8 +91,8 @@ function c90809975.negop(e,tp,eg,ep,ev,re,r,rp)
if
not
Duel
.
NegateActivation
(
ev
)
then
return
end
if
not
Duel
.
NegateActivation
(
ev
)
then
return
end
if
rc
:
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
and
not
rc
:
IsLocation
(
LOCATION_HAND
+
LOCATION_DECK
)
if
rc
:
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
and
not
rc
:
IsLocation
(
LOCATION_HAND
+
LOCATION_DECK
)
and
aux
.
NecroValleyFilter
()(
rc
)
then
and
aux
.
NecroValleyFilter
()(
rc
)
then
if
rc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
rc
:
IsType
(
TYPE_MONSTER
)
and
(
not
rc
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
(
not
rc
:
IsLocation
(
LOCATION_EXTRA
)
or
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
rc
)
>
0
)
or
rc
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
rc
)
>
0
)
and
rc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
and
rc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
90809975
,
3
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
90809975
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
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