Void Corruptor

Type: Enemy brain
Level: not in gallery
Pages: 1
Description: Found in the Void Corruptor Model. This brain gives the enemy a melee and ground pound attack. It also has a health bar.

Kode

  1. WHEN [once] DO [team][equals][team 2]
  2. …WHEN DO [max health][equals][350]
  3. …WHEN DO [health][equals][max health]
  4. …WHEN DO [ground speed][equals][ground speed][multiplied by][0.7]
  5. …WHEN DO [light hit reaction][equals][false]
  6. …WHEN DO [equals][false]
  7. …WHEN DO [heavy hit reaction][equals][false]
  8. ….WHEN DO [ranged hit reaction][equals][false]
  9. …WHEN DO [damage hit reaction][equals][false]
  10. …WHEN DO [can face attacker][equals][false]
  11. WHEN DO [display meter][health][max][max health][purple]
  12. WHEN {enemies][nearest object][or][player][neutrals][nearst object] DO [objvar:my enemy][equals][it]
  13. WHEN [not][boolvar:attack 1]
  14. …WHEN [distance to][objvar:my enemy][less than][20][and][distance to][objvar:my enemy][greater than or equal to][3]
  15. …/…WHEN DO [move][toward my enemy]
  16. WHEN [is ally with][objvar:my enemy] DO [objvar:my enemy][equals][nothing]
  17. WHEN [not][boolvar:attack 1]
  18. …WHEN countdown timer][#pause attack][loop]
  19. …/…WHEN [not][in hit reaction]
  20. …/…/…WHEN [distance to][objvar:my enemy][less tha  or equal to][3]
  21. …/…/…/…WHEN DO [#pause attack][equals][random number][1][to][2.5]
  22. …/…/../…WHEN DO [boolvar:attack 1][equals][true]
  23. WHEN [boolvar:attack 1]
  24. …WHEN DO [attack][light][heavy][objvar:my enemy][with windup][end combo]
  25. …WHEN [attacking][heavy][swing]
  26. …/….WHEN [countdown timer][0.65]
  27. …/…/…WHEN [for each of][enemies][objects closer than][5] DO [damage][heavy damage][it]
  28. …/…/…WHEN DO [play fx][fx:Void Destruction][at position][scale][3]
  29. …/…/…WHEN DO play fx][fx: Dust Ring][at position][position][scale][3]
  30. …WHEN [no longer][attacking] DO [boolvar:attack 1][equals][false]

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: