mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 23:14:18 +01:00
Fixes simple mobs not doing damage. (#21321)
title Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -255,7 +255,7 @@ ABSTRACT_TYPE(/mob/living/simple_animal/hostile)
|
||||
var/mob/living/L = last_found_target
|
||||
if(L.paralysis)
|
||||
return
|
||||
on_attack_mob(L, L.attack_generic(src, rand(melee_damage_lower, melee_damage_upper), attacktext, armor_penetration, attack_flags, damage_type))
|
||||
on_attack_mob(L, L.attack_generic(src, rand(melee_damage_lower, melee_damage_upper), attacktext, environment_smash, armor_penetration, attack_flags, damage_type))
|
||||
target = L
|
||||
else if(istype(last_found_target, /obj/machinery/bot))
|
||||
var/obj/machinery/bot/B = last_found_target
|
||||
|
||||
Reference in New Issue
Block a user