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
4ca38617
Commit
4ca38617
authored
Jan 21, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f6637d20
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
c29432356.lua
c29432356.lua
+2
-2
c62645025.lua
c62645025.lua
+1
-1
c69452756.lua
c69452756.lua
+1
-1
c7161742.lua
c7161742.lua
+1
-1
c76647978.lua
c76647978.lua
+1
-1
c94982447.lua
c94982447.lua
+1
-1
c97795930.lua
c97795930.lua
+1
-1
utility.lua
utility.lua
+1
-1
No files found.
c29432356.lua
View file @
4ca38617
...
@@ -166,7 +166,7 @@ function c29432356.penop1(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
...
@@ -166,7 +166,7 @@ function c29432356.penop1(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
local
tg
=
nil
local
tg
=
nil
if
og
then
if
og
then
tg
=
og
:
Filter
(
tp
,
c29432356
.
penfilter
,
nil
,
e
,
tp
,
lscale
,
rscale
)
tg
=
og
:
Filter
(
c29432356
.
penfilter
,
nil
,
e
,
tp
,
lscale
,
rscale
)
else
else
tg
=
Duel
.
GetMatchingGroup
(
c29432356
.
penfilter
,
tp
,
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
lscale
,
rscale
)
tg
=
Duel
.
GetMatchingGroup
(
c29432356
.
penfilter
,
tp
,
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
lscale
,
rscale
)
end
end
...
@@ -224,7 +224,7 @@ function c29432356.penop2(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
...
@@ -224,7 +224,7 @@ function c29432356.penop2(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
local
tg
=
nil
local
tg
=
nil
if
og
then
if
og
then
tg
=
og
:
Filter
(
tp
,
c29432356
.
penfilter
,
nil
,
e
,
tp
,
lscale
,
rscale
)
tg
=
og
:
Filter
(
c29432356
.
penfilter
,
nil
,
e
,
tp
,
lscale
,
rscale
)
else
else
tg
=
Duel
.
GetMatchingGroup
(
c29432356
.
penfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
lscale
,
rscale
)
tg
=
Duel
.
GetMatchingGroup
(
c29432356
.
penfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
lscale
,
rscale
)
end
end
...
...
c62645025.lua
View file @
4ca38617
...
@@ -20,7 +20,7 @@ function c62645025.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c62645025.initial_effect(c)
e2
:
SetCost
(
c62645025
.
drcost
)
e2
:
SetCost
(
c62645025
.
drcost
)
e2
:
SetTarget
(
c62645025
.
drtg
)
e2
:
SetTarget
(
c62645025
.
drtg
)
e2
:
SetOperation
(
c62645025
.
drop
)
e2
:
SetOperation
(
c62645025
.
drop
)
c
:
RegisterEffect
(
e
1
)
c
:
RegisterEffect
(
e
2
)
end
end
function
c62645025
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c62645025
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
return
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
...
...
c69452756.lua
View file @
4ca38617
...
@@ -9,7 +9,7 @@ function c69452756.initial_effect(c)
...
@@ -9,7 +9,7 @@ function c69452756.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--destroy
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
36970611
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
69452756
,
0
))
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
...
c7161742.lua
View file @
4ca38617
...
@@ -24,7 +24,7 @@ end
...
@@ -24,7 +24,7 @@ end
function
c7161742
.
filter
(
c
,
e
,
tp
)
function
c7161742
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x10f3
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x10f3
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c7161742
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c7161742
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c7161742
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c7161742
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
...
...
c76647978.lua
View file @
4ca38617
...
@@ -106,7 +106,7 @@ function c76647978.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -106,7 +106,7 @@ function c76647978.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
local
mg
=
tc
:
GetMaterial
()
local
mg
=
tc
:
GetMaterial
()
if
mg
:
GetCount
()
>
0
and
mg
:
GetCount
()
<=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
mg
:
GetCount
()
>
0
and
mg
:
GetCount
()
<=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
and
mg
:
IsExists
(
c76647978
.
mgfilter
,
1
,
nil
,
e
,
tp
,
tc
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
and
mg
:
IsExists
(
c76647978
.
mgfilter
,
1
,
nil
,
e
,
tp
,
tc
,
mg
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
local
sc
=
mg
:
GetFirst
()
local
sc
=
mg
:
GetFirst
()
while
sc
do
while
sc
do
if
Duel
.
SpecialSummonStep
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
Duel
.
SpecialSummonStep
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
...
...
c94982447.lua
View file @
4ca38617
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c94982447
.
initial_effect
(
c
)
function
c94982447
.
initial_effect
(
c
)
--summon with 1 tribute
--summon with 1 tribute
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
22499034
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
94982447
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
...
...
c97795930.lua
View file @
4ca38617
...
@@ -67,7 +67,7 @@ function c97795930.cfilter(c)
...
@@ -67,7 +67,7 @@ function c97795930.cfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22702055
)
end
end
function
c97795930
.
handcon
(
e
)
function
c97795930
.
handcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c97795930
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c97795930
.
c
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsEnvironment
(
22702055
)
or
Duel
.
IsEnvironment
(
22702055
)
end
end
function
c97795930
.
repfilter
(
c
,
tp
)
function
c97795930
.
repfilter
(
c
,
tp
)
...
...
utility.lua
View file @
4ca38617
...
@@ -1587,7 +1587,7 @@ function Auxiliary.PendOperation()
...
@@ -1587,7 +1587,7 @@ function Auxiliary.PendOperation()
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
local
tg
=
nil
local
tg
=
nil
if
og
then
if
og
then
tg
=
og
:
Filter
(
tp
,
Auxiliary
.
PConditionFilter
,
nil
,
e
,
tp
,
lscale
,
rscale
)
tg
=
og
:
Filter
(
Auxiliary
.
PConditionFilter
,
nil
,
e
,
tp
,
lscale
,
rscale
)
else
else
tg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
PConditionFilter
,
tp
,
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
lscale
,
rscale
)
tg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
PConditionFilter
,
tp
,
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
lscale
,
rscale
)
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