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
fc467bc4
Commit
fc467bc4
authored
Jul 31, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix field trigger
parent
76824971
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
processor.cpp
processor.cpp
+2
-2
No files found.
processor.cpp
View file @
fc467bc4
...
@@ -2261,7 +2261,7 @@ int32 field::process_instant_event() {
...
@@ -2261,7 +2261,7 @@ int32 field::process_instant_event() {
pr
=
effects
.
trigger_f_effect
.
equal_range
(
elit
->
event_code
);
pr
=
effects
.
trigger_f_effect
.
equal_range
(
elit
->
event_code
);
for
(;
pr
.
first
!=
pr
.
second
;
++
pr
.
first
)
{
for
(;
pr
.
first
!=
pr
.
second
;
++
pr
.
first
)
{
effect
*
peffect
=
pr
.
first
->
second
;
effect
*
peffect
=
pr
.
first
->
second
;
if
(
!
peffect
->
is_condition_check
(
peffect
->
handler
->
current
.
controler
,
*
elit
))
if
(
!
peffect
->
handler
->
is_status
(
STATUS_EFFECT_ENABLED
)
||
!
peffect
->
is_condition_check
(
peffect
->
handler
->
current
.
controler
,
*
elit
))
continue
;
continue
;
peffect
->
s_range
=
peffect
->
handler
->
current
.
location
;
peffect
->
s_range
=
peffect
->
handler
->
current
.
location
;
peffect
->
o_range
=
peffect
->
handler
->
current
.
sequence
;
peffect
->
o_range
=
peffect
->
handler
->
current
.
sequence
;
...
@@ -2281,7 +2281,7 @@ int32 field::process_instant_event() {
...
@@ -2281,7 +2281,7 @@ int32 field::process_instant_event() {
pr
=
effects
.
trigger_o_effect
.
equal_range
(
elit
->
event_code
);
pr
=
effects
.
trigger_o_effect
.
equal_range
(
elit
->
event_code
);
for
(;
pr
.
first
!=
pr
.
second
;
++
pr
.
first
)
{
for
(;
pr
.
first
!=
pr
.
second
;
++
pr
.
first
)
{
effect
*
peffect
=
pr
.
first
->
second
;
effect
*
peffect
=
pr
.
first
->
second
;
if
(
!
peffect
->
is_condition_check
(
peffect
->
handler
->
current
.
controler
,
*
elit
))
if
(
!
peffect
->
handler
->
is_status
(
STATUS_EFFECT_ENABLED
)
||
!
peffect
->
is_condition_check
(
peffect
->
handler
->
current
.
controler
,
*
elit
))
continue
;
continue
;
peffect
->
s_range
=
peffect
->
handler
->
current
.
location
;
peffect
->
s_range
=
peffect
->
handler
->
current
.
location
;
peffect
->
o_range
=
peffect
->
handler
->
current
.
sequence
;
peffect
->
o_range
=
peffect
->
handler
->
current
.
sequence
;
...
...
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