diff options
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorBrave.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/Mobs/Behaviors/BehaviorBrave.h b/src/Mobs/Behaviors/BehaviorBrave.h index 0a59f90b8..1562c0089 100644 --- a/src/Mobs/Behaviors/BehaviorBrave.h +++ b/src/Mobs/Behaviors/BehaviorBrave.h @@ -2,8 +2,17 @@ #include "Behavior.h" -/** Makes the mob fight back any other mob that damages it. Mob should have BehaviorAttacker to work. -This behavior does not make sense in combination with BehaviorCoward. */ +/** Makes the mob fight back any other mob that damages it. Unlike cBehaviorAggressive, it will +not attack unless provoked. + +Connections to other behaviors: + - The mob should also have a cBehaviorAttacker, otherwise this behavior will not work. + - This behavior does not make sense in combination with BehaviorCoward or cBehaviorAggressive. + +Special connections: + - Relies on cMonster::GetAttackerBehavior to obtain the attacker behavior and alter its target. + +*/ class cBehaviorBrave : cBehavior { public: |