Astro Miner Melee

Type: NPC brain
Level: not in gallery
Pages: 1
Description: Found in the Astro Miner Male Character. A variation of the Follower Melee brain (only line 2 is different).

Kode

  1. WHEN [once]
  2. …WHEN DO  [equip][Astro Pickaxe]
  3. …WHEN DO [team][equals][team 1]Determines that the player is an ally and offers help
  4. WHEN [after][objects closer than][5][player][allies] DO [objvar:my leader][equals][it]
  5. …/…WHEN [duration timer][2] DO [say][text:Im here to help]
  6. WHEN [objvar:my leader][equal to][nothing]
  7. …WHEN [objects closer than][5][allies] DO [objvar:my leader][equals][it]Attack kode
  8. WHEN [enemies][objects closer than][17]
  9. …WHEN DO [objvar:my enemy][equals][it]
  10. …WHEN [else] DO [move][toward][objvar:my leader][min distance][4]
  11. WHEN [not][objvar:my enemy][is dead] DO [move][toward][objvar:my enemy]
  12. …WHEN [distance to][objvar:my enemy][less than][2]
  13. …/…WHEN [countdown timer][numvar:pause attack][loop] DO [attack][objvar:my enemy][with windup][end combo]
  14. …/…/…WHEN DO [numvar:pause attack][equals][random number][0.5][to][2.5]

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: