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
a1a33d15
Commit
a1a33d15
authored
Jun 24, 2019
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up
parent
68445197
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
7 deletions
+1
-7
interpreter.cpp
interpreter.cpp
+0
-1
libcard.cpp
libcard.cpp
+0
-3
operations.cpp
operations.cpp
+1
-2
scriptlib.h
scriptlib.h
+0
-1
No files found.
interpreter.cpp
View file @
a1a33d15
...
@@ -253,7 +253,6 @@ static const struct luaL_Reg cardlib[] = {
...
@@ -253,7 +253,6 @@ static const struct luaL_Reg cardlib[] = {
{
"IsCanBeEffectTarget"
,
scriptlib
::
card_is_can_be_effect_target
},
{
"IsCanBeEffectTarget"
,
scriptlib
::
card_is_can_be_effect_target
},
{
"IsCanBeBattleTarget"
,
scriptlib
::
card_is_can_be_battle_target
},
{
"IsCanBeBattleTarget"
,
scriptlib
::
card_is_can_be_battle_target
},
{
"AddMonsterAttribute"
,
scriptlib
::
card_add_monster_attribute
},
{
"AddMonsterAttribute"
,
scriptlib
::
card_add_monster_attribute
},
{
"AddMonsterAttributeComplete"
,
scriptlib
::
card_add_monster_attribute_complete
},
{
"CancelToGrave"
,
scriptlib
::
card_cancel_to_grave
},
{
"CancelToGrave"
,
scriptlib
::
card_cancel_to_grave
},
{
"GetTributeRequirement"
,
scriptlib
::
card_get_tribute_requirement
},
{
"GetTributeRequirement"
,
scriptlib
::
card_get_tribute_requirement
},
{
"GetBattleTarget"
,
scriptlib
::
card_get_battle_target
},
{
"GetBattleTarget"
,
scriptlib
::
card_get_battle_target
},
...
...
libcard.cpp
View file @
a1a33d15
...
@@ -2893,9 +2893,6 @@ int32 scriptlib::card_add_monster_attribute(lua_State *L) {
...
@@ -2893,9 +2893,6 @@ int32 scriptlib::card_add_monster_attribute(lua_State *L) {
}
}
return
0
;
return
0
;
}
}
int32
scriptlib
::
card_add_monster_attribute_complete
(
lua_State
*
L
)
{
return
0
;
}
int32
scriptlib
::
card_cancel_to_grave
(
lua_State
*
L
)
{
int32
scriptlib
::
card_cancel_to_grave
(
lua_State
*
L
)
{
check_param_count
(
L
,
1
);
check_param_count
(
L
,
1
);
check_param
(
L
,
PARAM_TYPE_CARD
,
1
);
check_param
(
L
,
PARAM_TYPE_CARD
,
1
);
...
...
operations.cpp
View file @
a1a33d15
...
@@ -4440,8 +4440,7 @@ int32 field::move_to_field(uint16 step, card* target, uint32 enable, uint32 ret,
...
@@ -4440,8 +4440,7 @@ int32 field::move_to_field(uint16 step, card* target, uint32 enable, uint32 ret,
peffect
->
dec_count
();
peffect
->
dec_count
();
}
}
}
}
effect
*
teffect
;
if
(
effect
*
teffect
=
target
->
is_affected_by_effect
(
EFFECT_PRE_MONSTER
))
{
if
(
teffect
=
target
->
is_affected_by_effect
(
EFFECT_PRE_MONSTER
))
{
uint32
type
=
teffect
->
value
;
uint32
type
=
teffect
->
value
;
if
(
type
&
TYPE_TRAP
)
if
(
type
&
TYPE_TRAP
)
type
|=
TYPE_TRAPMONSTER
|
target
->
data
.
type
;
type
|=
TYPE_TRAPMONSTER
|
target
->
data
.
type
;
...
...
scriptlib.h
View file @
a1a33d15
...
@@ -257,7 +257,6 @@ public:
...
@@ -257,7 +257,6 @@ public:
static
int32
card_is_can_be_effect_target
(
lua_State
*
L
);
static
int32
card_is_can_be_effect_target
(
lua_State
*
L
);
static
int32
card_is_can_be_battle_target
(
lua_State
*
L
);
static
int32
card_is_can_be_battle_target
(
lua_State
*
L
);
static
int32
card_add_monster_attribute
(
lua_State
*
L
);
static
int32
card_add_monster_attribute
(
lua_State
*
L
);
static
int32
card_add_monster_attribute_complete
(
lua_State
*
L
);
static
int32
card_cancel_to_grave
(
lua_State
*
L
);
static
int32
card_cancel_to_grave
(
lua_State
*
L
);
static
int32
card_get_tribute_requirement
(
lua_State
*
L
);
static
int32
card_get_tribute_requirement
(
lua_State
*
L
);
static
int32
card_get_battle_target
(
lua_State
*
L
);
static
int32
card_get_battle_target
(
lua_State
*
L
);
...
...
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