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
170f44d5
Commit
170f44d5
authored
Apr 18, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
723ebefa
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
5 deletions
+10
-5
c3072077.lua
c3072077.lua
+1
-0
c48092532.lua
c48092532.lua
+1
-1
c69529567.lua
c69529567.lua
+1
-0
c71628381.lua
c71628381.lua
+1
-0
c76263644.lua
c76263644.lua
+5
-4
c80513550.lua
c80513550.lua
+1
-0
No files found.
c3072077.lua
View file @
170f44d5
...
...
@@ -7,6 +7,7 @@ function c3072077.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c3072077
.
condition
)
e1
:
SetCost
(
c3072077
.
cost
)
e1
:
SetTarget
(
c3072077
.
target
)
...
...
c48092532.lua
View file @
170f44d5
...
...
@@ -33,7 +33,7 @@ end
function
c48092532
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
48092533
)
==
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
e
:
GetHandler
():
RegisterFlagEffect
(
48092533
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
48092533
,
RESET_
EVENT
+
0x4760000
+
RESET_
PHASE
+
PHASE_END
,
0
,
1
)
end
function
c48092532
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c69529567.lua
View file @
170f44d5
...
...
@@ -17,6 +17,7 @@ function c69529567.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c69529567
.
spcon
)
e2
:
SetTarget
(
c69529567
.
sptg
)
e2
:
SetOperation
(
c69529567
.
spop
)
...
...
c71628381.lua
View file @
170f44d5
...
...
@@ -10,6 +10,7 @@ function c71628381.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c71628381
.
spcon
)
e1
:
SetTarget
(
c71628381
.
sptg
)
e1
:
SetOperation
(
c71628381
.
spop
)
...
...
c76263644.lua
View file @
170f44d5
...
...
@@ -17,11 +17,12 @@ function c76263644.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--Special Summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
76263644
,
1
))
e3
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_FIELD
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
Set
Description
(
aux
.
Stringid
(
76263644
,
1
)
)
e3
:
Set
CountLimit
(
1
)
e3
:
SetCondition
(
c76263644
.
spcon
)
e3
:
SetCost
(
c76263644
.
spcost
)
e3
:
SetTarget
(
c76263644
.
sptg
)
...
...
@@ -59,8 +60,7 @@ function c76263644.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c76263644
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c76263644
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c76263644
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
@@ -72,7 +72,8 @@ function c76263644.spfilter(c)
return
c
:
IsSetCard
(
0xc008
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c76263644
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c76263644
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c80513550.lua
View file @
170f44d5
...
...
@@ -26,6 +26,7 @@ function c80513550.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c80513550
.
spcon
)
e3
:
SetCost
(
c80513550
.
spcost
)
e3
:
SetTarget
(
c80513550
.
sptg
)
...
...
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