Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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-core
Commits
5ec5f490
Commit
5ec5f490
authored
Apr 13, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
c14d91eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
effect.cpp
effect.cpp
+1
-1
effect.h
effect.h
+1
-1
No files found.
effect.cpp
View file @
5ec5f490
...
...
@@ -59,7 +59,7 @@ int32 effect::is_disable_related() {
}
int32
effect
::
is_can_be_forbidden
()
{
uint32
ctr
=
code
&
0xf0000
;
if
(
is_flag
(
EFFECT_FLAG_CANNOT_DISABLE
)
&&
!
is_flag
(
EFFECT_FLAG_CANNOT_NEGATE
D
))
if
(
is_flag
(
EFFECT_FLAG_CANNOT_DISABLE
)
&&
!
is_flag
(
EFFECT_FLAG_CANNOT_NEGATE
))
return
FALSE
;
if
(
code
==
EFFECT_CHANGE_CODE
||
ctr
==
EFFECT_COUNTER_PERMIT
||
ctr
==
EFFECT_COUNTER_LIMIT
)
return
FALSE
;
...
...
effect.h
View file @
5ec5f490
...
...
@@ -150,7 +150,7 @@ enum effect_flag : uint32 {
EFFECT_FLAG_ABSOLUTE_TARGET
=
0x0040
,
EFFECT_FLAG_IGNORE_IMMUNE
=
0x0080
,
EFFECT_FLAG_SET_AVAILABLE
=
0x0100
,
EFFECT_FLAG_CANNOT_NEGATE
D
=
0x0200
,
EFFECT_FLAG_CANNOT_NEGATE
=
0x0200
,
EFFECT_FLAG_CANNOT_DISABLE
=
0x0400
,
EFFECT_FLAG_PLAYER_TARGET
=
0x0800
,
EFFECT_FLAG_BOTH_SIDE
=
0x1000
,
...
...
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