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
087869a2
Commit
087869a2
authored
Nov 19, 2015
by
Tianchenglipu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c90885155.lua
parent
fb4a1623
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
46 deletions
+41
-46
c90885155.lua
c90885155.lua
+41
-46
No files found.
c90885155.lua
View file @
087869a2
--クリフォート・シェル
function
c90885155
.
initial_effect
(
c
)
--pendulum summon
aux
.
AddPendulumProcedur
e
(
c
)
--
Activate
aux
.
EnablePendulumAttribut
e
(
c
)
--
splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetCondition
(
aux
.
nfbdncon
)
e1
:
SetTarget
(
c90885155
.
splimit
)
c
:
RegisterEffect
(
e1
)
--
splimit
--
atk down
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
Set
TargetRange
(
1
,
0
)
e2
:
Set
Condition
(
aux
.
nfbdncon
)
e2
:
Set
Target
(
c90885155
.
splimit
)
e2
:
Set
Code
(
EFFECT_UPDATE_ATTACK
)
e2
:
Set
TargetRange
(
0
,
LOCATION_MZONE
)
e2
:
Set
Value
(
-
300
)
c
:
RegisterEffect
(
e2
)
--
atk down
--
summon with no tribute
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
Set
Type
(
EFFECT_TYPE_FIELD
)
e3
:
Set
Range
(
LOCATION_PZON
E
)
e3
:
Set
Code
(
EFFECT_UPDATE_ATTACK
)
e3
:
Set
TargetRange
(
0
,
LOCATION_MZONE
)
e3
:
Set
Value
(
-
300
)
e3
:
Set
Description
(
aux
.
Stringid
(
90885155
,
0
)
)
e3
:
Set
Type
(
EFFECT_TYPE_SINGL
E
)
e3
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
Set
Code
(
EFFECT_SUMMON_PROC
)
e3
:
Set
Condition
(
c90885155
.
ntcon
)
c
:
RegisterEffect
(
e3
)
--
summon with no tribute
--
change level
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
90885155
,
0
))
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e4
:
SetCode
(
EFFECT_SUMMON_PROC
)
e4
:
SetCondition
(
c90885155
.
ntcon
)
e4
:
SetCode
(
EFFECT_SUMMON_COST
)
e4
:
SetOperation
(
c90885155
.
lvop
)
c
:
RegisterEffect
(
e4
)
--change level
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCode
(
EFFECT_SUMMON_COST
)
e5
:
SetOperation
(
c90885155
.
lvop
)
e5
:
SetCode
(
EFFECT_S
PS
UMMON_COST
)
e5
:
SetOperation
(
c90885155
.
lvop
2
)
c
:
RegisterEffect
(
e5
)
--immune
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
EFFECT_SPSUMMON_COST
)
e6
:
SetOperation
(
c90885155
.
lvop2
)
e6
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e6
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_UNCOPYABLE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCondition
(
c90885155
.
immcon
)
e6
:
SetValue
(
aux
.
qlifilter
)
c
:
RegisterEffect
(
e6
)
--
immune
--
effect
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e7
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_UNCOPYABLE
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetCondition
(
c90885155
.
immcon
)
e7
:
SetValue
(
aux
.
qlifilter
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e7
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e7
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e7
:
SetCondition
(
c90885155
.
effcon
)
e7
:
SetOperation
(
c90885155
.
effop
)
c
:
RegisterEffect
(
e7
)
--
effect
--
tribute check
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e8
:
SetCode
(
E
VENT_SUMMON_SUCCESS
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
)
e8
:
SetCode
(
E
FFECT_MATERIAL_CHECK
)
e8
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e8
:
Set
Condition
(
c90885155
.
effcon
)
e8
:
Set
Operation
(
c90885155
.
effop
)
e8
:
Set
Value
(
c90885155
.
valcheck
)
e8
:
Set
LabelObject
(
e7
)
c
:
RegisterEffect
(
e8
)
--tribute check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e9
:
SetValue
(
c90885155
.
valcheck
)
e9
:
SetLabelObject
(
e8
)
c
:
RegisterEffect
(
e9
)
end
function
c90885155
.
splimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0xaa
)
...
...
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