Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
List
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
wyykak
ygopro
Commits
b8e664ac
Commit
b8e664ac
authored
Jul 24, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #862 from salix5/patch
fix
parents
47066dc3
50db7e1a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
128 additions
and
32 deletions
+128
-32
script/c37991342.lua
script/c37991342.lua
+32
-8
script/c64496451.lua
script/c64496451.lua
+32
-8
script/c90885155.lua
script/c90885155.lua
+32
-8
script/c91907707.lua
script/c91907707.lua
+32
-8
No files found.
script/c37991342.lua
View file @
b8e664ac
...
...
@@ -36,15 +36,14 @@ function c37991342.initial_effect(c)
c
:
RegisterEffect
(
e4
)
--change level
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e5
:
SetCondition
(
c37991342
.
lvcon
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCode
(
EFFECT_SUMMON_COST
)
e5
:
SetOperation
(
c37991342
.
lvop
)
c
:
RegisterEffect
(
e5
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetCode
(
E
VENT_SPSUMMON_SUCCESS
)
e6
:
SetOperation
(
c37991342
.
lvop
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
E
FFECT_SPSUMMON_COST
)
e6
:
SetOperation
(
c37991342
.
lvop
2
)
c
:
RegisterEffect
(
e6
)
--immune
local
e7
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -84,14 +83,39 @@ function c37991342.lvop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c37991342
.
lvcon
)
e1
:
SetValue
(
4
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1
ff0000
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c37991342
.
lvcon
)
e2
:
SetValue
(
1800
)
e2
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e2
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e2
)
end
function
c37991342
.
lvop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
4
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
1800
)
e2
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e2
)
end
function
c37991342
.
immcon
(
e
)
...
...
script/c64496451.lua
View file @
b8e664ac
...
...
@@ -37,15 +37,14 @@ function c64496451.initial_effect(c)
c
:
RegisterEffect
(
e4
)
--change level
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e5
:
SetCondition
(
c64496451
.
lvcon
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCode
(
EFFECT_SUMMON_COST
)
e5
:
SetOperation
(
c64496451
.
lvop
)
c
:
RegisterEffect
(
e5
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetCode
(
E
VENT_SPSUMMON_SUCCESS
)
e6
:
SetOperation
(
c64496451
.
lvop
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
E
FFECT_SPSUMMON_COST
)
e6
:
SetOperation
(
c64496451
.
lvop
2
)
c
:
RegisterEffect
(
e6
)
--immune
local
e7
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -92,14 +91,39 @@ function c64496451.lvop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c64496451
.
lvcon
)
e1
:
SetValue
(
4
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1
ff0000
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c64496451
.
lvcon
)
e2
:
SetValue
(
1800
)
e2
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e2
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e2
)
end
function
c64496451
.
lvop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
4
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
1800
)
e2
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e2
)
end
function
c64496451
.
immcon
(
e
)
...
...
script/c90885155.lua
View file @
b8e664ac
...
...
@@ -36,15 +36,14 @@ function c90885155.initial_effect(c)
c
:
RegisterEffect
(
e4
)
--change level
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e5
:
SetCondition
(
c90885155
.
lvcon
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCode
(
EFFECT_SUMMON_COST
)
e5
:
SetOperation
(
c90885155
.
lvop
)
c
:
RegisterEffect
(
e5
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetCode
(
E
VENT_SPSUMMON_SUCCESS
)
e6
:
SetOperation
(
c90885155
.
lvop
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
E
FFECT_SPSUMMON_COST
)
e6
:
SetOperation
(
c90885155
.
lvop
2
)
c
:
RegisterEffect
(
e6
)
--immune
local
e7
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -88,14 +87,39 @@ function c90885155.lvop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c90885155
.
lvcon
)
e1
:
SetValue
(
4
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1
ff0000
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c90885155
.
lvcon
)
e2
:
SetValue
(
1800
)
e2
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e2
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e2
)
end
function
c90885155
.
lvop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
4
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
1800
)
e2
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e2
)
end
function
c90885155
.
immcon
(
e
)
...
...
script/c91907707.lua
View file @
b8e664ac
...
...
@@ -37,15 +37,14 @@ function c91907707.initial_effect(c)
c
:
RegisterEffect
(
e4
)
--change level
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e5
:
SetCondition
(
c91907707
.
lvcon
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCode
(
EFFECT_SUMMON_COST
)
e5
:
SetOperation
(
c91907707
.
lvop
)
c
:
RegisterEffect
(
e5
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetCode
(
E
VENT_SPSUMMON_SUCCESS
)
e6
:
SetOperation
(
c91907707
.
lvop
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
E
FFECT_SPSUMMON_COST
)
e6
:
SetOperation
(
c91907707
.
lvop
2
)
c
:
RegisterEffect
(
e6
)
--immune
local
e7
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -85,14 +84,39 @@ function c91907707.lvop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c91907707
.
lvcon
)
e1
:
SetValue
(
4
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1
ff0000
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c91907707
.
lvcon
)
e2
:
SetValue
(
1800
)
e2
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e2
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e2
)
end
function
c91907707
.
lvop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
4
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
1800
)
e2
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e2
)
end
function
c91907707
.
immcon
(
e
)
...
...
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