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
7834a3cc
Commit
7834a3cc
authored
Aug 03, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6fc3adbf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
11 deletions
+6
-11
c29432356.lua
c29432356.lua
+1
-1
c64389297.lua
c64389297.lua
+2
-6
c95308449.lua
c95308449.lua
+3
-4
No files found.
c29432356.lua
View file @
7834a3cc
...
@@ -109,7 +109,7 @@ function c29432356.penop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -109,7 +109,7 @@ function c29432356.penop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetDescription
(
aux
.
Stringid
(
29432356
,
2
))
e3
:
SetDescription
(
aux
.
Stringid
(
29432356
,
2
))
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_BOTH_SIDE
)
e3
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_PZONE
)
e3
:
SetRange
(
LOCATION_PZONE
)
e3
:
SetCountLimit
(
1
,
29432356
)
e3
:
SetCountLimit
(
1
,
29432356
)
e3
:
SetCondition
(
c29432356
.
pencon2
)
e3
:
SetCondition
(
c29432356
.
pencon2
)
...
...
c64389297.lua
View file @
7834a3cc
...
@@ -21,9 +21,7 @@ function c64389297.initial_effect(c)
...
@@ -21,9 +21,7 @@ function c64389297.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
64389297
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
64389297
,
0
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetProperty
(
EFFECT_FLAG_BOTH_SIDE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCondition
(
c64389297
.
spcon
)
e3
:
SetCost
(
c64389297
.
spcost
)
e3
:
SetCost
(
c64389297
.
spcost
)
e3
:
SetTarget
(
c64389297
.
sptg
)
e3
:
SetTarget
(
c64389297
.
sptg
)
e3
:
SetOperation
(
c64389297
.
spop
)
e3
:
SetOperation
(
c64389297
.
spop
)
...
@@ -48,13 +46,11 @@ function c64389297.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,13 +46,11 @@ function c64389297.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Equip
(
tp
,
e
:
GetHandler
(),
tc
)
Duel
.
Equip
(
tp
,
e
:
GetHandler
(),
tc
)
end
end
end
end
function
c64389297
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetEquipTarget
():
GetControler
()
==
tp
end
function
c64389297
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c64389297
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
c
:
GetEquipTarget
()
local
tc
=
c
:
GetEquipTarget
()
if
chk
==
0
then
return
c
:
IsReleasable
()
and
tc
:
IsReleasable
()
end
if
chk
==
0
then
return
c
:
IsReleasable
()
and
tc
:
IsReleasable
()
and
(
tc
:
IsControler
(
tp
)
or
tc
:
IsHasEffect
(
EFFECT_EXTRA_RELEASE
))
end
local
g
=
Group
.
FromCards
(
c
,
tc
)
local
g
=
Group
.
FromCards
(
c
,
tc
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
...
...
c95308449.lua
View file @
7834a3cc
...
@@ -17,7 +17,6 @@ function c95308449.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -17,7 +17,6 @@ function c95308449.activate(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
Duel
.
GetFlagEffect
(
tp
,
95308449
)
~=
0
then
return
end
if
Duel
.
GetFlagEffect
(
tp
,
95308449
)
~=
0
then
return
end
Duel
.
RegisterFlagEffect
(
tp
,
95308449
,
0
,
0
,
0
)
Duel
.
RegisterFlagEffect
(
tp
,
95308449
,
0
,
0
,
0
)
c
:
SetTurnCounter
(
0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
@@ -29,9 +28,9 @@ function c95308449.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -29,9 +28,9 @@ function c95308449.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c95308449
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c95308449
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ct
=
c
:
GetTurnCounter
(
)
local
ct
=
Duel
.
GetFlagEffect
(
tp
,
95308449
)
c
t
=
ct
+
1
c
:
SetHint
(
CHINT_TURN
,
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
RegisterFlagEffect
(
tp
,
95308449
,
0
,
0
,
0
)
if
ct
==
20
then
if
ct
==
20
then
Duel
.
Win
(
tp
,
0x11
)
Duel
.
Win
(
tp
,
0x11
)
c
:
ResetFlagEffect
(
1082946
)
c
:
ResetFlagEffect
(
1082946
)
...
...
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