spellbook: Fix AI crash caused by using invalid BossBattle command
This commit is contained in:
parent
c0d5cdcff4
commit
3880f2049f
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ class BossBattle(MagicWord):
|
||||||
|
|
||||||
# The create command is already described when the invoker is not in a battle. These are the commands
|
# The create command is already described when the invoker is not in a battle. These are the commands
|
||||||
# they can use INSIDE the battle.
|
# they can use INSIDE the battle.
|
||||||
return respText + f"Unknown command: \"{command}\". Valid commands: \"start\", \"stop\", \"skip\", \"final\", \"kill\"."
|
return f"Unknown command: \"{command}\". Valid commands: \"start\", \"stop\", \"skip\", \"final\", \"kill\"."
|
||||||
|
|
||||||
def __destroyBoss(self, boss):
|
def __destroyBoss(self, boss):
|
||||||
bossZone = boss.zoneId
|
bossZone = boss.zoneId
|
||||||
|
|
Loading…
Reference in a new issue