Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
Commits
bf0a7792
Commit
bf0a7792
authored
Jul 23, 2020
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix simple negate activation
missing sending activating spell/trap to grave
parent
e6ddd944
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
c47297616.lua
c47297616.lua
+3
-0
c70628672.lua
c70628672.lua
+3
-0
No files found.
c47297616.lua
View file @
bf0a7792
...
@@ -57,6 +57,9 @@ function c47297616.opdisable(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,6 +57,9 @@ function c47297616.opdisable(e,tp,eg,ep,ev,re,r,rp)
return
return
end
end
if
Duel
.
NegateActivation
(
ev
)
then
if
Duel
.
NegateActivation
(
ev
)
then
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
)
...
...
c70628672.lua
View file @
bf0a7792
...
@@ -36,6 +36,9 @@ function c70628672.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -36,6 +36,9 @@ function c70628672.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c70628672
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c70628672
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
then
if
Duel
.
NegateActivation
(
ev
)
then
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
local
cd
=
re
:
GetHandler
():
GetCode
()
local
cd
=
re
:
GetHandler
():
GetCode
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
rp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
nil
,
cd
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
rp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
nil
,
cd
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
...
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