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
80609766
Commit
80609766
authored
Jul 21, 2020
by
wind2009
Committed by
GitHub
Jul 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix freechain activation of Golden Land Traps (#1450)
parent
e845cf31
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
6 deletions
+21
-6
c20590515.lua
c20590515.lua
+7
-2
c67007102.lua
c67007102.lua
+7
-2
c93191801.lua
c93191801.lua
+7
-2
No files found.
c20590515.lua
View file @
80609766
...
...
@@ -14,10 +14,12 @@ function c20590515.initial_effect(c)
--set
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
20590515
,
1
))
e2
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER
_O
)
e2
:
SetCode
(
EVENT_
PHASE
+
PHASE_END
)
e2
:
SetType
(
EFFECT_TYPE_
QUICK
_O
)
e2
:
SetCode
(
EVENT_
FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCondition
(
c20590515
.
setcon
)
e2
:
SetCountLimit
(
1
,
20590515
)
e2
:
SetHintTiming
(
TIMING_END_PHASE
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
c20590515
.
settg
)
e2
:
SetOperation
(
c20590515
.
setop
)
...
...
@@ -54,6 +56,9 @@ end
function
c20590515
.
setfilter
(
c
)
return
c
:
IsSetCard
(
0x2142
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSSetable
()
end
function
c20590515
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_END
end
function
c20590515
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c20590515
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
end
...
...
c67007102.lua
View file @
80609766
...
...
@@ -14,10 +14,12 @@ function c67007102.initial_effect(c)
--set
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
67007102
,
1
))
e2
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER
_O
)
e2
:
SetCode
(
EVENT_
PHASE
+
PHASE_END
)
e2
:
SetType
(
EFFECT_TYPE_
QUICK
_O
)
e2
:
SetCode
(
EVENT_
FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCondition
(
c67007102
.
setcon
)
e2
:
SetCountLimit
(
1
,
67007102
)
e2
:
SetHintTiming
(
TIMING_END_PHASE
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
c67007102
.
settg
)
e2
:
SetOperation
(
c67007102
.
setop
)
...
...
@@ -61,6 +63,9 @@ end
function
c67007102
.
setfilter
(
c
)
return
c
:
IsSetCard
(
0x2142
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSSetable
()
end
function
c67007102
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_END
end
function
c67007102
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c67007102
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
end
...
...
c93191801.lua
View file @
80609766
...
...
@@ -14,10 +14,12 @@ function c93191801.initial_effect(c)
--set
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
93191801
,
1
))
e2
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER
_O
)
e2
:
SetCode
(
EVENT_
PHASE
+
PHASE_END
)
e2
:
SetType
(
EFFECT_TYPE_
QUICK
_O
)
e2
:
SetCode
(
EVENT_
FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCondition
(
c93191801
.
setcon
)
e2
:
SetCountLimit
(
1
,
93191801
)
e2
:
SetHintTiming
(
TIMING_END_PHASE
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
c93191801
.
settg
)
e2
:
SetOperation
(
c93191801
.
setop
)
...
...
@@ -53,6 +55,9 @@ end
function
c93191801
.
setfilter
(
c
)
return
c
:
IsSetCard
(
0x2142
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSSetable
()
end
function
c93191801
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_END
end
function
c93191801
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c93191801
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
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