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
- WHEN [page entered]
- …WHEN DO [numvar: original pace][equals][pace] // captures the pace so we can return to it later
- …WHEN DO [pace][equals][0.5] // slows the character down to half speed
- …WHEN DO [play fx][fx:energy Blast][scale][0.7]
- …WHEN DO [play sound][sound: Elemental Crystallize]
- WHEN DO [play fx][fx: Sparkle]
- WHEN DO [highlight][blue]Releases the character
- WHEN [countdown timer][5] DO [pace][equals][numvar:original pace]
- …WHEN DO [play fx][fx: Sparkle falling][scale][2.6][at socket][head]
- …WHEN DO [play sound][sound:Elemental Crystallize]
- …WHEN DO [remove brain][this brain]