Prevent stunned monsters from getting scared by player
This commit is contained in:
parent
5dc25c1e79
commit
ee8274038f
|
@ -145,6 +145,7 @@ on_monster_collision(Player *player,
|
|||
if (get_random(10) < player_has_artifact(player, FEAR_INDUCING)) {
|
||||
gui_log("%s shivers with fear at the sight of you",
|
||||
monster->label);
|
||||
if (!monster->state.current == STUNNED)
|
||||
monster_set_state(monster, SCARED, 3);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue