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
9f1b09c2
Commit
9f1b09c2
authored
Apr 16, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Relinquished
parent
24e6fe38
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
26 deletions
+22
-26
c63519819.lua
c63519819.lua
+8
-10
c64631466.lua
c64631466.lua
+14
-16
No files found.
c63519819.lua
View file @
9f1b09c2
...
@@ -46,16 +46,6 @@ function c63519819.initial_effect(c)
...
@@ -46,16 +46,6 @@ function c63519819.initial_effect(c)
e5
:
SetValue
(
c63519819
.
defval
)
e5
:
SetValue
(
c63519819
.
defval
)
e5
:
SetLabelObject
(
e1
)
e5
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
--substitute
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
EFFECT_DESTROY_SUBSTITUTE
)
e6
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCondition
(
c63519819
.
adcon
)
e6
:
SetValue
(
c63519819
.
repval
)
e6
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e6
)
end
end
function
c63519819
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c63519819
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -89,6 +79,14 @@ function c63519819.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,6 +79,14 @@ function c63519819.eqop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetValue
(
c63519819
.
eqlimit
)
e1
:
SetValue
(
c63519819
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
--substitute
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetCode
(
EFFECT_DESTROY_SUBSTITUTE
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetValue
(
c63519819
.
repval
)
tc
:
RegisterEffect
(
e2
)
else
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
else
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
end
end
end
end
...
...
c64631466.lua
View file @
9f1b09c2
...
@@ -32,26 +32,16 @@ function c64631466.initial_effect(c)
...
@@ -32,26 +32,16 @@ function c64631466.initial_effect(c)
e3
:
SetValue
(
c64631466
.
defval
)
e3
:
SetValue
(
c64631466
.
defval
)
e3
:
SetLabelObject
(
e1
)
e3
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--
substitut
e
--
damag
e
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_
SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
Set
Code
(
EFFECT_DESTROY_SUBSTITUTE
)
e4
:
Set
Property
(
EFFECT_FLAG_AVAILABLE_BD
)
e4
:
Set
Property
(
EFFECT_FLAG_SINGLE_RAN
GE
)
e4
:
Set
Code
(
EVENT_DAMA
GE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
c64631466
.
ad
con
)
e4
:
SetCondition
(
c64631466
.
dam
con
)
e4
:
Set
Value
(
c64631466
.
repval
)
e4
:
Set
Operation
(
c64631466
.
damop
)
e4
:
SetLabelObject
(
e1
)
e4
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--damage
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetProperty
(
EFFECT_FLAG_AVAILABLE_BD
)
e5
:
SetCode
(
EVENT_DAMAGE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCondition
(
c64631466
.
damcon
)
e5
:
SetOperation
(
c64631466
.
damop
)
e5
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e5
)
end
end
function
c64631466
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64631466
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -85,6 +75,14 @@ function c64631466.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,6 +75,14 @@ function c64631466.eqop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetValue
(
c64631466
.
eqlimit
)
e1
:
SetValue
(
c64631466
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
--substitute
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetCode
(
EFFECT_DESTROY_SUBSTITUTE
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetValue
(
c64631466
.
repval
)
tc
:
RegisterEffect
(
e2
)
else
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
else
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
end
end
end
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