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
54cdeada
Commit
54cdeada
authored
Sep 28, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e75185fc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
card.cpp
card.cpp
+2
-0
effect.cpp
effect.cpp
+0
-2
No files found.
card.cpp
View file @
54cdeada
...
...
@@ -2175,6 +2175,8 @@ effect* card::check_indestructable_by_effect(effect* peffect, uint8 playerid) {
effect_set
eset
;
filter_effect
(
EFFECT_INDESTRUCTABLE_EFFECT
,
&
eset
);
for
(
int32
i
=
0
;
i
<
eset
.
size
();
++
i
)
{
if
(
peffect
->
id
<
eset
[
i
]
->
id
)
continue
;
pduel
->
lua
->
add_param
(
peffect
,
PARAM_TYPE_EFFECT
);
pduel
->
lua
->
add_param
(
playerid
,
PARAM_TYPE_INT
);
pduel
->
lua
->
add_param
(
this
,
PARAM_TYPE_CARD
);
...
...
effect.cpp
View file @
54cdeada
...
...
@@ -109,8 +109,6 @@ int32 effect::is_available() {
pduel
->
lua
->
add_param
(
this
,
PARAM_TYPE_EFFECT
);
int32
res
=
pduel
->
lua
->
check_condition
(
condition
,
1
);
if
(
res
)
{
if
(
!
(
status
&
EFFECT_STATUS_AVAILABLE
))
id
=
pduel
->
game_field
->
infos
.
field_id
++
;
status
|=
EFFECT_STATUS_AVAILABLE
;
}
else
status
&=
~
EFFECT_STATUS_AVAILABLE
;
...
...
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