mirror of https://github.com/Mai-with-u/MaiBot.git
Update base_action.py
parent
57c9811a78
commit
34282b5146
|
|
@ -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时的概率"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue