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
19850028
Commit
19850028
authored
Apr 26, 2019
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
af03594a
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
8 deletions
+10
-8
c29719112.lua
c29719112.lua
+4
-4
c3113667.lua
c3113667.lua
+1
-1
c37440988.lua
c37440988.lua
+1
-1
c47963370.lua
c47963370.lua
+1
-0
c50548657.lua
c50548657.lua
+1
-1
c57288708.lua
c57288708.lua
+1
-1
c64178424.lua
c64178424.lua
+1
-0
No files found.
c29719112.lua
View file @
19850028
...
@@ -22,7 +22,7 @@ function c29719112.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c29719112.initial_effect(c)
--to hand
--to hand
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
29719112
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
29719112
,
1
))
e3
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_SEARCH
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e3
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
...
@@ -104,11 +104,11 @@ function c29719112.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -104,11 +104,11 @@ function c29719112.spop(e,tp,eg,ep,ev,re,r,rp)
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
end
end
end
end
function
c29719112
.
cfilter
(
c
,
e
,
tp
)
function
c29719112
.
cfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsReason
(
REASON_BATTLE
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
GetPreviousControler
()
==
tp
end
end
function
c29719112
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c29719112
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c29719112
.
cfilter
,
1
,
nil
,
e
,
tp
)
return
eg
:
IsExists
(
c29719112
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
c29719112
.
thfilter
(
c
)
function
c29719112
.
thfilter
(
c
)
return
c
:
IsCode
(
37630732
)
and
c
:
IsAbleToHand
()
return
c
:
IsCode
(
37630732
)
and
c
:
IsAbleToHand
()
...
...
c3113667.lua
View file @
19850028
...
@@ -56,7 +56,7 @@ end
...
@@ -56,7 +56,7 @@ end
function
c3113667
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c3113667
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
local
bc
=
tc
:
GetBattleTarget
()
local
bc
=
tc
:
GetBattleTarget
()
return
tc
:
GetPreviousControler
()
~=
tp
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
return
tc
:
GetPreviousControler
()
~=
tp
and
bc
:
IsControler
(
tp
)
and
bc
:
GetOriginalAttribute
()
==
ATTRIBUTE_DARK
and
bc
:
GetOriginalRace
()
==
RACE_MACHINE
and
bc
:
IsControler
(
tp
)
and
bc
:
GetOriginalAttribute
()
==
ATTRIBUTE_DARK
and
bc
:
GetOriginalRace
()
==
RACE_MACHINE
end
end
function
c3113667
.
cfilter
(
c
)
function
c3113667
.
cfilter
(
c
)
...
...
c37440988.lua
View file @
19850028
...
@@ -43,7 +43,7 @@ function c37440988.initial_effect(c)
...
@@ -43,7 +43,7 @@ function c37440988.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c37440988
.
hspfilter
(
c
,
tp
,
sc
)
function
c37440988
.
hspfilter
(
c
,
tp
,
sc
)
return
c
:
IsSetCard
(
0x2034
)
and
c
:
IsLevel
(
10
)
and
c
:
IsControler
(
tp
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sc
,
c
)
>
0
return
c
:
IsSetCard
(
0x2034
)
and
c
:
IsLevel
(
10
)
and
c
:
IsControler
(
tp
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
s
c
)
>
0
end
end
function
c37440988
.
hspcon
(
e
,
c
)
function
c37440988
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
c47963370.lua
View file @
19850028
...
@@ -33,6 +33,7 @@ function c47963370.initial_effect(c)
...
@@ -33,6 +33,7 @@ function c47963370.initial_effect(c)
e3
:
SetOperation
(
c47963370
.
spop
)
e3
:
SetOperation
(
c47963370
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c47963370
.
card_code_list
=
{
46986414
}
function
c47963370
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c47963370
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
end
...
...
c50548657.lua
View file @
19850028
...
@@ -31,7 +31,7 @@ function c50548657.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -31,7 +31,7 @@ function c50548657.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c50548657
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c50548657
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
end
end
function
c50548657
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c50548657
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
c57288708.lua
View file @
19850028
...
@@ -28,7 +28,7 @@ function c57288708.initial_effect(c)
...
@@ -28,7 +28,7 @@ function c57288708.initial_effect(c)
--tohand
--tohand
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
57288708
,
2
))
e3
:
SetDescription
(
aux
.
Stringid
(
57288708
,
2
))
e3
:
SetCategory
(
CATEGORY_SEARCH
)
e3
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_
SEARCH
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
,
57288709
)
e3
:
SetCountLimit
(
1
,
57288709
)
...
...
c64178424.lua
View file @
19850028
...
@@ -67,6 +67,7 @@ function c64178424.sptg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -67,6 +67,7 @@ function c64178424.sptg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
c64178424
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64178424
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
local
ft
=
math.min
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
),
tc
:
GetLink
())
local
ft
=
math.min
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
),
tc
:
GetLink
())
if
ft
<=
0
then
return
end
if
ft
<=
0
then
return
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
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