update name logic

This commit is contained in:
bridge
2025-10-25 21:26:36 +08:00
parent 974366bafe
commit 8a7523caea
4 changed files with 10 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ class Catch(TimedAction):
return False, "当前不在普通区域"
animals = region.animals
if len(animals) == 0:
return False, "当前区域没有动物"
return False, f"当前区域{region.name}没有动物"
# 动物境界是否可御
available_animals = [animal for animal in animals if self.avatar.cultivation_progress.realm >= animal.realm]
if len(available_animals) == 0: