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
a9c41b9d
Commit
a9c41b9d
authored
Nov 19, 2015
by
Tianchenglipu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c94415058.lua
parent
0a802d81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
35 deletions
+30
-35
c94415058.lua
c94415058.lua
+30
-35
No files found.
c94415058.lua
View file @
a9c41b9d
--星読みの魔術師
--星読みの魔術師
function
c94415058
.
initial_effect
(
c
)
function
c94415058
.
initial_effect
(
c
)
--pendulum summon
--pendulum summon
aux
.
AddPendulumProcedur
e
(
c
)
aux
.
EnablePendulumAttribut
e
(
c
)
--
Activate
--
actlimit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCondition
(
c94415058
.
actcon
)
e1
:
SetOperation
(
c94415058
.
actop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--actlimit
local
e2
=
e1
:
Clone
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCondition
(
c94415058
.
actcon
)
e2
:
SetOperation
(
c94415058
.
actop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
c
:
RegisterEffect
(
e3
)
--scale
--scale
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_CHANGE_LSCALE
)
e3
:
SetCode
(
EFFECT_CHANGE_LSCALE
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetRange
(
LOCATION_PZONE
)
e3
:
SetRange
(
LOCATION_PZONE
)
e4
:
SetCondition
(
c94415058
.
sccon
)
e3
:
SetCondition
(
c94415058
.
sccon
)
e4
:
SetValue
(
4
)
e3
:
SetValue
(
4
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_CHANGE_RSCALE
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EFFECT_CHANGE_RSCALE
)
c
:
RegisterEffect
(
e5
)
--
--
local
e
6
=
Effect
.
CreateEffect
(
c
)
local
e
5
=
Effect
.
CreateEffect
(
c
)
e
6
:
SetDescription
(
aux
.
Stringid
(
94415058
,
0
))
e
5
:
SetDescription
(
aux
.
Stringid
(
94415058
,
0
))
e
6
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
5
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e
5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e
6
:
SetCode
(
EVENT_TO_HAND
)
e
5
:
SetCode
(
EVENT_TO_HAND
)
e
6
:
SetRange
(
LOCATION_MZONE
)
e
5
:
SetRange
(
LOCATION_MZONE
)
e
6
:
SetCountLimit
(
1
)
e
5
:
SetCountLimit
(
1
)
e
6
:
SetCondition
(
c94415058
.
spcon
)
e
5
:
SetCondition
(
c94415058
.
spcon
)
e
6
:
SetTarget
(
c94415058
.
sptg
)
e
5
:
SetTarget
(
c94415058
.
sptg
)
e
6
:
SetOperation
(
c94415058
.
spop
)
e
5
:
SetOperation
(
c94415058
.
spop
)
c
:
RegisterEffect
(
e
6
)
c
:
RegisterEffect
(
e
5
)
end
end
function
c94415058
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c94415058
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetAttacker
()
local
tc
=
Duel
.
GetAttacker
()
...
...
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