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
7f028eaf
Commit
7f028eaf
authored
Nov 19, 2015
by
Tianchenglipu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c65025250.lua
parent
85af0ee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
27 deletions
+22
-27
c65025250.lua
c65025250.lua
+22
-27
No files found.
c65025250.lua
View file @
7f028eaf
--妖仙獣 左鎌神柱
--妖仙獣 左鎌神柱
function
c65025250
.
initial_effect
(
c
)
function
c65025250
.
initial_effect
(
c
)
--pendulum summon
--pendulum summon
aux
.
AddPendulumProcedur
e
(
c
)
aux
.
EnablePendulumAttribut
e
(
c
)
--
Activat
e
--
destroy replac
e
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetTarget
(
c65025250
.
reptg
)
e1
:
SetValue
(
c65025250
.
repval
)
e1
:
SetOperation
(
c65025250
.
repop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--
destroy repla
ce
--
to defen
ce
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
Set
Type
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e2
:
Set
Description
(
aux
.
Stringid
(
65025250
,
0
)
)
e2
:
SetC
ode
(
EFFECT_DESTROY_REPLACE
)
e2
:
SetC
ategory
(
CATEGORY_POSITION
)
e2
:
Set
Range
(
LOCATION_PZONE
)
e2
:
Set
Type
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
Set
Target
(
c65025250
.
reptg
)
e2
:
Set
Code
(
EVENT_SUMMON_SUCCESS
)
e2
:
Set
Value
(
c65025250
.
repval
)
e2
:
Set
Target
(
c65025250
.
postg
)
e2
:
SetOperation
(
c65025250
.
rep
op
)
e2
:
SetOperation
(
c65025250
.
pos
op
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--
to defence
--
cannot be target
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
Set
Description
(
aux
.
Stringid
(
65025250
,
0
)
)
e3
:
Set
Type
(
EFFECT_TYPE_FIELD
)
e3
:
SetC
ategory
(
CATEGORY_POSITION
)
e3
:
SetC
ode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e3
:
Set
Type
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
Set
Property
(
EFFECT_FLAG_SET_AVAILABLE
)
e3
:
Set
Code
(
EVENT_SUMMON_SUCCESS
)
e3
:
Set
Range
(
LOCATION_MZONE
)
e3
:
SetTarget
(
c65025250
.
postg
)
e3
:
SetTarget
Range
(
0
,
0xff
)
e3
:
Set
Operation
(
c65025250
.
posop
)
e3
:
Set
Value
(
c65025250
.
tgtg
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--cannot be target
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e4
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTargetRange
(
0
,
0xff
)
e4
:
SetValue
(
c65025250
.
tgtg
)
c
:
RegisterEffect
(
e4
)
end
end
function
c65025250
.
filter
(
c
,
tp
)
function
c65025250
.
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
...
...
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