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
590ea5e5
Commit
590ea5e5
authored
Nov 14, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #113 from mercury233/patch-reg
fix "if this card was summoned this turn" registration
parents
7f8a3ce1
502e2696
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
18 additions
and
1 deletion
+18
-1
c19182751.lua
c19182751.lua
+1
-1
c25244515.lua
c25244515.lua
+1
-0
c28630501.lua
c28630501.lua
+1
-0
c28990150.lua
c28990150.lua
+1
-0
c32918479.lua
c32918479.lua
+1
-0
c39853199.lua
c39853199.lua
+1
-0
c40737112.lua
c40737112.lua
+1
-0
c49249907.lua
c49249907.lua
+1
-0
c53251824.lua
c53251824.lua
+1
-0
c56350972.lua
c56350972.lua
+2
-0
c60950180.lua
c60950180.lua
+1
-0
c65247798.lua
c65247798.lua
+1
-0
c83236601.lua
c83236601.lua
+1
-0
c8785161.lua
c8785161.lua
+1
-0
c92246806.lua
c92246806.lua
+1
-0
c93368494.lua
c93368494.lua
+1
-0
c96345188.lua
c96345188.lua
+1
-0
No files found.
c19182751.lua
View file @
590ea5e5
...
...
@@ -3,7 +3,7 @@ function c19182751.initial_effect(c)
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetOperation
(
c19182751
.
regop
)
c
:
RegisterEffect
(
e1
)
...
...
c25244515.lua
View file @
590ea5e5
...
...
@@ -25,6 +25,7 @@ function c25244515.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetOperation
(
c25244515
.
regop
)
c
:
RegisterEffect
(
e3
)
end
...
...
c28630501.lua
View file @
590ea5e5
...
...
@@ -26,6 +26,7 @@ function c28630501.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetOperation
(
c28630501
.
regop
)
c
:
RegisterEffect
(
e3
)
end
...
...
c28990150.lua
View file @
590ea5e5
...
...
@@ -4,6 +4,7 @@ function c28990150.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetOperation
(
c28990150
.
atkop
)
c
:
RegisterEffect
(
e3
)
end
...
...
c32918479.lua
View file @
590ea5e5
...
...
@@ -14,6 +14,7 @@ function c32918479.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetOperation
(
c32918479
.
regop
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
...
...
c39853199.lua
View file @
590ea5e5
...
...
@@ -38,6 +38,7 @@ function c39853199.initial_effect(c)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
ge1
:
SetLabel
(
39853199
)
ge1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ge1
:
SetOperation
(
aux
.
sumreg
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
...
...
c40737112.lua
View file @
590ea5e5
...
...
@@ -37,6 +37,7 @@ function c40737112.initial_effect(c)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
ge1
:
SetLabel
(
40737112
)
ge1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ge1
:
SetOperation
(
aux
.
sumreg
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
...
...
c49249907.lua
View file @
590ea5e5
...
...
@@ -26,6 +26,7 @@ function c49249907.initial_effect(c)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
ge1
:
SetLabel
(
49249907
)
ge1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ge1
:
SetOperation
(
aux
.
sumreg
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
...
...
c53251824.lua
View file @
590ea5e5
...
...
@@ -16,6 +16,7 @@ function c53251824.initial_effect(c)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
ge1
:
SetLabel
(
53251824
)
ge1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ge1
:
SetOperation
(
aux
.
sumreg
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
...
...
c56350972.lua
View file @
590ea5e5
...
...
@@ -6,6 +6,7 @@ function c56350972.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCondition
(
c56350972
.
regcon1
)
e1
:
SetOperation
(
c56350972
.
regop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -14,6 +15,7 @@ function c56350972.initial_effect(c)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCondition
(
c56350972
.
regcon2
)
e2
:
SetOperation
(
c56350972
.
regop
)
c
:
RegisterEffect
(
e2
)
...
...
c60950180.lua
View file @
590ea5e5
...
...
@@ -29,6 +29,7 @@ function c60950180.initial_effect(c)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
ge1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ge1
:
SetLabel
(
60950180
)
ge1
:
SetOperation
(
aux
.
sumreg
)
Duel
.
RegisterEffect
(
ge1
,
0
)
...
...
c65247798.lua
View file @
590ea5e5
...
...
@@ -26,6 +26,7 @@ function c65247798.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetOperation
(
c65247798
.
regop
)
c
:
RegisterEffect
(
e3
)
end
...
...
c83236601.lua
View file @
590ea5e5
...
...
@@ -33,6 +33,7 @@ function c83236601.initial_effect(c)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
ge1
:
SetLabel
(
83236601
)
ge1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ge1
:
SetOperation
(
aux
.
sumreg
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
...
...
c8785161.lua
View file @
590ea5e5
...
...
@@ -16,6 +16,7 @@ function c8785161.initial_effect(c)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
ge1
:
SetLabel
(
8785161
)
ge1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ge1
:
SetOperation
(
aux
.
sumreg
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
...
...
c92246806.lua
View file @
590ea5e5
...
...
@@ -26,6 +26,7 @@ function c92246806.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetOperation
(
c92246806
.
regop
)
c
:
RegisterEffect
(
e4
)
end
...
...
c93368494.lua
View file @
590ea5e5
...
...
@@ -61,6 +61,7 @@ function c93368494.initial_effect(c)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
ge1
:
SetLabel
(
93368494
)
ge1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ge1
:
SetOperation
(
aux
.
sumreg
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
...
...
c96345188.lua
View file @
590ea5e5
...
...
@@ -25,6 +25,7 @@ function c96345188.initial_effect(c)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
ge1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ge1
:
SetOperation
(
aux
.
sumreg
)
ge1
:
SetLabel
(
96345188
)
Duel
.
RegisterEffect
(
ge1
,
0
)
...
...
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