Mania Motors now do minor damage and continue to affect targets after they leave its range

This commit is contained in:
CitadelStationBot
2017-05-04 00:16:08 -05:00
parent 4ef516ca24
commit 7b6f278c87
5 changed files with 112 additions and 95 deletions
@@ -103,3 +103,11 @@
for(var/datum/status_effect/S in status_effects)
if(initial(S1.id) == S.id)
return S
/mob/living/proc/has_status_effect_list(effect) //returns a list of effects with matching IDs that the mod owns; use for effects there can be multiple of
. = list()
if(status_effects)
var/datum/status_effect/S1 = effect
for(var/datum/status_effect/S in status_effects)
if(initial(S1.id) == S.id)
. += S