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
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
Vee4
ygopro-scripts-888
Commits
94347f2c
Commit
94347f2c
authored
May 06, 2022
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix DR02-B
parent
3d2c9c67
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
c40916023.lua
c40916023.lua
+1
-1
c81306586.lua
c81306586.lua
+1
-1
c96947648.lua
c96947648.lua
+4
-1
No files found.
c40916023.lua
View file @
94347f2c
...
@@ -52,7 +52,7 @@ function c40916023.postg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -52,7 +52,7 @@ function c40916023.postg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
c40916023
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c40916023
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
Is
Controler
(
1
-
tp
)
and
tc
:
Is
Faceup
()
then
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_DEFENSE
,
0
,
POS_FACEUP_ATTACK
,
0
)
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_DEFENSE
,
0
,
POS_FACEUP_ATTACK
,
0
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c81306586.lua
View file @
94347f2c
...
@@ -29,7 +29,7 @@ function c81306586.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -29,7 +29,7 @@ function c81306586.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
c81306586
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c81306586
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
1
-
tp
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
end
end
c96947648.lua
View file @
94347f2c
...
@@ -13,6 +13,9 @@ end
...
@@ -13,6 +13,9 @@ end
function
c96947648
.
filter
(
c
)
function
c96947648
.
filter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAttackBelow
(
1500
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsAbleToHand
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAttackBelow
(
1500
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsAbleToHand
()
end
end
function
c96947648
.
opfilter
(
c
,
e
)
return
c
:
IsRelateToEffect
(
e
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
end
function
c96947648
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c96947648
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
GetLocation
()
==
LOCATION_GRAVE
and
c96947648
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
GetLocation
()
==
LOCATION_GRAVE
and
c96947648
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c96947648
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c96947648
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
nil
)
end
...
@@ -22,7 +25,7 @@ function c96947648.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -22,7 +25,7 @@ function c96947648.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
c96947648
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c96947648
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
sg
=
g
:
Filter
(
c96947648
.
opfilter
,
nil
,
e
)
if
sg
:
GetCount
()
>
0
then
if
sg
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
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