Date: 2018/08/11 01:46:51 UTC-07:00
Type: Denizen Script
on player left clicks block:
- if <player.has_flag[FireRingActive]> {
- flag <player> FireWallActive
- define origin l@-<util.e.div[3].sin.mul[2]>,0,<util.e.div[3].cos.mul[2]>,<player.location.world>
- define list li@
- repeat 10 {
- define list <def[list].include[<def[origin].rotate_around_y[<util.tau.div[30].mul[<def[value].sub[1]>]>]>]>
}
- playeffect <def[list].parse[rotate_around_y[<player.location.yaw.raw.to_radians.mul[-1]>]].parse[add[<player.location>]]> effect:WITCH_MAGIC offset:0,0,0 data:0 quantity:2
- flag <player> FireWallActive:!
}