
mama_llama_ranged
{
    setTarget: humans_list
    toggleAbility: swap_to_spit_attack, 1
    useRandomAbilities: 500
    fleeOnLowHealth: 20
    keepDistanceFromTarget: 5
    fleeWhenAttacked:
    idle: 150
}

mama_llama_meele
{
    setTarget: humans_list
    toggleAbility: swap_to_spit_attack, 0
    useRandomAbilities: 500
    fleeOnLowHealth: 20
    faceTarget: 500
    moveOnTarget: 500
    followTarget:
    fleeWhenAttacked:
    idle: 150
}

mama_llama_brain
{
    subBrain: conditionTime(1000, 6000), mama_llama_ranged
    subBrain: conditionAlways(), mama_llama_meele
}