Make erupt always push back 1 tile without any artifacts

This commit is contained in:
Linus Probert 2019-05-14 08:38:42 +02:00
parent 43ca8f4560
commit 7ddaab816e
1 changed files with 8 additions and 9 deletions

View File

@ -891,8 +891,8 @@ skill_erupt(Skill *skill, SkillData *data)
monster_hit(r->monster, dmg); monster_hit(r->monster, dmg);
gui_log("%s takes %d damage from the explosion", r->monster->label, dmg); gui_log("%s takes %d damage from the explosion", r->monster->label, dmg);
monster_set_bleeding(r->monster); monster_set_bleeding(r->monster);
if (player_has_artifact(player, PUSH_BACK)) {
int lvl = player_has_artifact(player, PUSH_BACK); int lvl = 1 + player_has_artifact(player, PUSH_BACK);
monster_push(r->monster, monster_push(r->monster,
player, player,
rm, rm,
@ -902,7 +902,6 @@ skill_erupt(Skill *skill, SkillData *data)
} }
} }
} }
}
return true; return true;
} }