Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-ygopro
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
苍蓝
rd-ygopro
Commits
c5e5cfd6
Commit
c5e5cfd6
authored
Jul 28, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1464 from DailyShana/patch-2
fix
parents
a28b348b
817b48b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
script/c13945283.lua
script/c13945283.lua
+1
-1
script/c32542011.lua
script/c32542011.lua
+1
-0
script/c73872164.lua
script/c73872164.lua
+2
-1
No files found.
script/c13945283.lua
View file @
c5e5cfd6
...
@@ -12,7 +12,7 @@ function c13945283.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c13945283.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c13945283
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13945283
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
()
return
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
()
and
not
Duel
.
GetAttacker
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
end
function
c13945283
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c13945283
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
script/c32542011.lua
View file @
c5e5cfd6
...
@@ -44,6 +44,7 @@ function c32542011.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -44,6 +44,7 @@ function c32542011.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
Duel
.
IsExistingMatchingCard
(
c32542011
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
ATTRIBUTE_WATER
)
then
if
Duel
.
IsExistingMatchingCard
(
c32542011
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
ATTRIBUTE_WATER
)
then
local
g
=
Duel
.
GetMatchingGroup
(
c32542011
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
Duel
.
GetTurnCount
(),
e
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c32542011
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
Duel
.
GetTurnCount
(),
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
0
,
LOCATION_MZONE
)
end
end
end
end
function
c32542011
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c32542011
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c73872164.lua
View file @
c5e5cfd6
...
@@ -32,12 +32,13 @@ end
...
@@ -32,12 +32,13 @@ end
function
c73872164
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73872164
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
then
Duel
.
BreakEffect
()
local
code
=
tc
:
GetCode
()
local
code
=
tc
:
GetCode
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
0
,
LOCATION_HAND
,
nil
,
code
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
0
,
LOCATION_HAND
,
nil
,
code
)
local
hg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
local
hg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
Duel
.
ConfirmCards
(
tp
,
hg
)
Duel
.
ConfirmCards
(
tp
,
hg
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
Duel
.
ShuffleHand
(
1
-
tp
)
Duel
.
ShuffleHand
(
1
-
tp
)
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