Date: 2016/02/27 16:22:48 UTC-08:00
Type: Denizen Script
MeteoriteCast:
type: task
debug: false
definitions: player|target
script:
- ^if !<proc[CooldownCheckItem].context[<script.name>]> {
- shoot e@fireball height:0.02 gravity:0.9 speed:0.3 s@moltenearth
- cooldown 3
}
MoltenEarth:
type: task
debug: true
definitions: damager
script:
- ^foreach <def[location].find.surface_blocks.within[3]> {
- if <util.random.int[1].to[100]> > 50 {
- showfake m@glass <def[value]> players:<def[location].find.players.within[20].as_list> d:5
- run s@timed_effect d:<def[value]>|smoke|25|0|.1,.1,0|8
}
}