[MIRROR] Disabler pellet clouds no longer cause burn wounds (#3676)

* Disabler pellet clouds no longer cause burn wounds (#57180)

* Disabler pellet clouds no longer cause burn wounds

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-02-26 15:20:33 +01:00
committed by GitHub
parent f33615d86b
commit f1f181a184
+1 -1
View File
@@ -288,7 +288,7 @@
if(isbodypart(target))
hit_part = target
target = hit_part.owner
if(wound_info_by_part[hit_part])
if(wound_info_by_part[hit_part] && (initial(P.damage_type) == BRUTE || initial(P.damage_type) == BURN)) // so a cloud of disablers that deal stamina don't inadvertently end up causing burn wounds)
var/damage_dealt = wound_info_by_part[hit_part][CLOUD_POSITION_DAMAGE]
var/w_bonus = wound_info_by_part[hit_part][CLOUD_POSITION_W_BONUS]
var/bw_bonus = wound_info_by_part[hit_part][CLOUD_POSITION_BW_BONUS]