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
5d337656
Commit
5d337656
authored
Feb 25, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
3c1db2fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
card.cpp
card.cpp
+2
-2
card.h
card.h
+2
-2
No files found.
card.cpp
View file @
5d337656
...
...
@@ -2185,8 +2185,8 @@ effect* card::is_affected_by_effect(int32 code) {
rg
=
pduel
->
game_field
->
effects
.
aura_effect
.
equal_range
(
code
);
for
(;
rg
.
first
!=
rg
.
second
;
++
rg
.
first
)
{
peffect
=
rg
.
first
->
second
;
if
(
!
peffect
->
is_flag
(
EFFECT_FLAG_PLAYER_TARGET
)
&&
peffect
->
is_
available
(
)
&&
peffect
->
is_target
(
this
)
&&
is_affect_by_effect
(
peffect
))
if
(
!
peffect
->
is_flag
(
EFFECT_FLAG_PLAYER_TARGET
)
&&
peffect
->
is_
target
(
this
)
&&
peffect
->
is_available
(
)
&&
is_affect_by_effect
(
peffect
))
return
peffect
;
}
return
0
;
...
...
card.h
View file @
5d337656
...
...
@@ -376,8 +376,8 @@ public:
#define RACE_PSYCHO 0x100000 //
#define RACE_DEVINE 0x200000 //
#define RACE_CREATORGOD 0x400000 //
#define RACE_WYRM 0x800000 //
#define RACE_CYBERS 0x1000000 //
#define RACE_WYRM
0x800000 //
#define RACE_CYBERS
0x1000000 //
//Reason
#define REASON_DESTROY 0x1 //
#define REASON_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