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
5af5d593
Commit
5af5d593
authored
Nov 19, 2015
by
Tianchenglipu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c95401059.lua
parent
7889a6b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
26 deletions
+21
-26
c95401059.lua
c95401059.lua
+21
-26
No files found.
c95401059.lua
View file @
5af5d593
--オルシャドール-セフィラルーツ
--オルシャドール-セフィラルーツ
function
c95401059
.
initial_effect
(
c
)
function
c95401059
.
initial_effect
(
c
)
--pendulum summon
--pendulum summon
aux
.
AddPendulumProcedur
e
(
c
)
aux
.
EnablePendulumAttribut
e
(
c
)
--
Activate
--
splimit
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
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c95401059
.
splimit
)
e1
:
SetCondition
(
aux
.
nfbdncon
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--sp
limit
--sp
summon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetCountLimit
(
1
,
95401059
)
e2
:
SetTarget
(
c95401059
.
splimit
)
e2
:
SetCondition
(
c95401059
.
condition1
)
e2
:
SetCondition
(
aux
.
nfbdncon
)
e2
:
SetTarget
(
c95401059
.
target
)
e2
:
SetOperation
(
c95401059
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--spsummon
local
e3
=
e2
:
Clone
()
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCondition
(
aux
.
TRUE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCountLimit
(
1
,
95401059
)
e3
:
SetCondition
(
c95401059
.
condition1
)
e3
:
SetTarget
(
c95401059
.
target
)
e3
:
SetOperation
(
c95401059
.
operation
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EVENT_TO_GRAVE
)
e4
:
SetCondition
(
aux
.
TRUE
)
c
:
RegisterEffect
(
e4
)
end
end
function
c95401059
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
function
c95401059
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
if
c
:
IsSetCard
(
0x9d
)
or
c
:
IsSetCard
(
0xc4
)
then
return
false
end
if
c
:
IsSetCard
(
0x9d
)
or
c
:
IsSetCard
(
0xc4
)
then
return
false
end
...
...
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