Date: 2020/07/21 05:27:40 UTC-07:00
Type: Denizen Script
testeq1:
type: task
debug: false
Script:
- define t <util.pi.div[4]>
- define loc <player.location>
- define theta 0
- while <[t].is[LESS].than[20]>:
- define t:+:<util.pi.mul[0.1]>
- define theta 0
- while <[theta].is[OR_LESS].than[<util.pi.mul[2]>]>:
- define theta:+:<util.pi.div[32]>
- define x <[t].mul[<[theta].cos>]>
- define y <util.e.power[<[t].mul[-0.1]>].mul[2].mul[<[t].sin>].add[1.5]>
- define z <[t].mul[<[theta].sin>]>
- narrate "player t is <[t]>, theta is <[theta]>"
- playeffect effect:flame at:<[loc].add[<[x]>,<[y]>,<[z]>]> offset:0 quantity:2
- wait 1t