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
157cb50e
Commit
157cb50e
authored
Nov 09, 2024
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3503baea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
libeffect.cpp
libeffect.cpp
+0
-11
scriptlib.h
scriptlib.h
+0
-1
No files found.
libeffect.cpp
View file @
157cb50e
...
...
@@ -20,16 +20,6 @@ int32 scriptlib::effect_set_owner(lua_State *L) {
peffect
->
owner
=
pcard
;
return
0
;
}
int32
scriptlib
::
effect_get_range
(
lua_State
*
L
)
{
check_param_count
(
L
,
1
);
check_param
(
L
,
PARAM_TYPE_EFFECT
,
1
);
effect
*
peffect
=
*
(
effect
**
)
lua_touserdata
(
L
,
1
);
if
(
peffect
)
{
lua_pushinteger
(
L
,
peffect
->
range
);
return
1
;
}
return
0
;
}
int32
scriptlib
::
effect_get_count_limit
(
lua_State
*
L
)
{
check_param_count
(
L
,
1
);
check_param
(
L
,
PARAM_TYPE_EFFECT
,
1
);
...
...
@@ -643,7 +633,6 @@ int32 scriptlib::effect_use_count_limit(lua_State *L) {
static
const
struct
luaL_Reg
effectlib
[]
=
{
{
"SetOwner"
,
scriptlib
::
effect_set_owner
},
{
"GetRange"
,
scriptlib
::
effect_get_range
},
{
"GetCountLimit"
,
scriptlib
::
effect_get_count_limit
},
{
"CreateEffect"
,
scriptlib
::
effect_new
},
...
...
scriptlib.h
View file @
157cb50e
...
...
@@ -37,7 +37,6 @@ public:
static
int32
card_is_xyz_summonable_by_rose
(
lua_State
*
L
);
static
int32
card_get_removed_overlay_count
(
lua_State
*
L
);
static
int32
effect_set_owner
(
lua_State
*
L
);
static
int32
effect_get_range
(
lua_State
*
L
);
static
int32
effect_get_count_limit
(
lua_State
*
L
);
static
int32
duel_get_master_rule
(
lua_State
*
L
);
static
int32
duel_read_card
(
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