Update base_action.py

pull/1294/head
SengokuCola 2025-10-04 14:51:36 +08:00
parent 57c9811a78
commit 34282b5146
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class BaseAction(ABC):
self.action_require: list[str] = getattr(self.__class__, "action_require", []).copy()
"""NORMAL模式下的激活类型"""
self.activation_type = getattr(self.__class__, "activation_type", self.focus_activation_type)
self.activation_type = getattr(self.__class__, "activation_type")
"""激活类型"""
self.random_activation_probability: float = getattr(self.__class__, "random_activation_probability", 0.0)
"""当激活类型为RANDOM时的概率"""