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
a78e0dd1
Commit
a78e0dd1
authored
May 30, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EFFECT_ADD_SETCODE
parent
c8aae359
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
ocgcore/effect.h
ocgcore/effect.h
+1
-1
script/c21521304.lua
script/c21521304.lua
+1
-1
script/c23204029.lua
script/c23204029.lua
+1
-1
script/c34566435.lua
script/c34566435.lua
+1
-1
script/c36953371.lua
script/c36953371.lua
+1
-1
script/c494922.lua
script/c494922.lua
+1
-1
script/constant.lua
script/constant.lua
+1
-1
No files found.
ocgcore/effect.h
View file @
a78e0dd1
...
@@ -377,7 +377,7 @@ public:
...
@@ -377,7 +377,7 @@ public:
#define EFFECT_LEFT_SPSUMMON_COUNT 331
#define EFFECT_LEFT_SPSUMMON_COUNT 331
#define EFFECT_CANNOT_SELECT_BATTLE_TARGET 332
#define EFFECT_CANNOT_SELECT_BATTLE_TARGET 332
#define EFFECT_CANNOT_SELECT_EFFECT_TARGET 333
#define EFFECT_CANNOT_SELECT_EFFECT_TARGET 333
#define EFFECT_ADD_SET
_
CODE 334
#define EFFECT_ADD_SETCODE 334
#define EVENT_STARTUP 1000
#define EVENT_STARTUP 1000
#define EVENT_FLIP 1001
#define EVENT_FLIP 1001
...
...
script/c21521304.lua
View file @
a78e0dd1
...
@@ -29,7 +29,7 @@ function c21521304.initial_effect(c)
...
@@ -29,7 +29,7 @@ function c21521304.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_ADD_SET
_
CODE
)
e3
:
SetCode
(
EFFECT_ADD_SETCODE
)
e3
:
SetValue
(
0x7f
)
e3
:
SetValue
(
0x7f
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
...
...
script/c23204029.lua
View file @
a78e0dd1
...
@@ -35,7 +35,7 @@ function c23204029.initial_effect(c)
...
@@ -35,7 +35,7 @@ function c23204029.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e4
:
SetCode
(
EFFECT_ADD_SET
_
CODE
)
e4
:
SetCode
(
EFFECT_ADD_SETCODE
)
e4
:
SetValue
(
0x3008
)
e4
:
SetValue
(
0x3008
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
...
...
script/c34566435.lua
View file @
a78e0dd1
...
@@ -15,7 +15,7 @@ function c34566435.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c34566435.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetCode
(
EFFECT_ADD_SET
_
CODE
)
e2
:
SetCode
(
EFFECT_ADD_SETCODE
)
e2
:
SetValue
(
0xad
)
e2
:
SetValue
(
0xad
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
...
script/c36953371.lua
View file @
a78e0dd1
...
@@ -22,7 +22,7 @@ function c36953371.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c36953371.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_ADD_SET
_
CODE
)
e3
:
SetCode
(
EFFECT_ADD_SETCODE
)
e3
:
SetValue
(
0x9a
)
e3
:
SetValue
(
0x9a
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
...
...
script/c494922.lua
View file @
a78e0dd1
...
@@ -25,7 +25,7 @@ function c494922.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c494922.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_ADD_SET
_
CODE
)
e3
:
SetCode
(
EFFECT_ADD_SETCODE
)
e3
:
SetValue
(
0x9a
)
e3
:
SetValue
(
0x9a
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
...
...
script/constant.lua
View file @
a78e0dd1
...
@@ -473,7 +473,7 @@ EFFECT_SPSUMMON_COUNT_LIMIT =330 --特殊召唤次数限制
...
@@ -473,7 +473,7 @@ EFFECT_SPSUMMON_COUNT_LIMIT =330 --特殊召唤次数限制
EFFECT_LEFT_SPSUMMON_COUNT
=
331
--剩餘召喚次數(召喚限制網)
EFFECT_LEFT_SPSUMMON_COUNT
=
331
--剩餘召喚次數(召喚限制網)
EFFECT_CANNOT_SELECT_BATTLE_TARGET
=
332
--對手不能選擇為攻擊對象
EFFECT_CANNOT_SELECT_BATTLE_TARGET
=
332
--對手不能選擇為攻擊對象
EFFECT_CANNOT_SELECT_EFFECT_TARGET
=
333
--對手不能選擇為效果對象
EFFECT_CANNOT_SELECT_EFFECT_TARGET
=
333
--對手不能選擇為效果對象
EFFECT_ADD_SET
_
CODE
=
334
--规则上视为「XX」字段
EFFECT_ADD_SETCODE
=
334
--规则上视为「XX」字段
--下面是诱发效果的诱发事件、时点 (如果是TYPE_SINGLE则自己发生以下事件后触发,如果TYPE_FIELD则场上任何卡发生以下事件都触发)
--下面是诱发效果的诱发事件、时点 (如果是TYPE_SINGLE则自己发生以下事件后触发,如果TYPE_FIELD则场上任何卡发生以下事件都触发)
EVENT_STARTUP
=
1000
--游戏开始时
EVENT_STARTUP
=
1000
--游戏开始时
...
...
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