Necromancer

Type: Enemy brain
Level: 3 star
Pages: 1
Description: Designed for the Necromancer model. As part of his attack he will throw out 3 projectiles which will create 3 female zombies out of thin air. He will throw out more projectiles to ensure there is always 3 zombies as you kill them.

Kode

  1. WHEN [once] DO [team][equals][team 3]
  2. …WHEN DO [equip][Enchanted skull]
  3. WHEN [enemies][objects closer than][20][or][player][neutrals][objects closer than][20]
  4. …WHEN DO [objvar:my enemy][equals][it]
  5. …WHEN DO [turn][toward][objvar:my enemy]

    Zombie conjuring mechanic and effects

  6. …WHEN [objset:zombies][count][less than][3]
  7. …/…WHEN DO [shoot][with windup][Undead projectile][at][objvar:my enemy][with gravity][at speed][10][bounce on impact][launch frequency][0.4]
  8. WHEN [shooting]
  9. …WHEN DO [play fx][fx:Undead summon][at position][position]
  10. …WHEN DO [play fx][fx: Undead Projectile][at socket][right hand][scale][0.25]
  11. …WHEN DO [play fx][fx: Undead Projectile][at socket][left hand][scale][0.25]

    Personal attack kode

  12. WHEN [not][objvar:my enemy][is dead]
  13. …WHEN [distance to][objvar:my enemy][less than][3]
  14. …/…WHEN [countdown timer][numvar:pause attack][loop][trigger on start]
  15. …/…/…WHEN DO [attack][light][with windup][objvar: my enemy][end combo]
  16. …/…/…WHEN DO [numvar:pause attack][equals][random number][1.2][to][3]

    Zombie creation

  17. WHEN [for each of][projectiles]
  18. …WHEN [it][bump terrain][or][it][bump][and][not][it][bump][me]
  19. …/… WHEN DO [play fx][fx:Grave burst][at position][it][position][overlapping]
  20. …/…WHEN DO [objset:zombies][increment by][create][Zombie female][at position][it][position]
  21. …/…WHEN DO [destroy][it]

Alterations

Conjure different creatures.
You can change the Zombie female to whatever you like in line 20. However be warned, for whatever reason this brain has created the Necromancer and zombies to be team 3. Nearly all other enemy types are team 2. You need to make sure that the Necromancer and whatever he creates are in the same team or they will attack him.

Destroy his creations when he dies.
Add

WHEN [started to][is dead]
…WHEN [for each of][objset:zombies] DO [kill][it]

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: