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
652def7d
Commit
652def7d
authored
Jun 01, 2021
by
HidarimeYume
Committed by
GitHub
Jun 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes (#1650)
parent
852bc377
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
c49407319.lua
c49407319.lua
+5
-5
c70628672.lua
c70628672.lua
+1
-0
c79766336.lua
c79766336.lua
+6
-2
No files found.
c49407319.lua
View file @
652def7d
...
@@ -36,9 +36,10 @@ function c49407319.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -36,9 +36,10 @@ function c49407319.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
2000
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
2000
)
end
end
function
c49407319
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c49407319
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
tp
,
2000
,
REASON_EFFECT
)
if
Duel
.
Damage
(
tp
,
2000
,
REASON_EFFECT
)
>
0
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Damage
(
1
-
tp
,
2000
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
2000
,
REASON_EFFECT
)
end
end
end
function
c49407319
.
filter
(
c
,
tp
,
rp
,
seq
)
function
c49407319
.
filter
(
c
,
tp
,
rp
,
seq
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
...
@@ -56,8 +57,7 @@ function c49407319.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -56,8 +57,7 @@ function c49407319.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
2000
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
2000
)
end
end
function
c49407319
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c49407319
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
>
0
then
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
>
0
and
Duel
.
Damage
(
tp
,
2000
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
tp
,
2000
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Damage
(
1
-
tp
,
2000
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
2000
,
REASON_EFFECT
)
end
end
...
...
c70628672.lua
View file @
652def7d
...
@@ -39,6 +39,7 @@ function c70628672.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,6 +39,7 @@ function c70628672.activate(e,tp,eg,ep,ev,re,r,rp)
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
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
end
end
...
...
c79766336.lua
View file @
652def7d
...
@@ -44,9 +44,13 @@ end
...
@@ -44,9 +44,13 @@ end
function
c79766336
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c79766336
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
local
te
=
e
:
GetLabelObject
()
if
not
te
then
return
end
if
not
te
then
return
end
if
not
te
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
tc
=
te
:
GetHandler
()
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
c
:
GetType
()
==
TYPE_TRAP
)
then
return
end
e
:
SetLabelObject
(
te
:
GetLabelObject
())
e
:
SetLabelObject
(
te
:
GetLabelObject
())
local
op
=
te
:
GetOperation
()
local
op
=
te
:
GetOperation
()
if
op
then
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
op
then
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
Duel
.
Remove
(
te
:
GetHandler
(),
POS_FACEUP
,
REASON_EFFECT
)
if
tc
:
IsRelateToEffect
(
e
)
and
c
:
GetType
()
==
TYPE_TRAP
then
Duel
.
BreakEffect
()
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
end
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