Merge pull request #19597 from ChangelingRain/icantstopthistouchtheworldstouchacaressastrikeitslikesandintheairflayingoffmywisheslikeasandstorm

Bubblegum's blood spray and Drake fire breath now stop on solid turfs
This commit is contained in:
oranges
2016-08-01 10:57:33 +12:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
@@ -174,8 +174,8 @@ Difficulty: Hard
spawn(0)
var/turf/E = get_edge_target_turf(src, src.dir)
var/range = 10
for(var/turf/open/J in getline(src,E))
if(!range)
for(var/turf/J in getline(src,E))
if(!range || J.density)
break
playsound(J,'sound/effects/splat.ogg', 100, 1, -1)
new /obj/effect/decal/cleanable/blood(J)
@@ -182,8 +182,8 @@ Difficulty: Medium
/mob/living/simple_animal/hostile/megafauna/dragon/proc/fire_wall(dir)
var/turf/E = get_edge_target_turf(src, dir)
var/range = 10
for(var/turf/open/J in getline(src,E))
if(!range)
for(var/turf/J in getline(src,E))
if(!range || J.density)
break
range--
PoolOrNew(/obj/effect/hotspot,J)