Add combat job with safe target filtering
This commit is contained in:
1 parent
2ecaa9a30a
commit
1b9f973db3
12 files changed
+486
-7
No files matched your search
@@ -472,6 +472,11 @@ class Commands:
|
||||
self.g.game.respawn()
|
||||
reply = 'ok'
|
||||
|
||||
## 1combat - attacks mobs within 16 blocks
|
||||
if command == 'combat':
|
||||
self.g.job.state = self.g.job.combat
|
||||
reply = 'ok'
|
||||
|
||||
## 1sleep [new] - use a bed; `new` forces bed placement
|
||||
if command == 'sleep':
|
||||
self.g.job.sleep_with_bed_states.force_new_bed = (
|
||||
|
||||
Reference in new issue
Block a user