mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
Fixes the random shapeshift CI failure (#71409)
The unit tests in order: `/datum/action/cooldown/spell/shapeshift/shed_human_form` - Gives random trauma which includes mute trauma to the caster beacause they are not a heretic. `/datum/action/cooldown/spell/shapeshift/slime_form` - Does not require speech to cast `/datum/action/cooldown/spell/shapeshift/dragon` and following - Requires speech to cast and fails
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
/datum/action/cooldown/spell/shapeshift/shed_human_form/do_shapeshift(mob/living/caster)
|
||||
// When we transform into the worm, everyone nearby gets freaked out
|
||||
for(var/mob/living/carbon/human/nearby_human in view(scare_radius, caster))
|
||||
if(IS_HERETIC_OR_MONSTER(nearby_human))
|
||||
if(IS_HERETIC_OR_MONSTER(nearby_human) || nearby_human == caster)
|
||||
continue
|
||||
|
||||
// 25% chance to cause a trauma
|
||||
|
||||
Reference in New Issue
Block a user