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
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
nanahira
ygopro-core
Commits
2d839c23
Commit
2d839c23
authored
Mar 01, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
field::process_quick_effect()
parent
222ddb3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
processor.cpp
processor.cpp
+2
-3
No files found.
processor.cpp
View file @
2d839c23
...
@@ -2069,12 +2069,11 @@ int32 field::process_quick_effect(int16 step, int32 skip_freechain, uint8 priori
...
@@ -2069,12 +2069,11 @@ int32 field::process_quick_effect(int16 step, int32 skip_freechain, uint8 priori
if(cait->triggering_player == priority) {
if(cait->triggering_player == priority) {
effect* pchaineff = cait->triggering_effect;
effect* pchaineff = cait->triggering_effect;
if(!(pchaineff->is_flag(EFFECT_FLAG_FIELD_ONLY)) && (pchaineff->type & EFFECT_TYPE_TRIGGER_O)
if(!(pchaineff->is_flag(EFFECT_FLAG_FIELD_ONLY)) && (pchaineff->type & EFFECT_TYPE_TRIGGER_O)
&& (!(pchaineff->type & EFFECT_TYPE_SINGLE) || (pchaineff->is_flag(EFFECT_FLAG_SINGLE_RANGE)))
&& cait->triggering_location == LOCATION_HAND && (pchaineff->range & LOCATION_HAND)) {
&& (pchaineff->range & LOCATION_HAND)) {
act = false;
act = false;
break;
break;
}
}
if(cait->triggering_effect->handler->data.code == peffect->handler->data.code) {
if(
peffect->is_flag(EFFECT_FLAG_CHAIN_UNIQUE) &&
cait->triggering_effect->handler->data.code == peffect->handler->data.code) {
act = false;
act = false;
break;
break;
}
}
...
...
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