Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
4
Merge Requests
4
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
MyCard
ygopro-scripts-888
Commits
9782c895
Commit
9782c895
authored
Aug 06, 2023
by
mercury233
Committed by
GitHub
Aug 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update EFFECT_FLAG_EFFECT (#2099)
parent
05bfe185
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
13 additions
and
11 deletions
+13
-11
c16762927.lua
c16762927.lua
+1
-1
c23851033.lua
c23851033.lua
+1
-1
c44716890.lua
c44716890.lua
+1
-1
c4756629.lua
c4756629.lua
+1
-1
c49655592.lua
c49655592.lua
+1
-1
c6855503.lua
c6855503.lua
+1
-1
c73810864.lua
c73810864.lua
+1
-1
c78358521.lua
c78358521.lua
+1
-1
c79323590.lua
c79323590.lua
+1
-1
c79582540.lua
c79582540.lua
+1
-1
c82003859.lua
c82003859.lua
+1
-1
constant.lua
constant.lua
+2
-0
No files found.
c16762927.lua
View file @
9782c895
...
...
@@ -18,7 +18,7 @@ function c16762927.initial_effect(c)
--accumulate
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
0x10000000
+
16762927
)
e3
:
SetCode
(
EFFECT_FLAG_EFFECT
+
16762927
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
0
,
1
)
...
...
c23851033.lua
View file @
9782c895
...
...
@@ -24,7 +24,7 @@ function c23851033.initial_effect(c)
--accumulate
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
0x10000000
+
23851033
)
e3
:
SetCode
(
EFFECT_FLAG_EFFECT
+
23851033
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
0
,
1
)
...
...
c44716890.lua
View file @
9782c895
...
...
@@ -18,7 +18,7 @@ function c44716890.initial_effect(c)
--accumulate
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
0x10000000
+
44716890
)
e3
:
SetCode
(
EFFECT_FLAG_EFFECT
+
44716890
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
1
,
1
)
...
...
c4756629.lua
View file @
9782c895
...
...
@@ -94,7 +94,7 @@ function c4756629.decop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
0x10000000
+
4756631
)
e2
:
SetCode
(
EFFECT_FLAG_EFFECT
+
4756631
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetTargetRange
(
1
,
0
)
...
...
c49655592.lua
View file @
9782c895
...
...
@@ -22,7 +22,7 @@ function c49655592.initial_effect(c)
--accumulate
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
0x10000000
+
49655592
)
e3
:
SetCode
(
EFFECT_FLAG_EFFECT
+
49655592
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
0
,
1
)
...
...
c6855503.lua
View file @
9782c895
...
...
@@ -17,7 +17,7 @@ function c6855503.initial_effect(c)
--accumulate
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
0x10000000
+
6855503
)
e2
:
SetCode
(
EFFECT_FLAG_EFFECT
+
6855503
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCondition
(
c6855503
.
costcon
)
...
...
c73810864.lua
View file @
9782c895
...
...
@@ -28,7 +28,7 @@ function c73810864.initial_effect(c)
--accumulate
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
0x10000000
+
73810864
)
e4
:
SetCode
(
EFFECT_FLAG_EFFECT
+
73810864
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e4
:
SetTargetRange
(
0
,
1
)
...
...
c78358521.lua
View file @
9782c895
...
...
@@ -93,7 +93,7 @@ function c78358521.decop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
0x10000000
+
78358523
)
e2
:
SetCode
(
EFFECT_FLAG_EFFECT
+
78358523
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetTargetRange
(
1
,
0
)
...
...
c79323590.lua
View file @
9782c895
...
...
@@ -38,7 +38,7 @@ function c79323590.initial_effect(c)
--accumulate
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_FIELD
)
e7
:
SetCode
(
0x10000000
+
79323590
)
e7
:
SetCode
(
EFFECT_FLAG_EFFECT
+
79323590
)
e7
:
SetRange
(
LOCATION_SZONE
)
e7
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e7
:
SetTargetRange
(
1
,
1
)
...
...
c79582540.lua
View file @
9782c895
...
...
@@ -30,7 +30,7 @@ function c79582540.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e4
:
SetCode
(
0x10000000
+
79582540
)
e4
:
SetCode
(
EFFECT_FLAG_EFFECT
+
79582540
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTargetRange
(
0
,
1
)
e4
:
SetCondition
(
c79582540
.
costcon
)
...
...
c82003859.lua
View file @
9782c895
...
...
@@ -18,7 +18,7 @@ function c82003859.initial_effect(c)
--accumulate
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
0x10000000
+
82003859
)
e3
:
SetCode
(
EFFECT_FLAG_EFFECT
+
82003859
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
1
,
1
)
...
...
constant.lua
View file @
9782c895
...
...
@@ -582,6 +582,7 @@ EFFECT_CHANGE_GRAVE_RACE =366 --墓地的卡将会改变种族(升级转变
EFFECT_ACTIVATION_COUNT_LIMIT
=
367
--reserve
EFFECT_LIMIT_SPECIAL_SUMMON_POSITION
=
368
--不能以特定表示形式特殊召唤
EFFECT_TUNER
=
369
--同调召唤时可以当作调整(百檎龙-苹果鳞虫)
EFFECT_FLAG_EFFECT
=
0x20000000
--标记类效果,即RegisterFlagEffect()创建的效果
--下面是诱发效果的诱发事件、时点 (如果是TYPE_SINGLE则自己发生以下事件后触发,如果TYPE_FIELD则场上任何卡发生以下事件都触发)
EVENT_STARTUP
=
1000
--N/A
...
...
@@ -659,6 +660,7 @@ EVENT_PHASE_START =0x2000 --阶段开始时
EVENT_ADD_COUNTER
=
0x10000
--增加指示物时
EVENT_REMOVE_COUNTER
=
0x20000
--去除指示物时(A指示物),Card.RemoveCounter()必須手動觸發此事件
EVENT_CUSTOM
=
0x10000000
--自訂事件
--Category 效果分类(表示这个效果将要发生什么事,OperationInfo设置了效果分类才能触发针对这一类型发动的卡,如破坏->星尘龙
CATEGORY_DESTROY
=
0x1
--破坏效果
CATEGORY_RELEASE
=
0x2
--解放效果
...
...
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