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
a9b0a071
Commit
a9b0a071
authored
Aug 23, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
22764300
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
c39064822.lua
c39064822.lua
+4
-3
c81263643.lua
c81263643.lua
+1
-1
No files found.
c39064822.lua
View file @
a9b0a071
...
@@ -52,12 +52,13 @@ function c39064822.sumop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,12 +52,13 @@ function c39064822.sumop(e,tp,eg,ep,ev,re,r,rp)
end
end
if
Duel
.
GetFlagEffect
(
tp
,
39064822
)
~=
0
then
return
end
if
Duel
.
GetFlagEffect
(
tp
,
39064822
)
~=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
fid
=
c
:
GetFieldID
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
39064822
,
2
))
e1
:
SetDescription
(
aux
.
Stringid
(
39064822
,
2
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetTargetRange
(
LOCATION_HAND
,
0
)
e1
:
SetTargetRange
(
LOCATION_HAND
,
0
)
e1
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e1
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e1
:
SetLabel
Object
(
c
)
e1
:
SetLabel
(
fid
)
e1
:
SetCondition
(
c39064822
.
sumcon2
)
e1
:
SetCondition
(
c39064822
.
sumcon2
)
e1
:
SetValue
(
c39064822
.
sumval
)
e1
:
SetValue
(
c39064822
.
sumval
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
@@ -65,10 +66,10 @@ function c39064822.sumop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,10 +66,10 @@ function c39064822.sumop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterFlagEffect
(
tp
,
39064822
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
39064822
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c39064822
.
sumcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c39064822
.
sumcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
Get
LabelObject
():
IsLocation
(
LOCATION_MZONE
)
return
e
:
Get
Handler
():
GetFieldID
()
==
e
:
GetLabel
(
)
end
end
function
c39064822
.
sumval
(
e
,
c
)
function
c39064822
.
sumval
(
e
,
c
)
local
c
=
e
:
Get
LabelObject
()
local
c
=
e
:
Get
Handler
()
local
sumzone
=
c
:
GetLinkedZone
()
local
sumzone
=
c
:
GetLinkedZone
()
local
relzone
=-
bit
.
lshift
(
1
,
c
:
GetSequence
())
local
relzone
=-
bit
.
lshift
(
1
,
c
:
GetSequence
())
return
0
,
sumzone
,
relzone
return
0
,
sumzone
,
relzone
...
...
c81263643.lua
View file @
a9b0a071
...
@@ -5,7 +5,7 @@ function c81263643.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c81263643.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
81263643
)
e1
:
SetCountLimit
(
1
,
81263643
)
e1
:
SetCost
(
c81263643
.
cost
)
e1
:
SetCost
(
c81263643
.
cost
)
e1
:
SetTarget
(
c81263643
.
target
)
e1
:
SetTarget
(
c81263643
.
target
)
...
...
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