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
Reinen
ygopro-scripts
Commits
70c80054
Commit
70c80054
authored
Apr 11, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cfd185a7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
54 additions
and
18 deletions
+54
-18
c10755153.lua
c10755153.lua
+9
-3
c46037213.lua
c46037213.lua
+9
-3
c47150851.lua
c47150851.lua
+9
-3
c73544866.lua
c73544866.lua
+9
-3
c74367458.lua
c74367458.lua
+9
-3
c9633505.lua
c9633505.lua
+9
-3
No files found.
c10755153.lua
View file @
70c80054
...
...
@@ -5,13 +5,16 @@ function c10755153.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e1
:
SetCondition
(
c10755153
.
sum
limit
)
e1
:
SetCondition
(
c10755153
.
sum
con
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c10755153
.
sumlimit
)
c
:
RegisterEffect
(
e3
)
--destroy
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -28,9 +31,12 @@ end
function
c10755153
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
95638658
)
end
function
c10755153
.
sum
limit
(
e
)
function
c10755153
.
sum
con
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c10755153
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c10755153
.
sumlimit
(
e
,
se
,
sp
,
st
,
pos
,
tp
)
return
not
Duel
.
IsExistingMatchingCard
(
c10755153
.
cfilter
,
sp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c10755153
.
costfilter
(
c
,
ec
)
return
c
:
IsFaceup
()
and
c
:
GetEquipTarget
()
==
ec
and
c
:
IsAbleToGraveAsCost
()
end
...
...
c46037213.lua
View file @
70c80054
...
...
@@ -5,13 +5,16 @@ function c46037213.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e1
:
SetCondition
(
c46037213
.
sum
limit
)
e1
:
SetCondition
(
c46037213
.
sum
con
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c46037213
.
sumlimit
)
c
:
RegisterEffect
(
e3
)
--spsummon
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -27,9 +30,12 @@ end
function
c46037213
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
21900719
)
end
function
c46037213
.
sum
limit
(
e
)
function
c46037213
.
sum
con
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c46037213
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c46037213
.
sumlimit
(
e
,
se
,
sp
,
st
,
pos
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c46037213
.
cfilter
,
sp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c46037213
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
end
...
...
c47150851.lua
View file @
70c80054
...
...
@@ -5,13 +5,16 @@ function c47150851.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e1
:
SetCondition
(
c47150851
.
sum
limit
)
e1
:
SetCondition
(
c47150851
.
sum
con
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c47150851
.
sumlimit
)
c
:
RegisterEffect
(
e3
)
--spsummon
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -25,9 +28,12 @@ end
function
c47150851
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
32022366
)
end
function
c47150851
.
sum
limit
(
e
)
function
c47150851
.
sum
con
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c47150851
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c47150851
.
sumlimit
(
e
,
se
,
sp
,
st
,
pos
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c47150851
.
cfilter
,
sp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c47150851
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
...
...
c73544866.lua
View file @
70c80054
...
...
@@ -5,13 +5,16 @@ function c73544866.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e1
:
SetCondition
(
c73544866
.
sum
limit
)
e1
:
SetCondition
(
c73544866
.
sum
con
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c73544866
.
sumlimit
)
c
:
RegisterEffect
(
e3
)
--negate
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -32,9 +35,12 @@ end
function
c73544866
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
68427465
)
end
function
c73544866
.
sum
limit
(
e
)
function
c73544866
.
sum
con
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c73544866
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c73544866
.
sumlimit
(
e
,
se
,
sp
,
st
,
pos
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c73544866
.
cfilter
,
sp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c73544866
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
...
...
c74367458.lua
View file @
70c80054
...
...
@@ -5,13 +5,16 @@ function c74367458.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e1
:
SetCondition
(
c74367458
.
sum
limit
)
e1
:
SetCondition
(
c74367458
.
sum
con
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c74367458
.
sumlimit
)
c
:
RegisterEffect
(
e3
)
--equip
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -30,9 +33,12 @@ end
function
c74367458
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
69243953
)
end
function
c74367458
.
sum
limit
(
e
)
function
c74367458
.
sum
con
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c74367458
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c74367458
.
sumlimit
(
e
,
se
,
sp
,
st
,
pos
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c74367458
.
cfilter
,
sp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c74367458
.
filter
(
c
,
ec
)
return
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
CheckEquipTarget
(
ec
)
end
...
...
c9633505.lua
View file @
70c80054
...
...
@@ -5,13 +5,16 @@ function c9633505.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e1
:
SetCondition
(
c9633505
.
sum
limit
)
e1
:
SetCondition
(
c9633505
.
sum
con
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c9633505
.
sumlimit
)
c
:
RegisterEffect
(
e3
)
--immune spell
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -32,9 +35,12 @@ end
function
c9633505
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
95515060
)
end
function
c9633505
.
sum
limit
(
e
)
function
c9633505
.
sum
con
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c9633505
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c9633505
.
sumlimit
(
e
,
se
,
sp
,
st
,
pos
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c9633505
.
cfilter
,
sp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c9633505
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_SPELL
)
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