Debuff- Freezing

Type: Hazards and Debuffs
Level: 2 star
Pages: 1
Description: When activated this brain slows the character down and highlights then in blue and puts a sparkle effect on them. Designed to be a weapon effect. Use kode like this in enemy/ally brains to use it in a ranged weapon.

WHEN [enemies][objects closer then][20]
…WHEN DO [objvar:my enemy][equals][it]
…WHEN DO [shoot][at][objvar:my enemy]
WHEN [started to][attack hit][ranged]
…WHEN [not][it][has brain][Debuff Freezing] DO [it][add brain][Debuff Freezing]

Kode

  1. WHEN [page entered]
  2. …WHEN DO [numvar: original pace][equals][pace] // captures the pace so we can return to it later
  3. …WHEN DO [pace][equals][0.5] // slows the character down to half speed
  4. …WHEN DO [play fx][fx:energy Blast][scale][0.7]
  5. …WHEN DO [play sound][sound: Elemental Crystallize]
  6. WHEN DO [play fx][fx: Sparkle]
  7. WHEN DO [highlight][blue]Releases the character
  8. WHEN [countdown timer][5] DO [pace][equals][numvar:original pace]
  9. …WHEN DO [play fx][fx: Sparkle falling][scale][2.6][at socket][head]
  10. …WHEN DO [play sound][sound:Elemental Crystallize]
  11. …WHEN DO [remove brain][this brain]

 

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: