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
3
Merge Requests
3
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
48987a5c
Commit
48987a5c
authored
Mar 15, 2023
by
salix5
Committed by
GitHub
Mar 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add EFFECT_FLAG2_REPEAT_UPDATE (#2018)
parent
7df5fffe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
c6691855.lua
c6691855.lua
+1
-0
c68540058.lua
c68540058.lua
+1
-0
constant.lua
constant.lua
+1
-1
No files found.
c6691855.lua
View file @
48987a5c
...
@@ -67,6 +67,7 @@ function c6691855.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,6 +67,7 @@ function c6691855.operation(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2
:
SetProperty
(
0
,
EFFECT_FLAG2_REPEAT_UPDATE
)
e2
:
SetCondition
(
c6691855
.
defcon
)
e2
:
SetCondition
(
c6691855
.
defcon
)
e2
:
SetValue
(
c6691855
.
defval
)
e2
:
SetValue
(
c6691855
.
defval
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c68540058.lua
View file @
48987a5c
...
@@ -78,6 +78,7 @@ function c68540058.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,6 +78,7 @@ function c68540058.operation(e,tp,eg,ep,ev,re,r,rp)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_EQUIP
)
e4
:
SetType
(
EFFECT_TYPE_EQUIP
)
e4
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e4
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e4
:
SetProperty
(
0
,
EFFECT_FLAG2_REPEAT_UPDATE
)
e4
:
SetCondition
(
c68540058
.
atkcon
)
e4
:
SetCondition
(
c68540058
.
atkcon
)
e4
:
SetValue
(
c68540058
.
atkval
)
e4
:
SetValue
(
c68540058
.
atkval
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
constant.lua
View file @
48987a5c
...
@@ -318,7 +318,7 @@ EFFECT_FLAG_COF =0x20000000 --N/A
...
@@ -318,7 +318,7 @@ EFFECT_FLAG_COF =0x20000000 --N/A
EFFECT_FLAG_CVAL_CHECK
=
0x40000000
--N/A
EFFECT_FLAG_CVAL_CHECK
=
0x40000000
--N/A
EFFECT_FLAG_IMMEDIATELY_APPLY
=
0x80000000
--卡在发动时效果就立即适用
EFFECT_FLAG_IMMEDIATELY_APPLY
=
0x80000000
--卡在发动时效果就立即适用
EFFECT_FLAG2_
MILLENNIUM_RESTRICT
=
0x0001
--N/A
EFFECT_FLAG2_
REPEAT_UPDATE
=
0x0001
--最后计算的攻击力上升
EFFECT_FLAG2_COF
=
0x0002
--通常魔法卡在MP1以外发动(邪恶的仪式的特殊处理)
EFFECT_FLAG2_COF
=
0x0002
--通常魔法卡在MP1以外发动(邪恶的仪式的特殊处理)
EFFECT_FLAG2_WICKED
=
0x0004
--神之化身/恐惧之源的攻击力变化最后计算
EFFECT_FLAG2_WICKED
=
0x0004
--神之化身/恐惧之源的攻击力变化最后计算
EFFECT_FLAG2_OPTION
=
0x0008
--子機
EFFECT_FLAG2_OPTION
=
0x0008
--子機
...
...
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