
dragon_brain
{
    setTargetWhenAttackedNTimesWithException: 1, dragon_friend_list
    setTarget: humans_list
    subBrain: conditionHasTarget(), dragon_combat
    fleeWhenAttacked

    goToSpawn

    idle: 250
}

dragon_combat
{
    subBrain: conditionHasPathToTarget(), dragon_combat_abilities
    fleeOnLowHealth: 30
    faceTarget: 500
    moveOnTarget: 500
    followTarget
}

dragon_combat_abilities
{
    useRandomAbilities: 500    
}