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
ff0589b1
Commit
ff0589b1
authored
Nov 19, 2015
by
Tianchenglipu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c87475570.lua
parent
e1cc35d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
21 deletions
+16
-21
c87475570.lua
c87475570.lua
+16
-21
No files found.
c87475570.lua
View file @
ff0589b1
--宝玉の先導者
--宝玉の先導者
function
c87475570
.
initial_effect
(
c
)
function
c87475570
.
initial_effect
(
c
)
--pendulum summon
--pendulum summon
aux
.
AddPendulumProcedur
e
(
c
)
aux
.
EnablePendulumAttribut
e
(
c
)
--
Activate
--
cannot be target
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e1
:
SetTarget
(
c87475570
.
tgtg
)
e1
:
SetValue
(
aux
.
tgoval
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--
cannot be target
--
tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetDescription
(
aux
.
Stringid
(
87475570
,
0
))
e2
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTarget
(
c87475570
.
tgtg
)
e2
:
SetCost
(
c87475570
.
cost
)
e2
:
SetValue
(
aux
.
tgoval
)
e2
:
SetTarget
(
c87475570
.
target
)
e2
:
SetOperation
(
c87475570
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--tohand
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
87475570
,
0
))
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCost
(
c87475570
.
cost
)
e3
:
SetTarget
(
c87475570
.
target
)
e3
:
SetOperation
(
c87475570
.
operation
)
c
:
RegisterEffect
(
e3
)
end
end
function
c87475570
.
tgtg
(
e
,
c
)
function
c87475570
.
tgtg
(
e
,
c
)
return
c
:
IsSetCard
(
0x1034
)
or
(
c
:
IsLocation
(
LOCATION_MZONE
)
and
(
c
:
IsCode
(
79407975
)
or
c
:
IsCode
(
79856792
)))
return
c
:
IsSetCard
(
0x1034
)
or
(
c
:
IsLocation
(
LOCATION_MZONE
)
and
(
c
:
IsCode
(
79407975
)
or
c
:
IsCode
(
79856792
)))
...
...
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