Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
17242a24
Commit
17242a24
authored
May 07, 2022
by
Akka
Browse files
Add some lua functions
parent
b58bcda0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/scripts/ScriptLib.java
View file @
17242a24
...
@@ -207,4 +207,19 @@ public class ScriptLib {
...
@@ -207,4 +207,19 @@ public class ScriptLib {
public
void
PrintContextLog
(
String
msg
)
{
public
void
PrintContextLog
(
String
msg
)
{
Grasscutter
.
getLogger
().
info
(
"[LUA] "
+
msg
);
Grasscutter
.
getLogger
().
info
(
"[LUA] "
+
msg
);
}
}
public
int
TowerCountTimeStatus
(
int
var1
,
int
var2
){
return
0
;
}
public
int
GetGroupMonsterCount
(
int
var1
){
// Maybe...
return
GetGroupMonsterCountByGroupId
(
var1
);
}
public
int
SetMonsterBattleByGroup
(
int
var1
,
int
var2
,
int
var3
){
return
0
;
}
public
int
CauseDungeonFail
(
int
var1
){
return
0
;
}
}
}
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