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
6ea4b5dc
Commit
6ea4b5dc
authored
Nov 19, 2015
by
Tianchenglipu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c78274190.lua
parent
47eb6fca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
39 deletions
+34
-39
c78274190.lua
c78274190.lua
+34
-39
No files found.
c78274190.lua
View file @
6ea4b5dc
--超重輝将サン-5
--超重輝将サン-5
function
c78274190
.
initial_effect
(
c
)
function
c78274190
.
initial_effect
(
c
)
--pendulum summon
--pendulum summon
aux
.
AddPendulumProcedur
e
(
c
)
aux
.
EnablePendulumAttribut
e
(
c
)
--
Activat
e
--
scal
e
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EFFECT_CHANGE_LSCALE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCondition
(
c78274190
.
sccon
)
e1
:
SetValue
(
4
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--scale
local
e2
=
e1
:
Clone
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCode
(
EFFECT_CHANGE_RSCALE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_CHANGE_LSCALE
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCondition
(
c78274190
.
sccon
)
e2
:
SetValue
(
4
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_CHANGE_RSCALE
)
c
:
RegisterEffect
(
e3
)
--chain attack
--chain attack
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
78274190
,
0
))
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetRange
(
LOCATION_PZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c78274190
.
cacon
)
e3
:
SetOperation
(
c78274190
.
caop
)
c
:
RegisterEffect
(
e3
)
--draw
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
78274190
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
78274190
,
1
))
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCategory
(
CATEGORY_DRAW
)
e4
:
SetCode
(
EVENT_BATTLED
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_PZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCountLimit
(
1
,
78274190
)
e4
:
SetCondition
(
c78274190
.
cacon
)
e4
:
SetCondition
(
c78274190
.
condition
)
e4
:
SetOperation
(
c78274190
.
caop
)
e4
:
SetCost
(
c78274190
.
cost
)
e4
:
SetTarget
(
c78274190
.
target
)
e4
:
SetOperation
(
c78274190
.
operation
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--
draw
--
add setcode
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
78274190
,
1
))
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCategory
(
CATEGORY_DRAW
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetCode
(
EFFECT_ADD_SETCODE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetValue
(
0x9a
)
e5
:
SetCountLimit
(
1
,
78274190
)
e5
:
SetCondition
(
c78274190
.
condition
)
e5
:
SetCost
(
c78274190
.
cost
)
e5
:
SetTarget
(
c78274190
.
target
)
e5
:
SetOperation
(
c78274190
.
operation
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
--add setcode
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e6
:
SetCode
(
EFFECT_ADD_SETCODE
)
e6
:
SetValue
(
0x9a
)
c
:
RegisterEffect
(
e6
)
end
end
function
c78274190
.
sccon
(
e
)
function
c78274190
.
sccon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
...
...
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