Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
67327a25
Commit
67327a25
authored
Jun 18, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e0eafc84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
script/c101006033.lua
script/c101006033.lua
+12
-11
No files found.
script/c101006033.lua
View file @
67327a25
...
...
@@ -20,14 +20,14 @@ function c101006033.initial_effect(c)
e2
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e2
)
--eff gain
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
101006033
,
1
))
e
2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
2
:
SetRange
(
LOCATION_MZONE
)
e
2
:
SetCountLimit
(
1
)
e
2
:
SetCost
(
c101006033
.
effcost
)
e
2
:
SetOperation
(
c101006033
.
effop
)
c
:
RegisterEffect
(
e
2
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetDescription
(
aux
.
Stringid
(
101006033
,
1
))
e
3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
3
:
SetRange
(
LOCATION_MZONE
)
e
3
:
SetCountLimit
(
1
)
e
3
:
SetCost
(
c101006033
.
effcost
)
e
3
:
SetOperation
(
c101006033
.
effop
)
c
:
RegisterEffect
(
e
3
)
end
function
c101006033
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_RITUAL
)
and
e
:
GetLabel
()
==
1
...
...
@@ -41,12 +41,13 @@ function c101006033.desop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSummonType
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
SUMMON_TYPE_SPECIAL
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
function
c101006033
.
valfilter
(
c
)
return
c
:
IsCode
(
101006033
)
and
c
:
Is
PreviousLocation
(
LOCATION_MZONE
)
function
c101006033
.
valfilter
(
c
,
tp
)
return
c
:
IsCode
(
101006033
)
and
c
:
Is
Location
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
end
function
c101006033
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
c101006033
.
valfilter
,
1
,
nil
)
then
local
tp
=
c
:
GetControler
()
if
g
:
IsExists
(
c101006033
.
valfilter
,
1
,
nil
,
tp
)
then
e
:
GetLabelObject
():
SetLabel
(
1
)
else
e
:
GetLabelObject
():
SetLabel
(
0
)
...
...
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