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
a2cf748a
Commit
a2cf748a
authored
Apr 04, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
66b248d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
c46613515.lua
c46613515.lua
+2
-3
c51124303.lua
c51124303.lua
+1
-0
No files found.
c46613515.lua
View file @
a2cf748a
...
@@ -3,7 +3,7 @@ function c46613515.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c46613515.initial_effect(c)
--negate
--negate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
46613515
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
46613515
,
0
))
e1
:
SetCategory
(
CATEGORY_
DESTROY
+
CATEGORY_
NEGATE
)
e1
:
SetCategory
(
CATEGORY_NEGATE
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
...
@@ -56,10 +56,10 @@ end
...
@@ -56,10 +56,10 @@ end
function
c46613515
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c46613515
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
==
0
then
return
end
if
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
==
0
then
return
end
local
tc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
local
tc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
if
tc
:
IsType
(
TYPE_MONSTER
)
then
if
tc
:
IsType
(
TYPE_MONSTER
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
46613515
,
2
))
then
if
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
46613515
,
2
))
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
if
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
not
Duel
.
GetAttacker
():
IsImmuneToEffect
(
e
)
then
if
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
not
Duel
.
GetAttacker
():
IsImmuneToEffect
(
e
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
@@ -67,5 +67,4 @@ function c46613515.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,5 +67,4 @@ function c46613515.drop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
Duel
.
ShuffleHand
(
tp
)
end
end
c51124303.lua
View file @
a2cf748a
...
@@ -35,6 +35,7 @@ function c51124303.filter(c,e,tp)
...
@@ -35,6 +35,7 @@ function c51124303.filter(c,e,tp)
local
sg
=
Duel
.
GetMatchingGroup
(
c51124303
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
c
,
e
,
tp
,
c
)
local
sg
=
Duel
.
GetMatchingGroup
(
c51124303
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
c
,
e
,
tp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
c
:
IsLocation
(
LOCATION_MZONE
)
then
ft
=
ft
+
1
end
if
c
:
IsLocation
(
LOCATION_MZONE
)
then
ft
=
ft
+
1
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
return
sg
:
IsExists
(
c51124303
.
rfilter
,
1
,
nil
,
c
)
or
sg
:
CheckWithSumEqual
(
Card
.
GetLevel
,
c
:
GetLevel
(),
1
,
ft
)
return
sg
:
IsExists
(
c51124303
.
rfilter
,
1
,
nil
,
c
)
or
sg
:
CheckWithSumEqual
(
Card
.
GetLevel
,
c
:
GetLevel
(),
1
,
ft
)
end
end
function
c51124303
.
mfilter
(
c
)
function
c51124303
.
mfilter
(
c
)
...
...
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