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
2d9a0cc9
Commit
2d9a0cc9
authored
Sep 07, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
3b095f5c
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
18 additions
and
87 deletions
+18
-87
c18605135.lua
c18605135.lua
+1
-5
c19089195.lua
c19089195.lua
+1
-5
c19801646.lua
c19801646.lua
+1
-5
c24128274.lua
c24128274.lua
+1
-5
c24435369.lua
c24435369.lua
+1
-5
c34302287.lua
c34302287.lua
+1
-5
c3643300.lua
c3643300.lua
+1
-5
c46955770.lua
c46955770.lua
+1
-5
c58139128.lua
c58139128.lua
+1
-5
c61397885.lua
c61397885.lua
+1
-5
c64342551.lua
c64342551.lua
+1
-5
c70000776.lua
c70000776.lua
+2
-7
c82685480.lua
c82685480.lua
+1
-5
c90337190.lua
c90337190.lua
+1
-5
c90434657.lua
c90434657.lua
+1
-5
c95614612.lua
c95614612.lua
+1
-5
c97795930.lua
c97795930.lua
+1
-5
No files found.
c18605135.lua
View file @
2d9a0cc9
...
...
@@ -24,12 +24,8 @@ function c18605135.initial_effect(c)
e3
:
SetCondition
(
c18605135
.
sdcon
)
c
:
RegisterEffect
(
e3
)
end
function
c18605135
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c18605135
.
check
()
return
Duel
.
IsExistingMatchingCard
(
c18605135
.
filter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
function
c18605135
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
c18605135
.
check
()
...
...
c19089195.lua
View file @
2d9a0cc9
...
...
@@ -52,12 +52,8 @@ function c19089195.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
c19089195
.
efilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c19089195
.
econ
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c19089195
.
efilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
function
c19089195
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsAbleToRemoveAsCost
()
...
...
c19801646.lua
View file @
2d9a0cc9
...
...
@@ -32,12 +32,8 @@ end
function
c19801646
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_MONSTER
)
and
te
:
GetOwner
()
~=
e
:
GetOwner
()
end
function
c19801646
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c19801646
.
econ
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c19801646
.
filter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
function
c19801646
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c24128274.lua
View file @
2d9a0cc9
...
...
@@ -10,12 +10,8 @@ function c24128274.initial_effect(c)
e1
:
SetValue
(
c24128274
.
efilter
)
c
:
RegisterEffect
(
e1
)
end
function
c24128274
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c24128274
.
econ
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c24128274
.
filter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
function
c24128274
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_SPELL
)
...
...
c24435369.lua
View file @
2d9a0cc9
...
...
@@ -7,10 +7,6 @@ function c24435369.initial_effect(c)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
end
function
c24435369
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c24435369
.
dircon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c24435369
.
filter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
c34302287.lua
View file @
2d9a0cc9
...
...
@@ -50,12 +50,8 @@ function c34302287.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
function
c34302287
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c34302287
.
handcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c34302287
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
function
c34302287
.
efilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_NORMAL
)
...
...
c3643300.lua
View file @
2d9a0cc9
...
...
@@ -18,12 +18,8 @@ function c3643300.initial_effect(c)
e2
:
SetCondition
(
c3643300
.
econ
)
c
:
RegisterEffect
(
e2
)
end
function
c3643300
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c3643300
.
econ
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c3643300
.
filter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
function
c3643300
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_SPELL
)
...
...
c46955770.lua
View file @
2d9a0cc9
...
...
@@ -9,12 +9,8 @@ function c46955770.initial_effect(c)
e1
:
SetValue
(
c46955770
.
efilter
)
c
:
RegisterEffect
(
e1
)
end
function
c46955770
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
47355498
)
end
function
c46955770
.
con
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c46955770
.
filter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
47355498
)
return
Duel
.
IsEnvironment
(
47355498
)
end
function
c46955770
.
efilter
(
e
,
te
)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
...
...
c58139128.lua
View file @
2d9a0cc9
...
...
@@ -48,12 +48,8 @@ function c58139128.disop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
NegateEffect
(
ev
)
end
end
function
c58139128
.
actfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
47355498
)
end
function
c58139128
.
econ
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c58139128
.
actfilter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
47355498
)
return
Duel
.
IsEnvironment
(
47355498
)
end
function
c58139128
.
efilter1
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
IsType
(
TYPE_FIELD
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
...
...
c61397885.lua
View file @
2d9a0cc9
...
...
@@ -75,12 +75,8 @@ function c61397885.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e4
)
end
end
function
c61397885
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c61397885
.
handcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c61397885
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
function
c61397885
.
efilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_NORMAL
)
...
...
c64342551.lua
View file @
2d9a0cc9
...
...
@@ -6,10 +6,6 @@ function c64342551.initial_effect(c)
e1
:
SetCondition
(
c64342551
.
dircon
)
c
:
RegisterEffect
(
e1
)
end
function
c64342551
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c64342551
.
dircon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c64342551
.
filter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
c70000776.lua
View file @
2d9a0cc9
...
...
@@ -27,19 +27,14 @@ end
function
c70000776
.
cfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x2e
)
end
function
c70000776
.
cfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
47355498
)
end
function
c70000776
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c70000776
.
cfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
and
(
Duel
.
IsExistingMatchingCard
(
c70000776
.
cfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
47355498
))
and
Duel
.
IsEnvironment
(
47355498
)
end
function
c70000776
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
not
c
:
IsSetCard
(
0x2e
)
end
function
c70000776
.
sdcon
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c70000776
.
cfilter1
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
or
(
not
Duel
.
IsExistingMatchingCard
(
c70000776
.
cfilter2
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
not
Duel
.
IsEnvironment
(
47355498
))
or
not
Duel
.
IsEnvironment
(
47355498
)
end
c82685480.lua
View file @
2d9a0cc9
...
...
@@ -13,12 +13,8 @@ function c82685480.initial_effect(c)
e1
:
SetOperation
(
c82685480
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
c82685480
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c82685480
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c82685480
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
function
c82685480
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
GetOriginalLevel
()
>=
5
...
...
c90337190.lua
View file @
2d9a0cc9
...
...
@@ -10,12 +10,8 @@ function c90337190.initial_effect(c)
e1
:
SetValue
(
c90337190
.
efilter
)
c
:
RegisterEffect
(
e1
)
end
function
c90337190
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c90337190
.
econ
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c90337190
.
filter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
function
c90337190
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_SPELL
)
...
...
c90434657.lua
View file @
2d9a0cc9
...
...
@@ -14,13 +14,9 @@ end
function
c90434657
.
cfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x2e
)
end
function
c90434657
.
cfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
47355498
)
end
function
c90434657
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsExistingMatchingCard
(
c90434657
.
cfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
or
(
not
Duel
.
IsExistingMatchingCard
(
c90434657
.
cfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
not
Duel
.
IsEnvironment
(
47355498
))
then
return
false
end
or
not
Duel
.
IsEnvironment
(
47355498
)
then
return
false
end
if
not
Duel
.
IsChainNegatable
(
ev
)
then
return
false
end
return
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
...
...
c95614612.lua
View file @
2d9a0cc9
...
...
@@ -10,12 +10,8 @@ function c95614612.initial_effect(c)
e1
:
SetValue
(
c95614612
.
efilter
)
c
:
RegisterEffect
(
e1
)
end
function
c95614612
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c95614612
.
econ
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c95614612
.
filter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
function
c95614612
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_SPELL
)
...
...
c97795930.lua
View file @
2d9a0cc9
...
...
@@ -63,12 +63,8 @@ function c97795930.winop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Win
(
tp
,
WIN_REASON_CELESTIAL_WHIRLPOOL
)
end
end
function
c97795930
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
function
c97795930
.
handcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c97795930
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
return
Duel
.
IsEnvironment
(
22702055
)
end
function
c97795930
.
repfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
...
...
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