Continues #2 Completed impl of INCREASED_STUN

- That should be all artifacts implemented. Last step is the random
generation and drop rate.
This commit is contained in:
Linus Probert 2018-08-09 16:18:34 +02:00
parent ba1d09ad51
commit 8dd774b308
1 changed files with 2 additions and 1 deletions

View File

@ -205,7 +205,8 @@ skill_bash(Skill *skill, SkillData *data)
gui_log("You hit for %u damage", dmg);
if (monster->stats.hp > 0) {
gui_log("%s seems dazed and confused", monster->label);
monster_set_state(monster, STUNNED, 3);
monster_set_state(monster, STUNNED,
(Uint8) (3 + player_has_artifact(data->player, INCREASED_STUN)));
}
mixer_play_effect(SLAM);
data->player->stat_data.hits += 1;