FCBP_CPBehavior

Attack behavior of a pawn / character. Passed with .behavior(...).

Setters

Setter Effect
meleeAttackBehavior(FCBP_CPMeleeAttackBehavior) Melee combo behavior → FCBP_CPMeleeAttackBehavior.
rangeAttackBehavior(FCBP_CPRangeAttackBehavior) Range attack behavior (reserved, no fluent setter yet).

Example

FCBP_CPBehavior behavior = FCBP_CPBehavior()
    .meleeAttackBehavior(FCBP_CPMeleeAttackBehavior()
        .noComboButRandom(false)
        .allowComboLoop(true))
    .rangeAttackBehavior(FCBP_CPRangeAttackBehavior());