Magic

Magic

190k Downloads

No ranged_attack AI?

NightScythe1 opened this issue ยท 0 comments

commented

Trying to make a spell to summon a mob with the AI to shoot a bow, I think the AI for this is "ranged_attack" by using this page for reference, but I can't seem to get this working in Magic?

    entity_parameters:
          chestplate: iron_chestplate
          helmet: iron_helmet
          item: bow
          health: 40
          brain:
            goals:
              - type: ranged_attack
                priority: 1
              - type: follow_owner
                priority: 2
              - type: random_stroll
                priority: 3
            targets:
              - owner_hurt_target
              - owner_hurt_by_target
              - hurt_by_target

It's also not present in this file (if i'm even looking in the right place)