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
00ea35b8
Commit
00ea35b8
authored
May 12, 2022
by
Akka
Committed by
Melledy
May 12, 2022
Browse files
add docs for tower
parent
2451d2c8
Changes
3
Show whitespace changes
Inline
Side-by-side
README.md
View file @
00ea35b8
...
...
@@ -139,6 +139,7 @@ There is a dummy user named "Server" in every player's friends list that you can
| talent | talent
\<
talentID>
\<
value> | player.settalent | Client only | Sets talent level for your currently selected character | |
| teleport | teleport [@playerUid]
\<
x>
\<
y>
\<
z> [sceneId] | player.teleport | Both side | Change the player's position. | tp |
| tpall | | player.tpall | Client only | Teleports all players in your world to your position | |
| unlocktower | | player.tower | Client only | Unlock the all floors of abyss | ut |
| weather | weather
\<
weatherID>
\<
climateID> | player.weather | Client only | Changes the weather | w |
### Bonus
...
...
README_zh-CN.md
View file @
00ea35b8
...
...
@@ -140,6 +140,7 @@ chmod +x gradlew
| talent | talent
<天赋ID>
<等级>
| player.settalent | 仅客户端 | 设置当前角色的天赋等级 | |
| teleport | teleport [@playerUid]
\<
x>
\<
y>
\<
z> [sceneId] | player.teleport | 均可使用 | 传送玩家到指定坐标 | tp |
| tpall | | player.tpall | 仅客户端 | 传送多人世界中所有的玩家到自身地点 | |
| unlocktower | | player.tower | 仅客户端 | 解锁深渊全部层 | ut |
| weather | weather
<天气ID>
<气候ID>
| player.weather | 仅客户端 | 改变天气 | w |
### 额外功能
...
...
src/main/java/emu/grasscutter/game/tower/TowerScheduleManager.java
View file @
00ea35b8
...
...
@@ -39,7 +39,8 @@ public class TowerScheduleManager {
public
TowerScheduleData
getCurrentTowerScheduleData
(){
var
data
=
GameData
.
getTowerScheduleDataMap
().
get
(
towerScheduleConfig
.
getScheduleId
());
if
(
data
==
null
){
Grasscutter
.
getLogger
().
error
(
"Could not get current tower schedule data by config:{}"
,
towerScheduleConfig
);
Grasscutter
.
getLogger
().
error
(
"Could not get current tower schedule data by schedule id {}, please check your resource files"
,
towerScheduleConfig
.
getScheduleId
());
}
return
data
;
...
...
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