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
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
八宫一月
ygopro-scripts
Commits
88c09bfb
Commit
88c09bfb
authored
Sep 30, 2017
by
nekrozar
Committed by
mercury233
Sep 30, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#937)
parent
06b6d943
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
c16946849.lua
c16946849.lua
+1
-1
c20951752.lua
c20951752.lua
+1
-1
c32296881.lua
c32296881.lua
+1
-1
c49905576.lua
c49905576.lua
+1
-1
c65282484.lua
c65282484.lua
+1
-1
c67468948.lua
c67468948.lua
+1
-1
No files found.
c16946849.lua
View file @
88c09bfb
...
@@ -15,7 +15,7 @@ function c16946849.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c16946849.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c16946849
.
tokencon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16946849
.
tokencon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsActiveType
(
TYPE_COUNTER
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
re
:
Is
HasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
Is
ActiveType
(
TYPE_COUNTER
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
16946850
,
0
,
0x4011
,
300
,
300
,
1
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
16946850
,
0
,
0x4011
,
300
,
300
,
1
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
)
end
end
function
c16946849
.
tokenop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16946849
.
tokenop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c20951752.lua
View file @
88c09bfb
...
@@ -44,7 +44,7 @@ function c20951752.chop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c20951752.chop1(e,tp,eg,ep,ev,re,r,rp)
e
:
GetLabelObject
():
SetLabel
(
0
)
e
:
GetLabelObject
():
SetLabel
(
0
)
end
end
function
c20951752
.
chop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c20951752
.
chop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
rp
~=
tp
or
not
re
:
IsActiveType
(
TYPE_COUNTER
)
then
return
end
if
rp
~=
tp
or
not
re
:
Is
HasType
(
EFFECT_TYPE_ACTIVATE
)
or
not
re
:
Is
ActiveType
(
TYPE_COUNTER
)
then
return
end
e
:
GetLabelObject
():
SetLabel
(
1
)
e
:
GetLabelObject
():
SetLabel
(
1
)
end
end
function
c20951752
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c20951752
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c32296881.lua
View file @
88c09bfb
...
@@ -9,7 +9,7 @@ function c32296881.initial_effect(c)
...
@@ -9,7 +9,7 @@ function c32296881.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c32296881
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c32296881
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
GetHandler
():
Is
Type
(
TYPE_COUNTER
)
then
return
end
if
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
or
not
re
:
IsActive
Type
(
TYPE_COUNTER
)
then
return
end
Duel
.
Hint
(
HINT_CARD
,
0
,
32296881
)
Duel
.
Hint
(
HINT_CARD
,
0
,
32296881
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
...
...
c49905576.lua
View file @
88c09bfb
...
@@ -10,7 +10,7 @@ function c49905576.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c49905576.initial_effect(c)
end
end
function
c49905576
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c49905576
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
re
:
GetHandler
():
Is
Type
(
TYPE_COUNTER
)
or
not
c
:
IsLocation
(
LOCATION_MZONE
)
or
not
c
:
IsFaceup
()
then
return
end
if
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
or
not
re
:
IsActive
Type
(
TYPE_COUNTER
)
or
not
c
:
IsLocation
(
LOCATION_MZONE
)
or
not
c
:
IsFaceup
()
then
return
end
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
if
not
Duel
.
IsEnvironment
(
56433456
)
then
return
end
if
not
Duel
.
IsEnvironment
(
56433456
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
c65282484.lua
View file @
88c09bfb
...
@@ -44,7 +44,7 @@ function c65282484.chop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c65282484.chop1(e,tp,eg,ep,ev,re,r,rp)
e
:
GetLabelObject
():
SetLabel
(
0
)
e
:
GetLabelObject
():
SetLabel
(
0
)
end
end
function
c65282484
.
chop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65282484
.
chop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
rp
~=
tp
or
not
re
:
IsActiveType
(
TYPE_COUNTER
)
then
return
end
if
rp
~=
tp
or
not
re
:
Is
HasType
(
EFFECT_TYPE_ACTIVATE
)
or
not
re
:
Is
ActiveType
(
TYPE_COUNTER
)
then
return
end
e
:
GetLabelObject
():
SetLabel
(
1
)
e
:
GetLabelObject
():
SetLabel
(
1
)
end
end
function
c65282484
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65282484
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c67468948.lua
View file @
88c09bfb
...
@@ -12,7 +12,7 @@ function c67468948.filter(c)
...
@@ -12,7 +12,7 @@ function c67468948.filter(c)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAbleToHand
()
end
end
function
c67468948
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c67468948
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
GetHandler
():
Is
Type
(
TYPE_COUNTER
)
then
return
end
if
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
or
not
re
:
IsActive
Type
(
TYPE_COUNTER
)
then
return
end
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
g
=
Duel
.
GetMatchingGroup
(
c67468948
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c67468948
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
if
g
:
GetCount
()
<
2
then
return
end
if
g
:
GetCount
()
<
2
then
return
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