Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
6ca5ec23
Commit
6ca5ec23
authored
Jun 03, 2015
by
Tianchenglipu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c59057152.lua
parent
185ee22c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
script/c59057152.lua
script/c59057152.lua
+23
-23
No files found.
script/c59057152.lua
View file @
6ca5ec23
--聖騎士モルドレッド
function
c59057152
.
initial_effect
(
c
)
--
Attribute Dark
--
normal monster
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetCode
(
EFFECT_
CHANGE
_TYPE
)
e1
:
SetCode
(
EFFECT_
ADD
_TYPE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c59057152
.
eqcon1
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
)
c
:
RegisterEffect
(
e1
)
--Attribute Dark
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetCode
(
EFFECT_CHANGE_ATTRIBUTE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c59057152
.
eqcon2
)
e2
:
SetValue
(
ATTRIBUTE_DARK
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_REMOVE_TYPE
)
e2
:
SetValue
(
TYPE_EFFECT
)
c
:
RegisterEffect
(
e2
)
--Attribute Dark
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetCode
(
EFFECT_
UPDATE_LEVEL
)
e3
:
SetCode
(
EFFECT_
CHANGE_ATTRIBUTE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
c59057152
.
eqcon2
)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
ATTRIBUTE_DARK
)
c
:
RegisterEffect
(
e3
)
--spsummon
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
59057152
,
0
))
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c59057152
.
spcon
)
e4
:
SetTarget
(
c59057152
.
sptg
)
e4
:
SetOperation
(
c59057152
.
spop
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e4
:
SetValue
(
1
)
c
:
RegisterEffect
(
e4
)
--spsummon
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
59057152
,
0
))
e5
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCountLimit
(
1
)
e5
:
SetCondition
(
c59057152
.
spcon
)
e5
:
SetTarget
(
c59057152
.
sptg
)
e5
:
SetOperation
(
c59057152
.
spop
)
c
:
RegisterEffect
(
e5
)
end
function
c59057152
.
eqcon1
(
e
)
local
eg
=
e
:
GetHandler
():
GetEquipGroup
()
...
...
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