mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Fixes mobs that aren't able to speak being able to cast spoken spells (#52054)
* Fixes wizard speaking * defines
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
maxHealth = 50000
|
||||
health = 50000
|
||||
healable = 0
|
||||
|
||||
harm_intent_damage = 10
|
||||
obj_damage = 100
|
||||
melee_damage_lower = 68
|
||||
@@ -109,6 +108,9 @@
|
||||
if(!can_be_seen(get_turf(loc)))
|
||||
..()
|
||||
|
||||
/mob/living/simple_animals/hostile/statue/IsVocal() //we're a statue, of course we can't talk.
|
||||
return FALSE
|
||||
|
||||
/mob/living/simple_animal/hostile/statue/proc/can_be_seen(turf/destination)
|
||||
if(!cannot_be_seen)
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user